From owner-freebsd-questions@FreeBSD.ORG Wed Feb 6 06:14:38 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A40F5533 for ; Wed, 6 Feb 2013 06:14:38 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-qa0-f52.google.com (mail-qa0-f52.google.com [209.85.216.52]) by mx1.freebsd.org (Postfix) with ESMTP id 46C46F2F for ; Wed, 6 Feb 2013 06:14:38 +0000 (UTC) Received: by mail-qa0-f52.google.com with SMTP id bs12so505048qab.18 for ; Tue, 05 Feb 2013 22:14:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=rjXRxp+sDMjqIn88dyuSnbKqiqFtzSKhj9m1dQINgIc=; b=G17oz7CmxN0X/WxKjagpeMpfZKghkMK0Ig+P90ylO1pcUpPvXJKS6lKoeYXX0+qTSV dQ1FdCLHfoZOWd0laQ93Zg0qDe2ja0rYuySy4Kl+g3BEA943WphJBwyvotLe2lyx03P/ HlaiXE4EnHxl+xzIaRPsPJcWonbgiOAwWpTgUYcNxeAUXtCrxynO88+wn8mUdpUQAOU1 iuR/gEzBJs3wcH9EYT9npxia0/4CAX8KBjUbwFopSQkV4IYq67uTIA0glwUxRhGrT7/r auVnL4mVCS8maPeWfFCUdCCWFL2ZsqyBdSygRuNdgaDvnomKTt0kMhoF1CFD6zrH/yo1 BCPw== MIME-Version: 1.0 X-Received: by 10.49.133.195 with SMTP id pe3mr23826143qeb.58.1360131277377; Tue, 05 Feb 2013 22:14:37 -0800 (PST) Received: by 10.49.58.240 with HTTP; Tue, 5 Feb 2013 22:14:37 -0800 (PST) Date: Wed, 6 Feb 2013 09:44:37 +0330 Message-ID: Subject: backspace shows ^? in serial communications From: s m To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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 06:14:38 -0000 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. regards SAM