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.

102 lines
2.9 KiB

9 months ago
9 months ago
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 [ \-e
  28. .IR ssl ]
  29. .RB [ \-k
  30. .IR environment variable ]
  31. .RB [ \-i
  32. .IR prefix ]
  33. .RB [ \-n
  34. .IR nickname ]
  35. .RB [ \-f
  36. .IR realname ]
  37. .SH OPTIONS
  38. .TP
  39. .BI \-s " servername"
  40. lets you override the default servername (irc.freenode.net)
  41. .TP
  42. .BI \-p " port"
  43. lets you override the default port (6667)
  44. .TP
  45. .BI \-e " ssl"
  46. lets you connect using ssl encryption. The default ssl port is 6697.
  47. .TP
  48. .BI \-k " environment variable"
  49. lets you specify an environment variable that contains your IRC password, e.g. IIPASS="foobar" ii -k IIPASS.
  50. This is done in order to prevent other users from eavesdropping the server password via the process list.
  51. .TP
  52. .BI \-i " prefix"
  53. lets you override the default irc path (~/irc)
  54. .TP
  55. .BI \-n " nickname"
  56. lets you override the default nick ($USER)
  57. .TP
  58. .BI \-f " realname"
  59. lets you specify your real name associated with your nick
  60. .SH DIRECTORIES
  61. .TP
  62. .FN ~/irc
  63. In this directory the irc tree will be created. In this directory you
  64. will find a directory for your server (default: irc.freenode.net) in
  65. which the FIFO and the output file will be stored.
  66. If you join a channel a new directory with the name of the channel
  67. will be created in the ~/irc/$servername/ directory.
  68. .SH COMMANDS
  69. .TP
  70. .FN /a " [<message>]"
  71. mark yourself as away
  72. .TP
  73. .FN /j " #channel/nickname [<message>]"
  74. join a channel or open private conversation with user
  75. .TP
  76. .FN /l " #channel/nickname"
  77. leave a channel or query
  78. .TP
  79. .FN /n " nick"
  80. change the nick name
  81. .TP
  82. .FN /t " topic"
  83. set the topic of a channel
  84. .TP
  85. Everything which is not a command will simply be posted into the channel or to the server.
  86. So if you need /who just write /WHO as described in the RFC to the server in FIFO.
  87. .TP
  88. .FN "out file usage"
  89. Write wrappers, pagers or use your tools of choice to display the out file contents (loco, multitail, etc.).
  90. .SH CONTACT
  91. .TP
  92. Write to ii (at) modprobe (dot) de for suggestions, fixes, 7|-|>< ;) etc.
  93. .SH AUTHORS
  94. Copyright \(co 2005-2006 by Anselm R. Garbe <garbeam (at) gmail (dot) com> and
  95. Copyright \(co 2005-2008 by Nico Golde <nico (at) ngolde (dot) de>
  96. .SH SEE ALSO
  97. .BR echo (1),
  98. .BR tail (1),