.\" .\" $Id: party.1,v 1.4 2002/08/23 13:38:15 howardjp Exp $ .\" .TH PARTY 1 "6 March 1988" .SH NAME party \- real-time multi-user communication program .SH SYNOPSIS .B party [ .RI # channel ] [ .I option-list ] .SH DESCRIPTION .I party lets you chat in real time with any other users who are currently running .IR party . There are several channels on which separate conversations can take place. When you run it, it puts you at first into "read" mode. In this mode lines typed by other users are displayed as they are entered, each with the speaker's login name as a prefix. Keep in mind that a person does not see comments entered while he is typing until he is done typing, so his message may be slightly out of date. Whenever a person enters or leaves the program, a banner is printed. .LP Note that .I party keeps all messages in a file that is readable to any user that can run .IR party . It is therefore not a good place to hold private conversations. .LP In read mode you can also enter any of several one-character commands which temporarily stop the display of messages while you do something else. .I party returns to "read" mode after any command (except, of course, the quit command). .IP space 1i Brings up a ">" prompt so you can type a message. Messages should not be longer than about 250 characters, or they may get clipped off. You can return to "read" mode without entering a message by entering an EOF (control-D) at the ">" prompt. .IP "#" 1i Brings up the "#" prompt so you can enter a new channel name. You normally start in the channel named "party." Some channels may be permitted to only certain groups of users. You can return to "read" mode without changing channels by entering an EOF (control-D) at the "#" prompt. If no name is entered, a list of channels is printed with your current channel marked with an arrow. The ":join" command is equivalent to this. .IP "!" 1i Brings up the "!" prompt so you can enter a shell command to be run. You can return to "read" mode without running a command by entering an EOF (control-D) at the ":" prompt. The ":!" and ":shell" commands are equivalent to this. .IP "-" 1i Brings up the "-" prompt so you can type the number of old message lines you would like to see redisplayed. The redisplay can be interrupted to return you quickly to "read" mode, unless you have an output filter defined, in which case interrupting a tailback exits you from party. .IP ":" 1i Brings up the ":" prompt so you can type in a special command. Special commands are listed below. You can return to "read" mode without entering any command by entering an EOF (control-D) at the ":" prompt. .IP "/" 1i Brings up the "/" prompt for making vaguely MUD-like sound effects. For a list of possible noises (if any), do a "/" with no argument. For more information about noises, see the "makenoise" option below. .IP "=" 1i Prints all current settings of user options. This is equivalent to ":print". .IP "? or h" 1i Prints the help message. The help message can be interrupted to return you quickly to "read" mode. The "h" command goes away if you use the firstchar option. .IP "q or EOF" 1i Exits party. An interrupt will also work. The "q" command goes away if you use the firstchar option. .LP The following special commands are supported at the colon prompt. All commands can be abbreviated. .IP ":join " 1i This exits from the current channel and joins the named channel. The '#' command is a shorthand for this. .IP ":who [-cnt]" 1i This lists all users currently in party, together with the time they entered and their current channel numbers. A flag may be given to indicate whether to sort the names by channel (-c, the default), by name (-n), or by start time (-t). .IP ":list " 1i This lists all current channels telling how many users are in each. The channel you are in is marked with a carat. .IP ":name " 1i This changes your name in the current channel to the newname specified. It only works in channels where the "rename" option is enabled. .IP ":read " 1i This reads the lines of the named file into the party file. The maximum number of lines that can be read into the file is set by "readlim" option. .IP ":save [-] " 1i This saves a copy of the log for the current party channel in the named file. If a count is given, only the last .I lines of the log file are saved. .IP ":set " 1i This sets the options listed. .IP ":print " 1i This displays the current values of the options listed. If no options are given, a selection of the more interesting options are displayed (this is equivalent to the "=" command). If the argument "all" is given, then all options, including system options are displayed. .IP ":shell " 1i This executes the a shell escape. You can also just use the "!" command or the ":!" command. The shell used to execute the command is determined by the "shell" and "fastshell" options described below. .IP ":close" 1i Closes the current channel. This means not permitting any users not already in the channel to join, and depermitting the log file so no outsider users can read it. This only works if the "mayclose" option is enabled. In some installations, this may not exist at all, or it may not depermit the log file. Note that things typed in a closed channel become readable to everyone again if the channel is opened. The only way to get anything like real secrecy is to close a nokeeplog channel and never reopen it. Just let it be destroyed when all users leave. .IP ":open" 1in Opens the current channel, if it has been closed. Opening a channel makes the whole history of the conversation there readable to all. .IP ":invite " 1in Add the given login id to the list of users who may join the current channel, if it is closed. This does not send any kind of message to that user. .IP ":ignore ..." 1i The named users will be added to the list of ignored users. No messages from ignored users will be displayed. If no user names are given on the command line, the names of all currently ignored users will be listed. Note that if you are in a channel where name changing is allowed and .I uniquename is set, then if a person you are ignoring changes his name, your ignore list will automatically be updated to the new name. .IP ":notice ..." 1i The named users will be deleted from the list of ignored users, so that their messages will once again be displayed. If no user names are given on the command line, all currently ignored users will be removed from the list. .IP ":back " 1i Backs up in the file by the given number of lines. The '-' command character is a shorthand for this. .IP ":version" 1i Prints the current party version number. .IP ":quit" 1i Yet another way to exit party. .LP The behavior of .I party can be altered with a number of options. There are six ways to set party options. Options in option lists are always separated by spaces. .IP "1)" 0.5i Compiled in defaults. These should be set to sane values by whoever installed .I party on your system. .IP "2)" 0.5i Partytab file. The file /usr/bbs/party/partytab contains several lines of the form: .IP "" 1i .IP "" 0.5i When invoked, party searches the partytab file for a line with the program-name that it was invoked under. (For example, if there was a link to the party program named .I cb and you ran the .I cb program, it would look for a line starting with . I cb in the partytab). It then applies the option settings listed after that program-name. This is an easy way to change the default options without recompiling, and allows several "different" versions of the .I party program to be supported on the system without having to make separate physical copies. .IP "3)" 0.5i PARTYOPTS environment variable. This may be set to a list of options which will always be set when you enter any .I party program. .IP "4)" 0.5i Command line. A list of options may be given as arguments on the command line of any party program. .IP "5)" 0.5i Chantab file. The file /usr/bbs/party/chantab contains several lines of the form: .IP "" 0.5i .IP "" 0.5i When you enter a party channel, party searches for a chantab line starting with a pattern that matches the channel name. The syntax of the pattern is similar to the shell's filename substitution. For example, a ? matches any one character, a * matches any sequence of characters. Party sets the options listed after the first pattern that matches the channel name. This allows different channels to have different rules. Normally only system options should be set in the chantab. Most of these are automatically reset to the state they were in after reading the partytab every time you can change channels. Channel names that don't match any pattern in the chantab file may not be used. .IP "6)" 0.5i The ":set" command. Options may be reset while the program is running by using the "set" special command at the colon prompt. .LP The options are read in the order listed above, so options set from the last places listed override ones set from the earlier places. .LP There are four types of values an option named