From owner-freebsd-questions@FreeBSD.ORG Wed Feb 6 11:39:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id ECE4F926 for ; Wed, 6 Feb 2013 11:39:59 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 9CF9C25C for ; Wed, 6 Feb 2013 11:39:58 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id r16Bhnx2016113; Wed, 6 Feb 2013 05:43:49 -0600 (CST) Date: Wed, 6 Feb 2013 05:43:49 -0600 (CST) From: Robert Bonomi Message-Id: <201302061143.r16Bhnx2016113@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, sam.gh1986@gmail.com Subject: Re: backspace shows ^? in serial communications In-Reply-To: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2013 11:40:00 -0000 > From owner-freebsd-questions@freebsd.org Wed Feb 6 00:19:04 2013 > Date: Wed, 6 Feb 2013 09:44:37 +0330 > Subject: backspace shows ^? in serial communications > From: s m > To: freebsd-questions > > hi all > > i have a problem with backspace in serial communications. i have a > freebsd8.2 box with a serial card on it. when i connect to other freebsd > box via serial port backspace does not act as i expected. backspace shows > ^? on screen. i searched alot and find out that stty has two parameters > -erase and erase2- to identify erase characters in terminal and they should > be set correctly. i set erase and erase2 to ^? by "stty erase \^?" and > "stty erase2 \^?" commands but nothing happened. > please let me know how i can fix it. i know it is simple issue but i really > do not know how to do that. stty erase {press the backspace key} Then hit the enter/return key