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