Date: 11 Dec 1999 03:38:41 +0100 From: naddy@mips.rhein-neckar.de (Christian Weisgerber) To: freebsd-questions@freebsd.org Subject: Re: Korn Shell key mapping question Message-ID: <82sdfh$1u2c$1@bigeye.rhein-neckar.de> References: <Pine.A41.4.03.9912100927540.97808-100000@inca.gate.net>
next in thread | previous in thread | raw e-mail | index | archive | help
William Melanson <wjm@gate.net> wrote: > I grabbed and installed the official AT&T release of KornShell 93 > binaries yesterday. Did you use the port? (Not that the port adds much.) > In order for users to be able to use the arrow keys to remember last > commands typed must emacs be avaialble? ? Do you mean whether the shell must be in emacs mode (set -o emacs)? > # Enable arrow keys for emacs-style command-line editing > alias __A='^P' > alias __B='^N' > alias __C='^F' > alias __D='^B' > alias __H='^A' Apparently this old ksh88 feature isn't available in ksh93. ksh93 allows for quite extensive input remapping through the KEYBD trap and various .sh.ed* variables. However, this requires some programming. You might want to check www.kornshell.com for hints. And of course, there's the Bolsky/Korn book. -- Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de 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?82sdfh$1u2c$1>