From owner-freebsd-questions Mon Feb 26 06:19:07 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA20797 for questions-outgoing; Mon, 26 Feb 1996 06:19:07 -0800 (PST) Received: from mail.EUnet.hu (mail.eunet.hu [193.225.28.100]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id GAA20790 for ; Mon, 26 Feb 1996 06:19:00 -0800 (PST) Received: by mail.EUnet.hu, id PAA22437; Mon, 26 Feb 1996 15:18:42 +0100 Received: by CoDe.CoDe.hu (NAA00994); Mon, 26 Feb 1996 13:49:52 GMT From: Gabor Zahemszky Message-Id: <199602261349.NAA00994@CoDe.CoDe.hu> Subject: cursor keys under Unix-shells To: freebsd-questions@freebsd.org Date: Mon, 26 Feb 1996 13:49:48 +0000 (GMT) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk Hi! Somebody asked about cursor keys under Unix. Somebody answerd, use tcsh or bash. You don't need it. Both sh (ash, preciselly) and pdksh can use the cursor keys, the trick is: set -o emacs, and don't modify the EDITOR/VISUAL variables (or after modification, set -o emacs, too). If you have to work with the original, AT&T ksh, you have to make some other tricks (you have to define some aliases) (mail me, if you need it, for AIX, HP, etc - or read the KSH-book) This works only on vt100-like terminal, as I know,. Sorry, the ash manual is very cheap about command-line editing, but the pdksh manual is very-very good. Ther are so many examples about the cursor-key bindings in it. Bye, Gabor -- Gabor Zahemszky -:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:- Earth is the cradle of human sense, but you can't stay in the cradle forever. Tsiolkovsky