updates.
authorPekka Riikonen <priikone@silcnet.org>
Wed, 30 May 2001 18:17:22 +0000 (18:17 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Wed, 30 May 2001 18:17:22 +0000 (18:17 +0000)
25 files changed:
TODO
apps/irssi/docs/help/in/ban.in
apps/irssi/docs/help/in/cmode.in
apps/irssi/docs/help/in/cumode.in
apps/irssi/docs/help/in/getkey.in
apps/irssi/docs/help/in/invite.in
apps/irssi/docs/help/in/key.in
apps/irssi/docs/help/in/kick.in
apps/irssi/docs/help/in/kill.in
apps/irssi/docs/help/in/layout.in
apps/irssi/docs/help/in/load.in
apps/irssi/docs/help/in/me.in
apps/irssi/docs/help/in/names.in
apps/irssi/docs/help/in/notice.in
apps/irssi/docs/help/in/oper.in
apps/irssi/docs/help/in/rmrejoins.in
apps/irssi/docs/help/in/silcoper.in
apps/irssi/docs/help/in/topic.in
apps/irssi/docs/help/in/ts.in [deleted file]
apps/irssi/docs/help/in/umode.in
apps/irssi/docs/help/in/unload.in
apps/irssi/docs/help/in/users.in [new file with mode: 0644]
apps/irssi/docs/help/in/whois.in
apps/irssi/docs/help/in/whowas.in
apps/irssi/src/silc/core/silc-servers.c

diff --git a/TODO b/TODO
index 9ff6f4f8f6dfa4551a24e17916358325dacf26cb..5923e89e481c7383f4a43514b17f76bf83e93b1b 100644 (file)
--- a/TODO
+++ b/TODO
@@ -6,6 +6,10 @@ TODO/bugs in Irssi SILC client
 
  o Add KICKBAN local command.  Kicks and bans the specified client.
 
+ o Add local commands to list the current server and client public keys
+   that the user has.  And a local command to dump the contents of the
+   public key to the screen.  Something like LISTKEYS, SHOWKEY...
+
 
 TODO/bugs In SILC Client Library
 ================================
@@ -18,10 +22,6 @@ TODO/bugs In SILC Client Library
    interface separately or it could just remove the old client unless
    it is on some channels.
 
- o Add local commands to list the current server and client public keys
-   that the user has.  And a local command to dump the contents of the
-   public key to the screen.
-
  o Add client library parameters or options that handle what kind of
    messages the library should print out (using `say' client operation,
    for example) and what is left for the application to print.  The
index 62c0c0d10dffc3a5d8803d3fe77f4bc78e31f07d..32bf76e931790afbdc51170562cc57e14b391473 100644 (file)
@@ -1,16 +1,14 @@
 
 @SYNTAX:ban@
 
-Format: <channel> [+|-[<nickname>[@<server>[!<username>[@hostname>]]]]]
-
-This command is used to manage the ban list of the channel.  You must be
-channel operator to be able to use this command.  Wildcards may be used
-with this command.
+This command is used to manage the ban list of the channel.
+You must be channel operator to be able to use this command.
+Wildcards may be used with this command.
 
 Examples:
     /BAN #mychannel +foobar!mr.bar@foo.bar.com
-        Adds nickname `foobar' with username `mr.bar' from host `foo.bar.com'
-        on #mychannel to the ban list.
+        Adds nickname `foobar' with username `mr.bar' from host
+        `foo.bar.com' on #mychannel to the ban list.
 
     /BAN * +looser
         Adds nickname `looser' to the ban list on current channel.
@@ -20,7 +18,8 @@ Examples:
         *.foobar.com hosts to the ban list on current channel.
 
     /BAN * -looser
-        Removes the nickname `looser' from the ban list on current channel.
+        Removes the nickname `looser' from the ban list on current
+        channel.
 
     /BAN *
         Shows the ban list of the current channel.
index 5768ffae0ad5c69a73adbd45cf38241a04a63ef6..495ec0ee4e305aa7da30e608d556025ccbfe5ed7 100644 (file)
@@ -1,8 +1,6 @@
 
 @SYNTAX:cmode@
 
-Format: <channel> +|-<modes> [{ <arguments>}]
-
 This command is used to manage the modes of the channel.  Most
 of the modes require special privileges, such as channel operator
 or channel founder privileges to work.  The mode is added by
index 8d6b9f55e2220d533967737f5a850fde36afa404..9bba22f3feb98fe8c0906f0af4d5728c929a5cf0 100644 (file)
@@ -1,8 +1,6 @@
 
 @SYNTAX:cumode@
 
-Format: <channel> +|-<modes> <nickname>[@<server>] [-pubkey|<passwd>]
-
 This command is used to manage the client's modes on the channel.
 Most of the modes require that the client which changes some
 client's mode must be channel founder or channel operator.  The
index 5f0fe65c526e84d4b165c1c8c9715cbed9e30799..d2c5ee0a114134f185c4f4365edb56da52d611ff 100644 (file)
@@ -1,8 +1,6 @@
 
 @SYNTAX:getkey@
 
-Format: <nickname>
-
 This command is used to fetch remote client's public key.
 The public key is fetched from the server the client is
 connected to.  This way the public key might have been
index 204a9c1f6961c28eb0b54da7d25258add2ee3365..b05fc42d9ef4612ca5662accaff65706333b577f 100644 (file)
@@ -1,9 +1,6 @@
  
 @SYNTAX:invite@
 
-Formats: <channel> [<nickname>[@server>]
-         <channel> [+|-[<nickname>[@<server>[!<username>[@hostname>]]]]]
-
 This command is used to invite an client to a channel and to manage
 the channel's invite list.  Wildcards may be used with this command.
 
@@ -20,7 +17,8 @@ Examples:
         hosts to the invite list of the current channel.
 
     /INVITE * -joe
-        Removes nickname `joe' from the invite list of the current channel.
+        Removes nickname `joe' from the invite list of the current
+        channel.
 
 See also: CMODE
 
index c0cf6ee683f07490ade737cad637e59466938c45..e94af2d38b3f210224623c5797c662dfdf5d1352 100644 (file)
@@ -1,9 +1,6 @@
 
 @SYNTAX:key@
 
-Format: msg|channel <nickname|channel> 
-       set|unset|list|agreement|negotiate [<arguments>]
-
 This command is used to set and unset private keys for
 channels, set and unset private keys for private messages
 with remote clients and to send key agreement requests and
@@ -13,74 +10,75 @@ message keys, it currently cannot be used to negotiate
 private keys for channels, as it is not convenient for that
 purpose.
 
-Types:         
+Types:
 
-    msg        The command is performed for private messages
+    MSG        The command is performed for private messages
                affecting the <nickname>.
 
-    channel    The command is performed for channel affecting
+    CHANNEL    The command is performed for channel affecting
                the <channel>.
 
 Commands:
 
     set        [<key> [<cipher>] [<hmac>]]
 
-    Set the key into use.  If the <key> is provided it
-    is used as the key material.  If the <key> is not
-    provided the negotiated key material is used.  If
-    the negotiation has not been performed this command
-    has no effect.
+      Set the key into use.  If the <key> is provided it
+      is used as the key material.  If the <key> is not
+      provided the negotiated key material is used.  If
+      the negotiation has not been performed this command
+      has no effect.
 
-    If the type is `msg' and the <key> is `*' then
-    random key will be generated automatically.
+      If the type is `msg' and the <key> is `*' then
+      random key will be generated automatically.
 
-    The <cipher> may be set for both private message
-    and channel private keys and the <hmac> may be set
-    only to the channel private keys.
+      The <cipher> may be set for both private message
+      and channel private keys and the <hmac> may be set
+      only to the channel private keys.
 
     unset      [<number>]
 
-    Unset the key.  The private key is not used after
-    this command.  The key must be set again or the key
-    material must be re-negotiated to be able to use
-    the private keys again.
+      Unset the key.  The private key is not used after
+      this command.  The key must be set again or the key
+      material must be re-negotiated to be able to use
+      the private keys again.
 
-    The channel may have several private keys set.  The
-    <number> can be used to indicate what key is being
-    unset.  If it is not provided all keys are removed.
+      The channel may have several private keys set.  The
+      <number> can be used to indicate what key is being
+      unset.  If it is not provided all keys are removed.
 
-    list       List all private keys that has been set.
+    list
 
-    If the type is `msg' and the <nickname> is ´*' then
-    all private message keys that you've set will be
-    listed.
+      List all private keys that has been set.  If the
+      type is `msg' and the <nickname> is ´*' then
+      all private message keys that you've set will be
+      listed.
 
     agreement  [<hostname> [<port>]]
 
-    Send key agreement request to remote client.  If
-    the <hostname> is provided it is sent in the request.
-    The receiver may use the hostname to start the
-    key agreement.  If the <port> is also provided your
-    key agreement protocol server is bound to that
-    port.  Note that it cannot be privileged port (<1023).
-    If the <hostname> and <port> is not provided then
-    the receiver will never initiate the key agreement.
-    In this case you may start the key agreement after
-    receiving the reply to the request, by giving the
-    negotiate command.
-
-    This command may be used to send reply to the
-    remote client.  When receiving empty key agreement
-    you can reply to the sender with the hostname and
-    port of your key agreement server with this command.
+      Send key agreement request to remote client.  If
+      the <hostname> is provided it is sent in the request.
+      The receiver may use the hostname to start the
+      key agreement.  If the <port> is also provided your
+      key agreement protocol server is bound to that
+      port.  Note that it cannot be privileged port (<1023).
+      If the <hostname> and <port> is not provided then
+      the receiver will never initiate the key agreement.
+      In this case you may start the key agreement after
+      receiving the reply to the request, by giving the
+      negotiate command.
+
+      This command may be used to send reply to the
+      remote client.  When receiving empty key agreement
+      you can reply to the sender with the hostname and
+      port of your key agreement server with this command.
 
     negotiate  [<hostname> [<port>]]
 
-    This may be called to start the key agreement with
-    <nickname>.  This command has effect only if the
-    <nickname> has replied to your key agreement request.
-    You will see a notify on the screen when the reply
-    arrives.  The <hostname> and <port> is the hostname
-    and port of the remote client's key agreement
-    server.
+      This may be called to start the key agreement with
+      <nickname>.  This command has effect only if the
+      <nickname> has replied to your key agreement request.
+      You will see a notify on the screen when the reply
+      arrives.  The <hostname> and <port> is the hostname
+      and port of the remote client's key agreement
+      server.
 
index 43a930503fc768e992dd09db2582c0e4fa080b86..3e73dbe247cc5ec07a72dd3e56ac3486dccd7f30 100644 (file)
@@ -1,11 +1,10 @@
 
 @SYNTAX:kick@
 
-Format: <channel> <nickname>[@<server>] [<comment>]
-
-This command kicks client from channel.  You have to be at least
-channel operator to be able to kick client from channel.  Note:
-you cannot kick channel founder even if you are channel operator.
+This command kicks client from channel.  You have to be
+at least channel operator to be able to kick client from
+channel.  Note: you cannot kick channel founder even if
+you are channel operator.
 
 The default alias for /KICK is /K.
 
index c87c8ac41037a41b468c0729b9c1673d3b6994c1..8b3b91cd1701634f67f9ae9d358198d29eb5cedb 100644 (file)
@@ -1,12 +1,11 @@
 
 @SYNTAX:kill@
 
-Format: <nickname> [<comment>]
-
-This is operator command. KILL is used to forcibly remove a client
-from the network. It works similarly to KICK expect that the client
-is removed from the entire network.  In general, KILL is useful only
-as a warning tool for abusive users and it has only temporary effects.
+This is operator command. KILL is used to forcibly remove
+a client from the network. It works similarly to KICK expect
+that the client is removed from the entire network.  In general,
+KILL is useful only as a warning tool for abusive users and
+it has only temporary effects.
 
 See also: OPER, SILCOPER
 
index d5e814382ef6924010df707ce933ddf5a500f8f0..d0cde15eb12d20d7b0ae212594f255bb0e3ade17 100644 (file)
@@ -2,9 +2,9 @@
 @SYNTAX:layout@
 
 Saves the current window layout to configuration (yes, you'll still
-need to use /SAVE to save the configuration to file). Next time you run
-irssi, all the channels and queries are exactly in the same windows
-where they were when you called /LAYOUT SAVE.
+need to use /SAVE to save the configuration to file). Next time you
+run irssi, all the channels and queries are exactly in the same
+windows where they were when you called /LAYOUT SAVE.
 
 Channels aren't actually joined in those windows immediately, they're
 just marked "next time you join to '#channel' in server that has tag
index 134c7623439646027668023fdf124e6bdff81121..16ce9be588df1dcc18a6d8cbc764a9141d437a77 100644 (file)
@@ -1,8 +1,8 @@
 
 @SYNTAX:load@
 
-Load a plugin. If full path isn't given, irssi searches the plugin from
-directories:
+Load a plugin. If full path isn't given, irssi searches the
+plugin from directories:
 
  ~/.irssi/modules/
  <install dir, /usr/local or /usr maybe>/lib/irssi/modules/
index 0a9fdaaf27acec0aae1bf76958bbe9e147903e67..44871274cfa7fca6e505d842545fcc7f6b0c6226 100644 (file)
@@ -1,7 +1,7 @@
 
 @SYNTAX:me@
 
-Sends an ACTION channel message to the current channel.  For example: 
-/ME sits back.
+Sends an ACTION channel message to the current channel.
+For example:  /ME sits back.
 
 See also: ACTION
index 2d515c1ce026e94d97f1b977b90992d3766c6f34..d3512d0bba50084bca7737ff8be8899e1dfa03f1 100644 (file)
@@ -6,8 +6,9 @@
      -voices: show voiced people in list
      -normal: show rest of the people in list
 
-Shows the names (nicks) in the specified channels. /NAMES ** shows all
-nicks in all channels, you probably don't want to do this.
+Shows the names (nicks) in the specified channels. /NAMES **
+shows all nicks in all channels, you probably don't want
+to do this.
 
 Examples:
 
index bdefd56c10cbbe7e20255ceb9f22fd777e0bfc57..e93d2c2a6aeaadb0501790a77d15bdea9337f5a6 100644 (file)
@@ -1,8 +1,8 @@
 
 @SYNTAX:notice@
 
-Sends a notice to the nick or the channel. Usually notices are 
-used in bots and scripts for different kinds of replies.
+Sends a notice to the nick or the channel. Usually notices
+are used in bots and scripts for different kinds of replies.
 
 See also: ACTION
 
index 370c4076eee15641b5c020cb2b4df7a2531bfc6c..2a171261a65925b5623804a1b526ebd02515ef41 100644 (file)
@@ -1,11 +1,9 @@
 
 @SYNTAX:oper@
 
-Format: <username> [<public key>]
-
-Gives you server operator priviledges if the correct username and
-passphrase are given. User will be prompted for the passphrase
-if the <public key> is not provided.
+Gives you server operator priviledges if the correct
+username and passphrase are given. User will be prompted
+for the passphrase if the <public key> is not provided.
 
 See also: KILL, SCONNECT, CLOSE, SILCOPER
 
index d0d3f313ffda0b3c2ef689001dc6dcbb3d881fcc..35e8ea3bfe96697a41c90a2c37aba72460def60a 100644 (file)
@@ -1,9 +1,9 @@
 
 @SYNTAX:rmrejoins@
 
-Removes the pending rejoins from the channel rejoin list in active
-server. Channels are added to rejoin list when join failed because of
-netsplits in server.
+Removes the pending rejoins from the channel rejoin list in
+active server. Channels are added to rejoin list when join
+failed because of netsplits in server.
 
 See also: JOIN
 
index e5628f72eb0a8ffb7520abc3aa3431e54a583bd7..b75ef81c41b179b637f0d5a471ac55b07432693c 100644 (file)
@@ -1,11 +1,9 @@
 
 @SYNTAX:silcoper@
 
-Format: <username> [<public key>]
-
-Gives you router operator priviledges if thecorrect username and
-passphrase are given. User will be prompted for the passphrase
-if the <public key> is not provided.
+Gives you router operator priviledges if thecorrect
+username and passphrase are given. User will be prompted
+for the passphrase if the <public key> is not provided.
 
 See also: KILL, SCONNECT, CLOSE, OPER
 
index 56c36583ec10ff8358a0836038e69896e7fd8ef6..bf44a3ad89f8883846a7f0597b303774798cf57d 100644 (file)
@@ -1,8 +1,6 @@
 
 @SYNTAX:topic@
 
-Format: <channel> [<topic>]
-
-Shows or/and changes the topic of the current or specified 
-channel.
+Shows or/and changes the topic of the current or
+specified channel.
 
diff --git a/apps/irssi/docs/help/in/ts.in b/apps/irssi/docs/help/in/ts.in
deleted file mode 100644 (file)
index 0f51f96..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-
-@SYNTAX:ts@
-
-Shows topics of all channels you're on.
-
-See also: CHANNEL, TOPIC
-
index cf9ade0a0920f0e33788d29af14258ae1a6c59ad..a833a0d0243a88293eddb86913a579a31e0a9dae 100644 (file)
@@ -1,12 +1,10 @@
 
 @SYNTAX:umode@
 
-Format: +|-<modes>
-
 This command is used to manage client's modes in the network.
-Note that some of the modes the client cannot set itself.  The
-mode is added by adding + before the option(s) and removed by
-adding - before the option(s).  The following channel user
+Note that some of the modes the client cannot set itself.
+The mode is added by adding + before the option(s) and removed
+by adding - before the option(s).  The following channel user
 modes are available:
 
     a        Unset all modes
index 4bfdeb95edf571c23b25882294835313785481ac..2e1c4678aca7ebe627c1b3bf8fcc46545151900a 100644 (file)
@@ -1,8 +1,8 @@
 
 @SYNTAX:unload@
 
-Unload a running plugin. List of running plugins can be shown with
-/LOAD.
+Unload a running plugin. List of running plugins can
+be shown with /LOAD.
 
 See also: LOAD
 
diff --git a/apps/irssi/docs/help/in/users.in b/apps/irssi/docs/help/in/users.in
new file mode 100644 (file)
index 0000000..952a882
--- /dev/null
@@ -0,0 +1,11 @@
+
+@SYNTAX:users@
+
+Shows users of the specified channel.  You must
+already be on the channel.
+
+Alias WHO is by default USERS * command.
+
+See also: WHOIS, WHOWAS
+
+
index 4416fdf7552f97619ca99647737de69eb8d6bf21..f9ebe71de3837d4d0de75bcb0461b7547dcc9547 100644 (file)
@@ -1,8 +1,6 @@
 
 @SYNTAX:whois@
 
-Format: <nickname>[@<server>] [<count>
-
 Shows whois information of the specified client.
 By default, this is aliased to /WI.
 
index a23e8608cecc211516657953e00f01274c42331e..65f8040e8d12ec6999b2b438f726ecb86b0cb9a0 100644 (file)
@@ -1,16 +1,16 @@
 
 @SYNTAX:whowas@
 
-Format: <nickname>[@<server>] [<count>]
+This command is similar to WHOIS, except it returns
+information about nicknames that were recently in use.
+Like WHOIS, it shows the nickname, address, real name,
+and server. It may also return multiple entries if the
+nickname has been used recently by several people. These
+multiples may be limited by specifying a count to show. 
 
-This command is similar to WHOIS, except it returns information 
-about nicknames that were recently in use. Like WHOIS, it shows 
-the nickname, address, real name, and server. It may also return 
-multiple entries if the nickname has been used recently by several 
-people. These multiples may be limited by specifying a count to show. 
-
-WHOWAS will work regardless of whether the queried nick is in use. 
-If no arguments are given, the client's current nickname is used. 
+WHOWAS will work regardless of whether the queried nick
+is in use. If no arguments are given, the client's current
+nickname is used. 
 
 See also: WHOIS
 
index 55bc0255bd13e681f5a9055b1c41f52634e9e9f6..a692475281a100b8bd40f19f1a4545eef9cdbe92 100644 (file)
@@ -247,6 +247,40 @@ char *silc_server_get_channels(SILC_SERVER_REC *server)
   return ret;
 }
 
+/* Syntaxes of all SILC commands for HELP files (the help file generation
+   will snoop these from here). */
+
+/* SYNTAX: BAN <channel> [+|-[<nickname>[@<server>[!<username>[@hostname>]]]]] */
+/* SYNTAX: CMODE <channel> +|-<modes> [{ <arguments>}] */
+/* SYNTAX: CUMODE <channel> +|-<modes> <nickname>[@<server>] [-pubkey|<passwd>] */
+/* SYNTAX: GETKEY <nickname> */
+/* SYNTAX: INVITE <channel> [<nickname>[@server>] */
+/* SYNTAX: INVITE <channel> [+|-[<nickname>[@<server>[!<username>[@hostname>]]]]] */
+/* SYNTAX: KEY MSG <nickname> set|unset|list|agreement|negotiate [<arguments>] */
+/* SYNTAX: KEY CHANNEL <channel> set|unset|list|agreement|negotiate [<arguments>] */
+/* SYNTAX: KICK <channel> <nickname>[@<server>] [<comment>] */
+/* SYNTAX: KILL <channel> <nickname>[@<server>] [<comment>] */
+/* SYNTAX: OPER <username> [<public key>] */
+/* SYNTAX: SILCOPER <username> [<public key>] */
+/* SYNTAX: TOPIC <channel> [<topic> */
+/* SYNTAX: UMODE +|-<modes> */
+/* SYNTAX: WHOIS <nickname>[@<server>] [<count>] */
+/* SYNTAX: WHOWAS <nickname>[@<server>] [<count>] */
+/* SYNTAX: CLOSE <server> [<port>] */
+/* SYNTAX: SHUTDOWN */
+/* SYNTAX: MOTD [<server>] */
+/* SYNTAX: LIST [<channel>] */
+/* SYNTAX: ME <message> */
+/* SYNTAX: ACTION <channel> <message> */
+/* SYNTAX: AWAY [<message>] */
+/* SYNTAX: INFO [<server>] */
+/* SYNTAX: NICK <nickname> */
+/* SYNTAX: NOTICE <message> */
+/* SYNTAX: PART [<channel>] */
+/* SYNTAX: PING [<server>] */
+/* SYNTAX: SCONNECT <server> [<port>] */
+/* SYNTAX: USERS <channel> */
+
 void silc_command_exec(SILC_SERVER_REC *server,
                       const char *command, const char *args)
 {