From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30685 invoked by alias); 3 Nov 2003 08:38:13 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 30672 invoked from network); 3 Nov 2003 08:38:11 -0000 Received: from unknown (HELO jle1.jle.corp) (62.167.207.59) by sources.redhat.com with SMTP; 3 Nov 2003 08:38:11 -0000 Received: from pc5 ([192.168.0.5]) by jle1.jle.corp with Microsoft SMTPSVC(6.0.3790.0); Mon, 3 Nov 2003 09:38:10 +0100 From: "Philippe Torche" To: Subject: RE: Testers for new ssh-*-config scripts wanted! Date: Mon, 03 Nov 2003 08:38:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <20031031172415.GE1259@cygbert.vinschen.de> Message-ID: X-OriginalArrivalTime: 03 Nov 2003 08:38:10.0839 (UTC) FILETIME=[D0284A70:01C3A1E5] X-SW-Source: 2003-11/txt/msg00078.txt.bz2 Sorry but, The doc of bash explains this behavior (help read). You can experiment the same think on Redhat per exemple. And don't forget to use "echo $_cygwin | od -t x1" to show what is stored in the variable. Have a nice cygweek, Philippe. > -----Message d'origine----- > De : cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]=20 > De la part de Corinna Vinschen > Envoy=E9 : vendredi, 31. octobre 2003 18:24 > =C0 : cygwin@cygwin.com > Objet : Re: Testers for new ssh-*-config scripts wanted! >=20 > On Fri, Oct 31, 2003 at 05:07:18PM +0100, Philippe Torche wrote: > > Nope, > >=20 > > read from bash don't reconize control caracters without -e=20 > parameter: > > $ read _cygwin > > Ntser[Backspace]c > > $ echo $_cygwin | od -t x1 > > 0000000 6e 74 73 65 72 08 63 0a > > 0000010 > >=20 > > BUT OK with "-e" > >=20 > > $ read -e _cygwin > > Ntser[Backspace]c > > $ echo $_cygwin | od -t x1 > > 0000000 6e 74 73 65 63 0a > > 0000006 >=20 > Erm... when I use bash, read always recognizes the backspace=20 > correctly. > *dig dig dig* > Even better, when using /bin/sh (ash), I don't have your=20 > above problem either. I can change the string and no control=20 > code shows up in the variable's value. What's different on=20 > your machine? Nothing ! >=20 > Corinna >=20 > --=20 > Corinna Vinschen Please, send mails=20 > regarding Cygwin to > Cygwin Developer=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 > mailto:cygwin@cygwin.com > Red Hat, Inc. >=20 > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ >=20 >=20 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/