From owner-freebsd-hackers Tue Mar 12 13:08:12 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA16481 for hackers-outgoing; Tue, 12 Mar 1996 13:08:12 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA16474 for ; Tue, 12 Mar 1996 13:08:07 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA06519; Tue, 12 Mar 1996 14:05:12 -0700 From: Terry Lambert Message-Id: <199603122105.OAA06519@phaeton.artisoft.com> Subject: Re: using ddb to debug a double-panic? To: lehey.pad@sni.de (Greg Lehey) Date: Tue, 12 Mar 1996 14:05:12 -0700 (MST) Cc: jkh@time.cdrom.com, hackers@FreeBSD.org In-Reply-To: <199603120723.IAA19225@nixpbe.pdb.sni.de> from "Greg Lehey" at Mar 12, 96 08:20:23 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > I've come in on the end of this. This horrible thing that passes for > a mail system here has swallowed a day's worth of mail again, and > didn't even regurgitate it. If anybody else has sent opinions, please > resend them. Are you the originator of this thread? Did you miss my "small essay and bogus screen shot" for WINICE? Do I need to resend it to you? > Seriously, Bruce (or anybody else): what kind of editing? The main > objection I have to vi-style editing in shells is that it is so > ESC-intensive. I suspect it's also more difficult to program, though > I don't suppose that's the real problem. If anybody has any > alternatives to emacs-style bindings, please let me know a detailed > description of how it should work. 4DOS/DOSKey/WinICE/FANSIConsole/DCL/TPU/EDT/tcsh/ksh(the real one)/etc. all use: 1) Cursor up: previous command (repeat to the limits of the command recall buffer). 2) Cursor down: next command (assuming a previous cursor up -- otherwise default command input line). 3) Partial command, then cursor up/down: command previous/next beginning with partial command as line prefix. 4) Abort key (^C): discard edits, new input line. 5) Backspace: delete character to left of cursor 6) Delete: delete character to right of cursor 7) Insert: toggle insertion/overstrike; default overstrike (on VMS programs, can change default as a preference... on 2 of the DOS programs, the previous in-ude mode is remembered -- the toggle is global, not per entry line). 8) Home key: beginning of line 9) End key: end of line The one problem is the "backspace deletes left" for terminals where the cursor left key emits "^H". In these situations, the BS key becomes synonymous with the cursor left key and the "delete character to left of cursor" function is lost. Extensions: scroll left/right in line for long lines instead of damaging editability (ie: don't screw up like VMS did). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.