Initial import of the ircii-pana-1.1-final source tree.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2008-02-25 09:25:32 +00:00
commit 28febcfea9
1429 changed files with 250653 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
Synopsis:
bind <key> backspace
Description:
This function causes the cursor to be moved one space to the left, and
character previously in that position is deleted. It has no effect if
the cursor is at the beginning of the input line.
See Also:
bind(4) delete_character

View File

@@ -0,0 +1,10 @@
Synopsis:
bind <key> backward_character
Description:
This function causes the cursor to move one space to the left. It has
no effect if the cursor is at the beginning of the input line.
See Also:
bind(4) forward_character

View File

@@ -0,0 +1,13 @@
Synopsis:
bind <key> backward_history
Description:
This replaces the contents of the input line with the previous command
in the client's command history buffer. The command history buffer is
circular, such that using BACKWARD_HISTORY when at the first command
will produce the last command in the buffer. The original contents of
the input line, if any, are not preserved.
See Also:
bind(4) forward_history, shove_to_history; history(4)

View File

@@ -0,0 +1,14 @@
Synopsis:
bind <key> backward_word
Description:
This function moves the cursor backward until it reaches the beginning
of a word. If the cursor is currently in the middle of a word, it is
shifted to the beginning of that word. If it is already at the
beginning of a word, or on whitespace of any kind, it is moved back to
the previous word. It has no effect if the cursor is at the beginning
of the first word.
See Also:
bind(4) forward_word

View File

@@ -0,0 +1,12 @@
Synopsis:
bind <key> beginning_of_line
Description:
This function moves the cursor to the beginning of the input line.
This may be a position not currently visible on screen, due to the
way the client wraps long input. It has no visible effect when the
cursor is already at the beginning of the input line.
See Also:
bind(4) end_of_line

View File

