ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.7.pod
(Generate patch)

Comparing rxvt-unicode/doc/rxvt.7.pod (file contents):
Revision 1.222 by root, Tue Jun 19 18:22:26 2012 UTC vs.
Revision 1.223 by root, Tue Jul 31 21:12:18 2012 UTC

129 129
130 # Bourne/Korn/POSIX family of shells: 130 # Bourne/Korn/POSIX family of shells:
131 [ ${TERM:-foo} = foo ] && TERM=xterm # assume an xterm if we don't know 131 [ ${TERM:-foo} = foo ] && TERM=xterm # assume an xterm if we don't know
132 if [ ${TERM:-foo} = xterm ]; then 132 if [ ${TERM:-foo} = xterm ]; then
133 stty -icanon -echo min 0 time 15 # see if enhanced rxvt or not 133 stty -icanon -echo min 0 time 15 # see if enhanced rxvt or not
134 echo -n '^[Z' 134 printf "\eZ"
135 read term_id 135 read term_id
136 stty icanon echo 136 stty icanon echo
137 if [ ""${term_id} = '^[[?1;2C' -a ${DISPLAY:-foo} = foo ]; then 137 if [ ""${term_id} = '^[[?1;2C' -a ${DISPLAY:-foo} = foo ]; then
138 echo -n '^[[7n' # query the rxvt we are in for the DISPLAY string 138 printf '\e[7n' # query the rxvt we are in for the DISPLAY string
139 read DISPLAY # set it in our local shell 139 read DISPLAY # set it in our local shell
140 fi 140 fi
141 fi 141 fi
142 142
143=head3 How do I compile the manual pages on my own? 143=head3 How do I compile the manual pages on my own?
144 144
599It is possible to toggle between C<^H> and C<^?> with the DECBKM 599It is possible to toggle between C<^H> and C<^?> with the DECBKM
600private mode: 600private mode:
601 601
602 # use Backspace = ^H 602 # use Backspace = ^H
603 $ stty erase ^H 603 $ stty erase ^H
604 $ echo -n "^[[?67h" 604 $ printf "\e[?67h"
605 605
606 # use Backspace = ^? 606 # use Backspace = ^?
607 $ stty erase ^? 607 $ stty erase ^?
608 $ echo -n "^[[?67l" 608 $ printf "\e[?67l"
609 609
610This helps satisfy some of the Backspace discrepancies that occur, but 610This helps satisfy some of the Backspace discrepancies that occur, but
611if you use Backspace = C<^H>, make sure that the termcap/terminfo value 611if you use Backspace = C<^H>, make sure that the termcap/terminfo value
612properly reflects that. 612properly reflects that.
613 613

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines