Re: backspace and delete keys behavior

From: Mark Ovens (marko_at_freebsd.org)
Date: 07/31/04

  • Next message: Clint Olsen: "kernel: sk0: watchdog timeout"
    Date: Sat, 31 Jul 2004 18:43:59 +0100
    To: freebsd-questions@freebsd.org
    
    

    Ion-Mihai Tetcu wrote:

    > On Fri, 30 Jul 2004 14:30:59 +0100
    > Mark Ovens <marko@freebsd.org> wrote:
    >
    >> Peter Ryan wrote:
    >> > I've got the same thing on the 2 machines i am experimenting
    >> > with. I am new and thought it was a standard feature :)
    >> >
    >> > I also defined a standard US 101 keyboard.
    >> >
    >> > Makes me think there is a setting or choice at installation that
    >> > deals with this, rather than having to patch something.
    >> >
    >>
    >> Add
    >>
    >> keysym Delete = 0x04
    >>
    >> to ~/.xmodmaprc
    >>
    >> and add
    >>
    >> xmodmap ~/.xmodmaprc
    >>
    >> to ~/.xinitrc
    >>
    >> To implement this in a running X session type this in an xterm
    >>
    >> xmodmap -e "keysym Delete = 0x04"
    >>
    >> Actually, this is probably a better solution for the OP as it is global
    >> whereas my previous suggestion is xterm specific.
    >
    > The only problem is that if you keep the delete key pressed to long it
    > exits the terminal. At least when xmodmap.... typed under kde's konsole;
    > it acts this way both in for konsole and xterm.

    Only if the cursor is in the first character position after the prompt
    of course. Not sure what the solution is since Ctrl-D is delete char to
    the right of the cursor and EOT, which exits the shell.

    Mark

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Clint Olsen: "kernel: sk0: watchdog timeout"

    Relevant Pages

    • Re: paste multiple lines with sun vi
      ... issues with vi and xterm on SunOS 4 and SVR3. ... vi would save and then restore the xterm window on ... handling bug -- it would home the cursor before it sent the "start ... was to remove the save and restore sequences from smkx and rmkx. ...
      (comp.sys.sun.admin)
    • Re: X11 changes in Leopard (Summary)
      ... I've also include a ssh/x11 mystery. ... cursor ever disappearing. ... just in case it's related to xterm ... ("xterm -v" would give the patch level). ...
      (comp.sys.mac.system)
    • Re: [opensuse] Resetting xterm?
      ... Any other possibility to reset it? ... Since I use a black background by default, the cursor is changed - mostly due ... Is it an xterm bug? ...
      (SuSE)
    • make menuconfig in Konsole, arrows&backspace do not work ?
      ... In text input field in 'make menuconfig', in xterm, everything works. ... and has blinking cursor. ... Do I need different $TERM setting? ...
      (Linux-Kernel)
    • Re: Delete key leaves ghost characters at command prompt in xterm
      ... I notice that my cursor appears as an inverse video block. ... it was appearing as a flashing underscore. ... What's the version of xterm? ... affect focus events (but from the description it's not clear if xterm ...
      (comp.os.linux.misc)