@@ -0,0 +1,38 @@
Synopsis:
bind [<key/series> [<function> [<args>]]]
Description:
BIND is used to bind a keystroke (or series of keystrokes) to a given
function or command. Traditionally, such key bindings have been used
for cursor control and input line editing. However, there really is
no limit to what can be bound to a key.
Most often, functions are bound to a control key (typing a key while
depressing the control key on the keyboard). EPIC provides a mechanism
for overriding existing bindings to insert literal characters, by binding
a key to QUOTE_CHARACTER.
Using BIND with no specified function will display the function bound
to the given key. If no key is given, all bindings are displayed.
Examples:
To bind the QUOTE_CHARACTER function to ^Q (control-Q):
/bind ^Q quote_character
To bind the right arrow (ESC-[-C) to FORWARD_CHARACTER:
/bind ^[ meta1_character
/bind meta1-[ meta2_character
/bind meta2-C forward_character
See Also:
Key_Bindings(7); parsekey(5); rbind(4)
Other Notes:
Case is important with literal characters with BIND. However, it is
not important in control characters. Thus, 'C' and 'c' are treated
independently, but '^C' and '^c' are the same.
Be careful when binding literal keys (such as 'c' alone) to functions.
If the wrong keys get bound, it may be impossible to unbind them
without restarting the client.

View File

@@ -0,0 +1,16 @@
Synopsis:
bind <key> blink
Description:
This function toggles the current blink setting. Due to internal
limitations of the client, BLINK is displayed as an F on the input line,
regardless of the key it is bound to.
See Also:
bind(4) highlight_off, reverse, underline, bold;
set(4) blink_video
Other Notes:
Blinking text can be typed at any time, but it will only be displayed
if BLINK_VIDEO is on.

View File

@@ -0,0 +1,16 @@
Synopsis:
bind <key> bold
Description:
This function toggles the current boldface setting. Due to internal
limitations of the client, BOLD is displayed as a B on the input line,
regardless of the key it is bound to.
See Also:
bind(4) blink, highlight_off, reverse, underline;
set(4) bold_video
Other Notes:
Boldfaced text can be typed at any time, but it will only be displayed
if BOLD_VIDEO is on.

View File

@@ -0,0 +1,14 @@
Synopsis:
bind <key> clear_screen
Description:
This function clears the current window of all text. Additionally, it
will restart the window if it has been stopped by HOLD_MODE or the key
function TOGGLE_STOP_SCREEN.
Aliases:
This function is effectively equivalent to "CLEAR -unhold".
See Also:
bind(4) refresh_screen; clear(4); set(4) hold_mode; window(4) hold_mode

View File

@@ -0,0 +1,14 @@
Synopsis:
bind <key> command_completion
Description:
This function attempts to complete a command name used on the input
line, much like modern Unix shells do. It can expand both builtin
commands and aliases. It only attempts to expand the first word on
the input line, and only if it is prefixed by the command character,
and thus unlike Unix shells, the cursor does not need to be near the
command name to expand it.
See Also:
alias(5); set(4) cmdchars

View File

@@ -0,0 +1,10 @@
Synopsis:
bind <key> delete_character
Description:
This function deletes the character currently under the cursor, then
shifts any text to the right of the cursor one space to the left.
See Also:
bind(4) backspace

View File

@@ -0,0 +1,12 @@
Synopsis:
bind <key> delete_next_word
Description:
This function deletes text on the input line from the position of the
cursor forward to the end of the first word found. If is it in the
middle of a word, that word is truncated. If it is on whitespace, all
text and whitespace to the end of the next word are deleted.
See Also:
bind(4) delete_previous_word

View File

@@ -0,0 +1,13 @@
Synopsis:
bind <key> delete_previous_word
Description:
This function deletes text on the input line from the position of the
cursor backward to the beginning of the first word found. If is it in
the middle of a word, the beginning of that word is chopped. If it
is on whitespace, all text and whitespace to the beginning of the
previous word are deleted.
See Also:
bind(4) delete_next_word, delete_to_previous_space

View File

@@ -0,0 +1,14 @@
Synopsis:
bind <key> delete_to_previous_space
Description:
This function deletes everything to the left of the cursor until a
space is found. If the character immediately before the cursor is
whitespace of some kind, it does nothing.
See Also:
bind(4) delete_previous_word
Other Notes:
The function deletes up to the space, but not including the space.

View File

@@ -0,0 +1,11 @@
Synopsis:
bind <key> end_of_line
Description:
This function moves the cursor to the last character on the input line.
This position may not be currently visible, due to the manner in which
EPIC handles input line wrapping.
See Also:
bind(4) beginning_of_line

View File

@@ -0,0 +1,24 @@
Synopsis:
bind <key> enter_digraph
Description:
This function allows special characters not present on the keyboard to
be composed, such as European characters containing accents, umlauts,
or tildes. The exact characters available are dependent on the
character set in use by the client.
To enter a digraph, the key bound to this function is typed, followed
by the desired character pair.
In order for the client to properly display these characters, the
appropriate character map must be used; the default ASCII translation
table will not work. Additionally, the client must be set to pass 8
bit characters (also disabled by default).
By default, EPIC uses the same digraphs as available on the DEC vt320
and vt420 terminal emulators, and those used in the Elvis text editor.
The DIGRAPH command with no arguments will list the current table.
See Also:
digraph(4); set(4) eight_bit_characters, translation

View File

@@ -0,0 +1,10 @@
Synopsis:
bind <key> enter_menu
Description:
This function causes the client to enter the menu specified by the
MENU variable. Of course, this menu must have already been loaded.
See Also:
Menus(7); mload(4); set(4) menu

View File

@@ -0,0 +1,10 @@
Synopsis:
bind <key> erase_line
Description:
This function clears the contents of the input line. The data cleared
is not preserved in the command history.
See Also:
bind(4) erase_to_beg_of_line, erase_to_end_of_line

View File

@@ -0,0 +1,10 @@
Synopsis:
bind <key> erase_to_beg_of_line
Description:
This function erases all text from (but not including) the cursor to
the beginning of the input line.
See Also:
bind(4) erase_line, erase_to_end_of_line

View File

@@ -0,0 +1,10 @@
Synopsis:
bind <key> erase_to_end_of_line
Description:
This function erases all text from (and including) the cursor to the end
of the input line.
See Also:
bind(4) erase_line, erase_to_beg_of_line

View File

@@ -0,0 +1,10 @@
Synopsis:
bind <key> forward_character
Description:
This function causes the cursor to move right by one character. It has
no effect if the cursor is at the end of the input line.
See Also:
bind(4) backward_character

View File

@@ -0,0 +1,12 @@
Synopsis:
bind <key> forward_history
Description:
This function replaces the contents of the current input buffer with
the next entry in the command history. The history buffer is circular,
so this will often be the first command in the buffer (unless the
BACKWARD_HISTORY function has been used recently).
See Also:
bind(4) backward_history, shove_to_history; history(4)

View File

@@ -0,0 +1,10 @@
Synopsis:
bind <key> forward_word
Description:
This function moves the cursor forward to the beginning of the next
word in the input line.
See Also:
bind(4) backward_word

View File

@@ -0,0 +1,10 @@
Synopsis:
bind <key> highlight_off
Description:
This function turns off any special highlighting in use prior to this
character, including ANSI color escape sequences.
See Also:
bind(4) blink, bold, reverse, underline

View File

@@ -0,0 +1,23 @@
Synopsis:
bind <key> meta1_character
Description:
This function allows the user to access an alternate keymap. When the
key bound to this function is pressed, the next key pressed can be
assigned a new meaning. This allows for a sequence of keys to be bound
to a function, such that only that combination of keys will execute
the function. This is how escape sequences are entered.
Aliases:
META2, META3, and META5 through META19_CHARACTERs are identical
in function as META1_CHARACTER. META4_CHARACTER has some special
characteristics described in its own help file.
See Also:
bind(4) meta4_character
Restrictions:
At most, key sequences may contain 2 keys. For longer sequences (such
as those required to control the arrow keys), one of the pair must be
composed of 2 keys as well.

View File

@@ -0,0 +1,12 @@
Synopsis:
bind <key> meta4_character
Description:
This key function is identical to the other meta functions, except that
it is sticky. This means that every character typed after the META4
key will execute the META4 version of those keys. The key is unstuck
when the META4 key is entered again (an on/off switch of sorts).
See Also:
bind(4) meta1_character

View File

@@ -0,0 +1,14 @@
Synopsis:
bind <key> next_window
Description:
This function causes the client to change the current window to the one
immediately below the current one in the window list. If the current
window is the last in the list, the first becomes the current window.
Aliases:
This function has the same effect as the WINDOW NEXT command.
See Also:
bind(4) previous_window, swap_next_window; window(4) next

View File

@@ -0,0 +1,7 @@
Synopsis:
bind <key> nothing
Description:
This function causes the specified key to do nothing, effectively
disabling it.

View File

@@ -0,0 +1,12 @@
Synopsis:
bind <key> parse_command <commands>
Description:
This function causes the specified command(s) to be executed when the
given key is pressed. If multiple commands are desired, they may be
surrounded with curly braces. Command-line expando variables ($*, $2,
$n-m, etc.) are expanded as if there were no arguments given.
See Also:
parsekey(5)

View File

@@ -0,0 +1,10 @@
Synopsis:
bind <key> send_line
Description:
This causes pmpaste to be invoked to add the current contents
of the system clipboard to the input line.
See Also:
pmpaste(5)

View File

@@ -0,0 +1,14 @@
Synopsis:
bind <key> previous_window
Description:
This function causes the client to change the current window to the one
immediately above the current one in the window list. If the current
window is the first in the list, the last becomes the current window.
Aliases:
This key function has the same effect as the WINDOW PREVIOUS command.
See Also:
bind(4) next_window, swap_previous_window; window(4) previous

View File

@@ -0,0 +1,13 @@
Synopsis:
bind <key> quit_irc
Description:
This function causes the client to sign off from the irc network.
Aliases:
Thus function has the same effect as the QUIT command, except that a
specific QUIT reason cannot be specified.
See Also:
quit(1)

View File

@@ -0,0 +1,8 @@
Synopsis:
bind <key> quote_character
Description:
This function quotes, or escapes, the next key entered. It overrides
the key's normal default meaning and forces it to insert itself into
the input buffer.

View File

@@ -0,0 +1,18 @@
Synopsis:
bind <key> refresh_inputline
Description:
This function causes the client to redraw the input line. It is mostly
only useful when another process sends data to the client's tty, which
sometimes corrupts the display of the input line (but not the actual
contents).
This command is mostly deprecated, as REFRESH_SCREEN takes care of the
input line, as well as the rest of the screen. It is only really useful
for times when it may not be wise to refresh the rest of the screen,
such as if there were special ANSI escape sequences in the display
window or status bar. This is rarely the case, though.
See Also:
bind(4) refresh_screen

View File

@@ -0,0 +1,12 @@
Synopsis:
bind <key> refresh_screen
Description:
This function causes the client to redraw the screen line by line. It
is mostly only useful when another process sends data to the client's
tty, which sometimes corrupts the screen display (but not the actual
contents).
See Also:
bind(4) refresh_inputline

View File

@@ -0,0 +1,15 @@
Synopsis:
bind <key> reverse
Description:
This function toggles the current reverse video setting. Due to internal
limitations of the client, REVERSE is displayed as a V on the input line,
regardless of the key it is bound to.
See Also:
bind(4) blink, bold, highlight_off, underline;
set(4) reverse_video
Other Notes:
Boldfaced text can be typed at any time, but it will only be displayed
if REVERSE_VIDEO is on.

View File

@@ -0,0 +1,18 @@
Synopsis:
bind <key> scroll_backward
Description:
This function allows the user to move backwards in the client's lastlog
one page at a time. The percentage of the screen that makes up a page is
defined by the set(4) scrollback_ratio variable. This is useful for
reviewing events as they happened, in a manner easier than LASTLOG
provides.
This function requires that SCROLL be on in order to function. The
SCROLL_START function must be used to use the scrollback feature, and
SCROLL_END must be used to exit it.
See Also:
bind(4) scroll_end, scroll_forward, scroll_start; lastlog(1); set(4)
hold_mode, scroll, scrollback_ratio

View File

@@ -0,0 +1,10 @@
Synopsis:
bind <key> scroll_end
Description:
This function is used to end the lastlog scrollback mode.
See Also:
bind(4) scroll_backward, scroll_forward, scroll_start; lastlog(1);
set(4) hold_mode, scroll

View File

@@ -0,0 +1,18 @@
Synopsis:
bind <key> scroll_forward
Description:
This function allows the user to move forward in the client's lastlog
one page at a time. The percentage of the screen that makes up a page is
defined by the set(4) scrollback_ratio variable. This is useful for
reviewing events as they happened, in a manner easier than LASTLOG
provides.
This function requires that SCROLL be on in order to function. The
SCROLL_START function must be used to use the scrollback feature, and
SCROLL_END must be used to exit it.
See Also:
bind(4) scroll_end, scroll_backward, scroll_start; lastlog(1); set(4)
hold_mode, scroll, scrollback_ratio

View File

@@ -0,0 +1,14 @@
Synopsis:
bind <key> scroll_start
Description:
This function causes the client to enter scrollback mode. This allows
the lastlog buffer to be viewed interactively. Any server messages
received while in scrollback mode are queued, and are not displayed
until the client exits scrollback mode. It is generally a good idea to
set HOLD_MODE on while in scrollback mode.
See Also:
bind(4) scroll_backward, scroll_end, scroll_forward; lastlog(1);
set(4) hold_mode, scroll

View File

@@ -0,0 +1,15 @@
Synopsis:
bind <key> self_insert
Description:
This function overrides the key's default value, causing it to insert
itself into the input buffer, instead of doing what it would normally
do. This can be used to intentionally prevent certain control keys
from being misused.
This function has a similar effect on the specified key as the
QUOTE_CHARACTER function does on the key it precedes.
See Also:
bind(4) quote_character

View File

@@ -0,0 +1,11 @@
Synopsis:
bind <key> send_line
Description:
This function causes the current input buffer to be sent to the current
server, in a manner like that of SENDLINE. To quell any confusion,
this is typically the default behavior of the return/enter key.
See Also:
sendline(5)

View File

@@ -0,0 +1,12 @@
Synopsis:
bind <key> shove_to_history
Description:
This function causes the current input buffer to be placed in the
history buffer. The command itself is not actually executed. This
is useful for remembering a partially complete command, such that
it can be completed at a later time.
See Also:
bind(4) backward_history, forward_history; history(4)

View File

@@ -0,0 +1,15 @@
Synopsis:
bind <key> stop_irc
Description:
This command causes the client process to temporarily stop, returning
the user to the parent process that started the client (usually the
user's command shell). This is useful for executing commands that
aren't well suited to EXEC.
Other Notes:
Care should be taken with the length of time that the client is stopped
for. Unless it was originally started with the -S command line option,
it will have no way of listening to the server. This means that it
could be disconnected from the server if it misses a PING message.

View File

@@ -0,0 +1,11 @@
Synopsis:
bind <key> swap_last_window
Description:
This function swaps the current window with the most recently hidden
window. If no windows are hidden, this function has no effect.
See Also:
bind(4) swap_next_window, swap_previous_window; window(4) hide, next,
swap

View File

@@ -0,0 +1,11 @@
Synopsis:
bind <key> swap_next_window
Description:
This function swaps the current window with the next hidden window in
the window list. If no windows are hidden, this function has no effect,
See Also:
bind(4) next_window, swap_last_window, swap_previous_window; window(4)
hide, next, swap

View File

@@ -0,0 +1,11 @@
Synopsis:
bind <key> swap_previous_window
Description:
This function swaps the current window with the first previous hidden
window in the window list. It has no effect if no windows are hidden.
See Also:
bind(4) previous_window, swap_last_window, swap_next_window; window(4)
hide, previous, swap

View File

@@ -0,0 +1,12 @@
Synopsis:
bind <key> switch_channels
Description:
This function changes the current channel in the current window. It
can be used to cycle through all channels in the window. However, it
will only switch to channels that are not already being directed to
another window.
See Also:
join(1)

View File

@@ -0,0 +1,15 @@
Synopsis:
bind <key> toggle_insert_mode
Description:
This toggles the client's default input mode between insert mode and
overwrite mode. In insert mode, text typed in inserted into the input
buffer, shifting text following the input to the right, preserving it.
In overwrite mode, text typed will overwrite any following text. The
mode is insignificant when there is no text following the cursor.
This function is equivalent to setting INSERT_MODE to "toggle".
See Also:
set(4) insert_mode

View File

@@ -0,0 +1,13 @@
Synopsis:
bind <key> toggle_stop_screen
Description:
This function is used to pause or unpause the screen. It is effectively
the same as setting HOLD_MODE to "toggle", except the client doesn't
wait for a screenful of data before pausing the screen. The screen is
automatically unpaused if the SEND_LINE function is used.
See Also:
bind(4) send_line, unstop_all_windows; set(4) hold_mode; window(4)
hold_mode

View File

@@ -0,0 +1,8 @@
Synopsis:
bind <key> transpose_characters
Description:
This function swaps the character under the cursor with the character
immediately before it. It has no effect if the cursor is at the end
of the input line, or if no characters precede the current one.

View File

@@ -0,0 +1,11 @@
Synopsis:
bind <key> type_text
Description:
This function inserts its arguments into the input buffer. It works
essentially like the TYPE command. The setting of INSERT_MODE will
affect how the text is inserted.
See Also:
set(4) insert_mode; type(5)

View File

@@ -0,0 +1,9 @@
Synopsis:
bind <key> unclear_screen
Description:
This function un-clears a /clear command or a /bind <key> clear_screen.
See Also:
bind(4) clear_screen; clear(4)

View File

@@ -0,0 +1,16 @@
Synopsis:
bind <key> underline
Description:
This function toggles the current underline setting. Due to internal
limitations of the client, UNDERLINE is displayed as a _ on the input line,
regardless of the key it is bound to.
See Also:
bind(4) blink, bold, highlight_off, reverse;
set(4) underline_video
Other Notes:
Underlined text can be typed at any time, but it will only be displayed
if UNDERLINE_VIDEO is on.

View File

@@ -0,0 +1,10 @@
Synopsis:
bind <key> unstop_all_windows
Description:
This functions turns off HOLD_MODE for all windows. If a window was
stopped with TOGGLE_STOP_WINDOW, it is restarted.
See Also:
bind(4) toggle_stop_window; set(4) hold_mode; window(4) hold_mode

View File

@@ -0,0 +1,12 @@
Synopsis:
bind <key> yank_from_cutbuffer
Description:
This function restores the last text string deleted from the input
buffer with DELETE_NEXT_WORD, DELETE_PREVIOUS_WORD, ERASE_LINE,
ERASE_TO_END_OF_LINE, or DELETE_TO_PREVIOUS_SPACE.
See Also:
bind(4) delete_next_word, delete_previous_word, delete_to_previous_space,
erase_line, erase_to_end_of_line