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.191 by sf-exg, Wed Aug 18 22:48:08 2010 UTC vs.
Revision 1.192 by sf-exg, Thu Aug 19 18:00:54 2010 UTC

590 590
591Historically, either value is correct, but rxvt-unicode adopts the debian 591Historically, either value is correct, but rxvt-unicode adopts the debian
592policy of using C<^?> when unsure, because it's the one and only correct 592policy of using C<^?> when unsure, because it's the one and only correct
593choice :). 593choice :).
594 594
595Rxvt-unicode tries to inherit the current stty settings and uses the value 595It is possible to toggle between C<^H> and C<^?> with the DECBKM
596of `erase' to guess the value for backspace. If rxvt-unicode wasn't 596private mode:
597started from a terminal (say, from a menu or by remote shell), then the
598system value of `erase', which corresponds to CERASE in <termios.h>, will
599be used (which may not be the same as your stty setting).
600
601For starting a new rxvt-unicode:
602 597
603 # use Backspace = ^H 598 # use Backspace = ^H
604 $ stty erase ^H 599 $ stty erase ^H
605 $ @@URXVT_NAME@@ 600 $ echo -n "^[[?67h"
606 601
607 # use Backspace = ^? 602 # use Backspace = ^?
608 $ stty erase ^? 603 $ stty erase ^?
609 $ @@URXVT_NAME@@
610
611Toggle with C<ESC [ 36 h> / C<ESC [ 36 l>.
612
613For an existing rxvt-unicode:
614
615 # use Backspace = ^H
616 $ stty erase ^H
617 $ echo -n "^[[36h"
618
619 # use Backspace = ^?
620 $ stty erase ^?
621 $ echo -n "^[[36l" 604 $ echo -n "^[[?67l"
622 605
623This helps satisfy some of the Backspace discrepancies that occur, but 606This helps satisfy some of the Backspace discrepancies that occur, but
624if you use Backspace = C<^H>, make sure that the termcap/terminfo value 607if you use Backspace = C<^H>, make sure that the termcap/terminfo value
625properly reflects that. 608properly reflects that.
626 609

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines