From owner-freebsd-questions@FreeBSD.ORG Sun Aug 12 18:32:19 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1D6C16A419 for ; Sun, 12 Aug 2007 18:32:19 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 66B3913C428 for ; Sun, 12 Aug 2007 18:32:19 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l7CIW08W027826; Sun, 12 Aug 2007 13:32:00 -0500 (CDT) Message-Id: <6.0.0.22.2.20070812132652.026483b0@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Sun, 12 Aug 2007 13:31:36 -0500 To: "d.Z." , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <3e34b6550708112054u332f6760we3181393dbbdfe18@mail.gmail.co m> References: <3e34b6550708112054u332f6760we3181393dbbdfe18@mail.gmail.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Backspace X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2007 18:32:19 -0000 At 10:54 PM 8/11/2007, d.Z. wrote: >Hello, > >I'm a new user to FreeBSD and Unix. I used Solaris 10 last week in >lab, and found there is a difference between them. > >When Solaris is installed, press backspace will give you ^H, you'll >have to "stty erase ^H" to solve this problem. But with FreeBSD 6.1, >when first installed, backspace is always bounded to erase last >character, even I have "stty erase ^?" and "stty erase2 ^?", backspace >still deletes last character input. Does any body know why is this >happening? Solaris by default uses csh for user accounts. The backspace key assignment and for that matter, all key assignments are dependent on the both the shell and terminal definition. Reassigning keys is typical for your shell's startup profile file .cshrc for csh and .bashrc for bash. >And strange thing is with default setting (before stty erase and >erase2 to ^?), when I use Emacs, C-h will give me back space, instead >of help. I know this is desirable for experts, but I'm really new so >just want to follow the instruction first. Applications like the shell you use interpret the terminal definition and may or may not use the same key assignments. Most applications like the shells in UNIX environments have startup files to customize the key assignments and in the case of editors even define macros. Hope this helps. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.