Skip site navigation (1)Skip section navigation (2)
Date:      25 Oct 2002 15:18:21 -0700
From:      swear@attbi.com (Gary W. Swearingen)
To:        memorris@christsgarden.org
Cc:        Giorgos Keramidas <keramida@ceid.upatras.gr>, freebsd-questions@FreeBSD.ORG
Subject:   Re: backspace and del keys
Message-ID:  <k6k7k6w4b6.7k6@localhost.localdomain>
In-Reply-To: <1035564527.685.22.camel@dilbert.christsgarden.org>
References:  <1035470680.2126.16.camel@dilbert.christsgarden.org> <002001c27b95$f7f705e0$f7808c96@LocalHost> <1035500526.273.33.camel@dilbert.christsgarden.org> <20021025020559.GA19906@hades.hell.gr> <1035558058.204.11.camel@dilbert.christsgarden.org> <20021025163633.GD673@hades.hell.gr> <1035564527.685.22.camel@dilbert.christsgarden.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Morris <memorris@christsgarden.org> writes:

> When I run tput kbs, nothing is displayed.

When I run
    echo "123$(tput kbs)456"
I get
    12456
apparently because "tput kbs" puts out some kind of backspace to
the shell.

I suspect that you need to read your shell's discussions of command line
processing.  Run "bind" (a shell built-in) and grep it's output for
"del" and "back".  You should ensure that you've got your shell using
Emacs-style line editing.


Better yet, use the Control-D key for delete (the Emacs-style default)
and redefine the Delete keys for things you need less often.  :-)

Note that the key interpretation can be changed in an application (eg,
your shell), xterm X resources, termcap (?), your window manager config,
and in the X key config (in increasing precedence, I hope).

To take full advantage of your Internet/multimedia keyboard, you might
want to look into:
    /usr/X11R6/lib/X11/xkb/
    /usr/X11R6/man/man1/*xkb*
    http://www.tsu.ru/~pascal/en/xkb/
        Poor English, but sometimes better than official docs.
    http://www.charvolant.org/~doug/xkb/
        "An Unreliable Guide to XKB Configuration"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?k6k7k6w4b6.7k6>