[Python-checkins] CVS: python/dist/src/Doc/lib libcmd.tex,1.8,1.9 libcurses.tex,1.33,1.34 libexcs.tex,1.37,1.38
Fred L. Drake
fdrake@users.sourceforge.net
Wed, 11 Jul 2001 19:09:53 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv15514/lib
Modified Files:
libcmd.tex libcurses.tex libexcs.tex
Log Message:
Follow the recommended practices for keystroke representation; this
improves internal consistency in the documentation.
Index: libcmd.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcmd.tex,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** libcmd.tex 2001/06/23 14:42:43 1.8
--- libcmd.tex 2001/07/12 02:09:51 1.9
***************
*** 34,41 ****
If the \module{readline} module is loaded, input will automatically
! inherit \program{bash}-like history-list editing (e.g. \kbd{Ctrl-P}
! scrolls back to the last command, \kbd{Ctrl-N} forward to the next
! one, \kbd{Ctrl-F} moves the cursor to the right non-destructively,
! \kbd{Ctrl-B} moves the cursor to the left non-destructively, etc.).
An end-of-file on input is passed back as the string \code{'EOF'}.
--- 34,41 ----
If the \module{readline} module is loaded, input will automatically
! inherit \program{bash}-like history-list editing (e.g. \kbd{Control-P}
! scrolls back to the last command, \kbd{Control-N} forward to the next
! one, \kbd{Control-F} moves the cursor to the right non-destructively,
! \kbd{Control-B} moves the cursor to the left non-destructively, etc.).
An end-of-file on input is passed back as the string \code{'EOF'}.
Index: libcurses.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcurses.tex,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -r1.33 -r1.34
*** libcurses.tex 2001/07/06 19:28:48 1.33
--- libcurses.tex 2001/07/12 02:09:51 1.34
***************
*** 1305,1322 ****
\begin{tableii}{l|l}{kbd}{Keystroke}{Action}
! \lineii{Ctrl-A}{Go to left edge of window.}
! \lineii{Ctrl-B}{Cursor left, wrapping to previous line if appropriate.}
! \lineii{Ctrl-D}{Delete character under cursor.}
! \lineii{Ctrl-E}{Go to right edge (stripspaces off) or end of line
(stripspaces on).}
! \lineii{Ctrl-F}{Cursor right, wrapping to next line when appropriate.}
! \lineii{Ctrl-G}{Terminate, returning the window contents.}
! \lineii{Ctrl-H}{Delete character backward.}
! \lineii{Ctrl-J}{Terminate if the window is 1 line, otherwise insert newline.}
! \lineii{Ctrl-K}{If line is blank, delete it, otherwise clear to end of line.}
! \lineii{Ctrl-L}{Refresh screen.}
! \lineii{Ctrl-N}{Cursor down; move down one line.}
! \lineii{Ctrl-O}{Insert a blank line at cursor location.}
! \lineii{Ctrl-P}{Cursor up; move up one line.}
\end{tableii}
--- 1305,1324 ----
\begin{tableii}{l|l}{kbd}{Keystroke}{Action}
! \lineii{Control-A}{Go to left edge of window.}
! \lineii{Control-B}{Cursor left, wrapping to previous line if appropriate.}
! \lineii{Control-D}{Delete character under cursor.}
! \lineii{Control-E}{Go to right edge (stripspaces off) or end of line
(stripspaces on).}
! \lineii{Control-F}{Cursor right, wrapping to next line when appropriate.}
! \lineii{Control-G}{Terminate, returning the window contents.}
! \lineii{Control-H}{Delete character backward.}
! \lineii{Control-J}{Terminate if the window is 1 line, otherwise
! insert newline.}
! \lineii{Control-K}{If line is blank, delete it, otherwise clear to
! end of line.}
! \lineii{Control-L}{Refresh screen.}
! \lineii{Control-N}{Cursor down; move down one line.}
! \lineii{Control-O}{Insert a blank line at cursor location.}
! \lineii{Control-P}{Cursor up; move up one line.}
\end{tableii}
***************
*** 1326,1334 ****
\begin{tableii}{l|l}{constant}{Constant}{Keystroke}
! \lineii{KEY_LEFT}{\kbd{Ctrl-B}}
! \lineii{KEY_RIGHT}{\kbd{Ctrl-F}}
! \lineii{KEY_UP}{\kbd{Ctrl-P}}
! \lineii{KEY_DOWN}{\kbd{Ctrl-N}}
! \lineii{KEY_BACKSPACE}{\kbd{Ctrl-h}}
\end{tableii}
--- 1328,1336 ----
\begin{tableii}{l|l}{constant}{Constant}{Keystroke}
! \lineii{KEY_LEFT}{\kbd{Control-B}}
! \lineii{KEY_RIGHT}{\kbd{Control-F}}
! \lineii{KEY_UP}{\kbd{Control-P}}
! \lineii{KEY_DOWN}{\kbd{Control-N}}
! \lineii{KEY_BACKSPACE}{\kbd{Control-h}}
\end{tableii}
Index: libexcs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libexcs.tex,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -r1.37 -r1.38
*** libexcs.tex 2001/05/03 04:39:10 1.37
--- libexcs.tex 2001/07/12 02:09:51 1.38
***************
*** 178,182 ****
\begin{excdesc}{KeyboardInterrupt}
Raised when the user hits the interrupt key (normally
! \kbd{Control-C} or \kbd{DEL}). During execution, a check for
interrupts is made regularly.
% XXXJH xrefs here
--- 178,182 ----
\begin{excdesc}{KeyboardInterrupt}
Raised when the user hits the interrupt key (normally
! \kbd{Control-C} or \kbd{Delete}). During execution, a check for
interrupts is made regularly.
% XXXJH xrefs here