this is my patched version of ii - the suckless irc client.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
2.8 KiB

9 months ago
  1. .de FN
  2. \fI\|\\$1\|\fP\\$2
  3. ..
  4. .TH ii 1
  5. .SH NAME
  6. ii \- irc it or irc improved
  7. .SH DESCRIPTION
  8. .B ii
  9. is a minimalistic FIFO and filesystem based IRC client.
  10. It creates an irc directory tree with server, channel and
  11. nick name directories.
  12. In every directory a FIFO file (in) and and normal file (out)
  13. is placed. This will be for example ~/irc/irc.freenode.net/.
  14. The in file is used to communicate with the servers and the out
  15. files includes the server messages. For every channel and every nick
  16. name there will be new in and out files.
  17. The basic idea of this is to be able to communicate with an IRC
  18. server with basic command line tools.
  19. For example if you will join a channel just do echo "/j #channel" > in
  20. and ii creates a new channel directory with in and out file.
  21. .SH SYNOPSIS
  22. .B ii
  23. .RB [ \-s
  24. .IR servername ]
  25. .RB [ \-p
  26. .IR port ]
  27. .RB [ \-k
  28. .IR environment variable ]
  29. .RB [ \-i
  30. .IR prefix ]
  31. .RB [ \-n
  32. .IR nickname ]
  33. .RB [ \-f
  34. .IR realname ]
  35. .SH OPTIONS
  36. .TP
  37. .BI \-s " servername"
  38. lets you override the default servername (irc.freenode.net)
  39. .TP
  40. .BI \-p " port"
  41. lets you override the default port (6667)
  42. .TP
  43. .BI \-k " environment variable"
  44. lets you specify an environment variable that contains your IRC password, e.g. IIPASS="foobar" ii -k IIPASS.
  45. This is done in order to prevent other users from eavesdropping the server password via the process list.
  46. .TP
  47. .BI \-i " prefix"
  48. lets you override the default irc path (~/irc)
  49. .TP
  50. .BI \-n " nickname"
  51. lets you override the default nick ($USER)
  52. .TP
  53. .BI \-f " realname"
  54. lets you specify your real name associated with your nick
  55. .SH DIRECTORIES
  56. .TP
  57. .FN ~/irc
  58. In this directory the irc tree will be created. In this directory you
  59. will find a directory for your server (default: irc.freenode.net) in
  60. which the FIFO and the output file will be stored.
  61. If you join a channel a new directory with the name of the channel
  62. will be created in the ~/irc/$servername/ directory.
  63. .SH COMMANDS
  64. .TP
  65. .FN /a " [<message>]"
  66. mark yourself as away
  67. .TP
  68. .FN /j " #channel/nickname [<message>]"
  69. join a channel or open private conversation with user
  70. .TP
  71. .FN /l " #channel/nickname"
  72. leave a channel or query
  73. .TP
  74. .FN /n " nick"
  75. change the nick name
  76. .TP
  77. .FN /t " topic"
  78. set the topic of a channel
  79. .TP
  80. Everything which is not a command will simply be posted into the channel or to the server.
  81. So if you need /who just write /WHO as described in the RFC to the server in FIFO.
  82. .TP
  83. .FN "out file usage"
  84. Write wrappers, pagers or use your tools of choice to display the out file contents (loco, multitail, etc.).
  85. .SH CONTACT
  86. .TP
  87. Write to ii (at) modprobe (dot) de for suggestions, fixes, 7|-|>< ;) etc.
  88. .SH AUTHORS
  89. Copyright \(co 2005-2006 by Anselm R. Garbe <garbeam (at) gmail (dot) com> and
  90. Copyright \(co 2005-2008 by Nico Golde <nico (at) ngolde (dot) de>
  91. .SH SEE ALSO
  92. .BR echo (1),
  93. .BR tail (1),