From owner-freebsd-questions Fri Oct 25 15:16:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D44BE37B401 for ; Fri, 25 Oct 2002 15:16:36 -0700 (PDT) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E9A343E3B for ; Fri, 25 Oct 2002 15:16:36 -0700 (PDT) (envelope-from swear@attbi.com) Received: from localhost.localdomain ([12.242.158.67]) by sccrmhc03.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021025221635.QQUP18734.sccrmhc03.attbi.com@localhost.localdomain>; Fri, 25 Oct 2002 22:16:35 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.12.6/8.12.5) with ESMTP id g9PMISUW092177; Fri, 25 Oct 2002 15:18:29 -0700 (PDT) (envelope-from swear@attbi.com) Received: (from jojo@localhost) by localhost.localdomain (8.12.6/8.12.5/Submit) id g9PMILgD092174; Fri, 25 Oct 2002 15:18:21 -0700 (PDT) (envelope-from swear@attbi.com) X-Authentication-Warning: localhost.localdomain: jojo set sender to swear@attbi.com using -f To: memorris@christsgarden.org Cc: Giorgos Keramidas , freebsd-questions@FreeBSD.ORG Subject: Re: backspace and del keys 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> From: swear@attbi.com (Gary W. Swearingen) Date: 25 Oct 2002 15:18:21 -0700 In-Reply-To: <1035564527.685.22.camel@dilbert.christsgarden.org> Message-ID: Lines: 32 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Michael Morris 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