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

Comparing rxvt-unicode/README.FAQ (file contents):
Revision 1.66 by root, Thu May 10 22:42:02 2012 UTC vs.
Revision 1.67 by root, Sun Sep 9 12:21:25 2012 UTC

91 91
92 # Bourne/Korn/POSIX family of shells: 92 # Bourne/Korn/POSIX family of shells:
93 [ ${TERM:-foo} = foo ] && TERM=xterm # assume an xterm if we don't know 93 [ ${TERM:-foo} = foo ] && TERM=xterm # assume an xterm if we don't know
94 if [ ${TERM:-foo} = xterm ]; then 94 if [ ${TERM:-foo} = xterm ]; then
95 stty -icanon -echo min 0 time 15 # see if enhanced rxvt or not 95 stty -icanon -echo min 0 time 15 # see if enhanced rxvt or not
96 echo -n '^[Z' 96 printf "\eZ"
97 read term_id 97 read term_id
98 stty icanon echo 98 stty icanon echo
99 if [ ""${term_id} = '^[[?1;2C' -a ${DISPLAY:-foo} = foo ]; then 99 if [ ""${term_id} = '^[[?1;2C' -a ${DISPLAY:-foo} = foo ]; then
100 echo -n '^[[7n' # query the rxvt we are in for the DISPLAY string 100 printf '\e[7n' # query the rxvt we are in for the DISPLAY string
101 read DISPLAY # set it in our local shell 101 read DISPLAY # set it in our local shell
102 fi 102 fi
103 fi 103 fi
104 104
105 How do I compile the manual pages on my own? 105 How do I compile the manual pages on my own?
106 You need to have a recent version of perl installed as /usr/bin/perl, 106 You need to have a recent version of perl installed as /usr/bin/perl,
532 It is possible to toggle between "^H" and "^?" with the DECBKM private 532 It is possible to toggle between "^H" and "^?" with the DECBKM private
533 mode: 533 mode:
534 534
535 # use Backspace = ^H 535 # use Backspace = ^H
536 $ stty erase ^H 536 $ stty erase ^H
537 $ echo -n "^[[?67h" 537 $ printf "\e[?67h"
538 538
539 # use Backspace = ^? 539 # use Backspace = ^?
540 $ stty erase ^? 540 $ stty erase ^?
541 $ echo -n "^[[?67l" 541 $ printf "\e[?67l"
542 542
543 This helps satisfy some of the Backspace discrepancies that occur, but 543 This helps satisfy some of the Backspace discrepancies that occur, but
544 if you use Backspace = "^H", make sure that the termcap/terminfo value 544 if you use Backspace = "^H", make sure that the termcap/terminfo value
545 properly reflects that. 545 properly reflects that.
546 546

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines