summary refs log tree commit diff
path: root/chatte.1
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--chatte.163
1 files changed, 61 insertions, 2 deletions
diff --git a/chatte.1 b/chatte.1
index c8cd31b..1bcab92 100644
--- a/chatte.1
+++ b/chatte.1
@@ -70,7 +70,7 @@ or
 .Fl n
 are not provided,
 they will be prompted for.
-.Ss Commands
+.Sh COMMANDS
 Commands may be entered
 as their shortest unique prefix.
 A slash followed immediately by a number
@@ -127,7 +127,7 @@ Hide the UI and
 list the most recent URLS
 which appeared in the current view.
 Press
-.Aq enter
+.Aq Enter
 to resume the UI.
 .It Ic /view Ar num
 Switch to view number
@@ -144,6 +144,65 @@ messages entered in the
 .Ql (irc)
 view
 will be sent as raw IRC commands.
+.Sh LINE EDITING
+.Nm
+provides Emacs-like
+line editing keys,
+as well as keys for entering
+IRC formatting codes.
+.Bl -tag
+.It Aq C-l
+Redraw the UI.
+.It Ao M-0 Ac \(en Ao M-9 Ac
+Switch to view by number.
+See
+.Ic /view .
+.It Aq S-Left
+Scroll view up by one line.
+.It Aq S-Right
+Scroll view down by one line.
+.It Aq PageUp
+Scroll view up by half a page.
+.It Aq PageDown
+Scroll view down by half a page.
+.It Ao C-b Ac Ao Left Ac
+Move cursor left.
+.It Ao C-f Ac Ao Right Ac
+Move cursor right.
+.It Ao C-a Ac Ao Home Ac
+Move cursor to beginning of line.
+.It Ao C-e Ac Ao End Ac
+Move cursor to end of line.
+.It Aq M-b
+Move cursor to beginning of word.
+.It Aq M-f
+Move cursor to end of word.
+.It Aq Backspace
+Delete character before cursor.
+.It Ao C-d Ac Ao Delete Ac
+Delete character under cursor.
+.It Ao C-w Ac Ao M-Backspace Ac
+Delete word before cursor.
+.It Aq M-d
+Delete word after cursor.
+.It Aq C-k
+Delete line after cursor.
+.It Aq Tab
+Cycle through completions
+for commands, nicks and channels.
+.It Aq C-n
+Insert IRC formatting reset.
+.It Aq C-o
+Insert IRC formatting bold.
+.It Aq C-t
+Insert IRC formatting italic.
+.It Aq C-u
+Insert IRC formatting underline.
+.It Aq C-v
+Insert IRC formatting reverse video.
+.It Aq C-r
+Insert IRC formatting color.
+.El
 .Sh ENVIRONMENT
 .Bl -tag
 .It Ev SSH_CLIENT
git-commentJune McEnroe 2021-09-08Document and install git-commentJune McEnroe 2021-09-08Add repeat and all options to git-commentJune McEnroe 2021-09-08Add group threshold to git-commentJune McEnroe-commentJune McEnroer class='logheader'>2022-06-25Bump xterm font size to 12June McEnroe 2022-06-10Handle subshells (and functions) inside substitutionsJune McEnroe 2022-06-10Switch to jorts Install scriptJune McEnroe 2022-06-08Indicate if still reading or no resultsJune McEnroe 2022-06-08Add Maiden, Mother, CroneJune McEnroe Mixed bag like most collections of short stories. Some of them are pretty good. The author of the worst written story also has the worst written bio. 2022-06-05FIRST SHOW IN 2.5 YEARS BABEY!!!June McEnroe 2022-06-03Set line number on File linesJune McEnroe 2022-06-03Stop polling stdin after EOFJune McEnroe 2022-06-02Set TABSIZE=4June McEnroe Absolutely indiscriminately. 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe For some reason I haven't been able to figure out, trying to poll /dev/tty returns POLLNVAL (and this was using 100% CPU looping), but using stderr instead works fine. 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe