From owner-freebsd-questions Thu Jan 24 3:41:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mobil.cz (diana.mobil.cz [195.39.16.12]) by hub.freebsd.org (Postfix) with ESMTP id 76B3737B400 for ; Thu, 24 Jan 2002 03:41:21 -0800 (PST) Received: from ester.mobil.cz (ester.mobil.cz [194.213.62.23]) by mobil.cz (8.11.6/8.11.0) with ESMTP id g0OBfJe26764; Thu, 24 Jan 2002 12:41:20 +0100 Received: from roman.mobil.cz ([10.2.0.89]) by ester.mobil.cz (Lotus Domino Release 5.0.7) with ESMTP id 2002012412384337:12054 ; Thu, 24 Jan 2002 12:38:43 +0100 Received: (from roman@localhost) by roman.mobil.cz (8.11.6/8.11.6) id g0OBpuX77535; Thu, 24 Jan 2002 12:51:56 +0100 (CET) (envelope-from neuhauser@mobil.cz) X-Authentication-Warning: roman.mobil.cz: roman set sender to neuhauser@mobil.cz using -f Date: Thu, 24 Jan 2002 12:51:55 +0100 From: Roman Neuhauser To: Jordan Breeding Cc: freebsd-questions@freebsd.org Subject: Re: Making and different in sc(1)? Message-ID: <20020124125155.A77465@roman.mobil.cz> Mail-Followup-To: Jordan Breeding , freebsd-questions@freebsd.org References: <3C4F415D.4050809@attbi.com> Mime-Version: 1.0 In-Reply-To: <3C4F415D.4050809@attbi.com> User-Agent: Mutt/1.3.23i X-MIMETrack: Itemize by SMTP Server on ester/Mobil(Release 5.0.7 |March 21, 2001) at 01/24/2002 12:38:43 PM, Serialize by Router on ester/Mobil(Release 5.0.7 |March 21, 2001) at 01/24/2002 12:38:49 PM, Serialize complete at 01/24/2002 12:38:49 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 > Date: Wed, 23 Jan 2002 17:03:57 -0600 > From: Jordan Breeding > To: freebsd-questions@freebsd.org > Subject: Making and different in sc(1)? > > Is there a way in sc(1) to allow to remove characters to the left > and to delete characters to the left instead of both keys removing > characters to the left? Thanks for any help. Hi Jordan, there are two things that could cause the Delete key remove a char to the left of the cursor in the console (that I'm aware of): 1) The key sends ^H, which is Backspace. 2) Your shell is configured to remove a char to the left of the cursor when it receives both ^H and ^? (Delete). You can find out the code by typing ^V (Ctrl and V at once) and then pressing the Delete key. If it shows "^?" (w/o the quotes), you have to look at your shell's manual. I'm 99% sure this is the case, since Delete has been sending ^? since I remember, but both tcsh-6.0.1[01] and zsh-4.0.[24] are misconfigured just the way you describe. Unfortunately, I don't remember the fix for tcsh, and haven't fixed this in my zsh yet. -- FreeBSD 4.4-STABLE 12:43PM up 3 days, 19:07, 3 users, load averages: 0.01, 0.02, 0.00 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message