[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Debian]:xterm delete



Hallo Abdreas,

At 10.06.2000, Andreas Schuldei wrote:
> * Holger Leskien <holger.leskien@gmx.de> [000609 23:18]:
> > seit meinem letzten Update auf den aktuellen Stand (Potato) verhält sich die
> > Delete-Taste (Entf) im xterm anders als vorher: Jetzt wird nach links
> > gelöscht, statt auf dem Zeichen. Wo kann ich dieses Verhalten einstellen?
> Ausserdem funktioneirt natuerlich die POS1 und Ende taste nicht mehr.
> Von den schlauen Bash-Tasten (Alt-t, Alt-. , ...) gnaz zu schweigen.

/etc/X11/Xresources/xterm ist Dein Freund. Bei mir sieht das so aus:

---------------- snip-------------

! /etc/X11/Xresources/xterm

! Uncomment the following lines to make xterm appear much like a virtual
! console, so that ANSI colors will make more sense.
XTerm*background: black
XTerm*foreground: gray90

! DEC VT series terminal emulators (like xterm) must generate VT220-compliant
! sequences for the backspace and delete keys per the Debian Policy Manual;
! this provides compatibility with the Linux console.  Also, work around an
! apparent bug in the default translations for the home and end keys in
! xterm.  Note that this resource specification affects all programs with a
! "vt100" widget in their resource class hierarchy, and that these
! translation overrides do not apply if one of the listed modifier keys is
! pressed (e.g., what shift-backspace does depends on the program in question).
*VT100.Translations: #override ~Shift ~Ctrl ~Meta <Key>BackSpace: string("\177")\n\
                               ~Shift ~Ctrl ~Meta <Key>Delete: string("\033[3~")\n\
                               ~Shift ~Ctrl ~Meta <Key>Home: string("\033[1~")\n\
                               ~Shift ~Ctrl ~Meta <Key>End: string("\033[4~")

------------- snip------------

allerdings ist bei mir der xterm Hintergrund dann auch Schwarz und die
Schrift weiss (XTerm*background: black XTerm*foreground: gray90).

Du kannst das auch (wenn Du es nicht Systemweit einstellen willst) in
die ~/.Xresources schreiben.

Gruss, Guido
-- 
- du hast keine Aussage getroffen, seit ich diese Newsgroup lese.  Wirf das
  also nicht anderen vor. (FvL in de.comp.os.unix.discussion)
-PGP-
Get my public PGP key by sending me an email with subject "PGP-Request"
------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie
bitte eine E-Mail an majordomo@jfl.de die im Body
"unsubscribe debian-user-de <deine emailadresse>"
enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@jfl.de
------------------------------------------------
Anzahl der eingetragenen Mitglieder:     729


Reply to: