senpai(1) # NAME senpai - your everyday IRC student # SYNOPSIS *senpai* [options...] # OPTIONS *-config* Use a different path for the configuration file. *-debug* Show all IRC messages that are received from/sent to the server. # DESCRIPTION senpai is an IRC client made for bouncers. It supports the newest IRC extensions, such as: - _CHATHISTORY_, senpai fetches history from the server instead of keeping logs, - _@+typing_, senpai shows when others are typing a message, - _BOUNCER_, senpai connects to all your networks at once automatically, - and more to come! # CONFIGURATION senpai needs a configuration file to start. It searches for it in the following location: $XDG_CONFIG_HOME/senpai/senpai.scfg If unset, $XDG_CONFIG_HOME defaults to *~/.config*. For information about the configuration format, see *senpai*(5). # USER INTERFACE The user interface of senpai consists of 4 parts. Starting from the bottom: The *buffer list*, shows joined channels. The special buffer *home* is where server notices are shown. This list can be put on the left of the screen with the _chan-column-width_ configuration option. On the row above, the *input field* is where you type in messages or commands (see *COMMANDS*). By default, when you type a message, senpai will inform others in the channel that you are typing. On the row above, the *status line* (or... just a line if nothing is happening...) is where typing indicators are shown (e.g. "dan- is typing..."). Finally, the *timeline* is displayed on the rest of the screen. Several types of messages are in the timeline: - User messages are shown with their nicknames, - User actions (*/me*) are shown with an asterisk (*\**) followed by the user's nickname, - Status messages, such as joins, parts, topics and name lists, are shown with two dashes (*--*), - Notices are shown with an asterisk (*\**) followed by the user nickname and a colon # SELECTING TEXT In order to select text with a mouse, hold SHIFT while clicking and dragging the mouse. *Clicking and dragging without holding SHIFT will not work, as senpai eats these events for eg selecting channels.* # KEYBOARD SHORTCUTS *CTRL-C* Clear input line. *CTRL-U*, *PgUp* Go up in the timeline. *CTRL-D*, *PgDown* Go down in the timeline. *CTRL-N*, *ALT-RIGHT* Go to the next buffer. *CTRL-P*, *ALT-LEFT* Go to the previous buffer. *ALT-HOME* Go to the first buffer. *ALT-END* Go to the last buffer. *ALT-P* Go to the previous highlight *ALT-N* Go to the next highlight, or to the (most recent) end of the timeline if there is none. *ALT-{1..9}* Go to buffer by index. *UP*, *DOWN*, *LEFT*, *RIGHT*, *HOME*, *END*, *BACKSPACE*, *DELETE* Edit the text in the input field. *ENTER* Sends the contents of the input field. *TAB* Trigger the auto-completion. Press several times to cycle through completions. *CTRL-L* Refresh the window. *F7* Show/hide the vertical channel list. *F8* Show/hide the vertical member list. # COMMANDS If you type and send a message that starts with a slash (*/*), it will instead be interpreted as a command: /_name_ argument1 argument2... _name_ is matched case-insensitively. It can be one of the following: *HELP* [search] Show the list of command (or a commands that match the given search terms). *JOIN* Join the given channel. *PART* [channel] [reason] Part the given channel, defaults to the current one if omitted. *QUIT* [reason] Quits senpai. *MOTD* Show the message of the day (MOTD). *NAMES* Show the member list of the current channel. Powerlevels (such as _@_ for "operator", or _+_ for "voice") are shown in green. *TOPIC* [topic] If _topic_ is omitted, show the topic of the current channel and, if available, the person who set it and the time when it has been set. Otherwise, change the topic of the current channel to _topic_. *MSG* Send _content_ to _target_. *REPLY* Reply to the last person who sent a private message. *ME* Send a message prefixed with your nick (a user action). If sent from home, reply to the last person who sent a private message. *NP* Send the current song that is being played on the system. Uses DBus/MPRIS internally. *QUOTE* Send _raw message_ verbatim. *BUFFER* Switch to the buffer containing _name_. *NICK* Change your nickname. *OPER* Log in to an operator account. *MODE* [args] Change channel or user modes. *INVITE* [channel] Invite _nick_ to _channel_ (the current channel if not given). *KICK* [channel] Eject _nick_ from _channel_ (the current channel if not given). *BAN* [channel] Ban _nick_ from entering _channel_ (the current channel if not given). *UNBAN* [channel] Allow _nick_ to enter _channel_ again (the current channel if not given). *SEARCH* Search messages matching the given text, in the current channel or server. This opens a temporary list, which can be closed with the escape key. # SEE ALSO *senpai*(5) # AUTHORS Creator/Sensei: Hubert Hirtz !++ Current maintainer: delthas .++ Sources are available at .++ Patches are welcome by email at <~delthas/senpai-dev@lists.sr.ht>.