delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | "Philippe Torche" <philippe DOT torche AT jle DOT ch> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: Testers for new ssh-*-config scripts wanted! |
Date: | Mon, 3 Nov 2003 09:38:16 +0100 |
MIME-Version: | 1.0 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
In-Reply-To: | <20031031172415.GE1259@cygbert.vinschen.de> |
Message-ID: | <JLE1Bj45vYIbYi301gn00000005@jle1.jle.corp> |
X-OriginalArrivalTime: | 03 Nov 2003 08:38:10.0839 (UTC) FILETIME=[D0284A70:01C3A1E5] |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id hA38cpkw030626 |
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 AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] > De la part de Corinna Vinschen > Envoyé : vendredi, 31. octobre 2003 18:24 > À : cygwin AT cygwin DOT com > Objet : Re: Testers for new ssh-*-config scripts wanted! > > On Fri, Oct 31, 2003 at 05:07:18PM +0100, Philippe Torche wrote: > > Nope, > > > > read from bash don't reconize control caracters without -e > parameter: > > $ read _cygwin > > Ntser[Backspace]c > > $ echo $_cygwin | od -t x1 > > 0000000 6e 74 73 65 72 08 63 0a > > 0000010 > > > > BUT OK with "-e" > > > > $ read -e _cygwin > > Ntser[Backspace]c > > $ echo $_cygwin | od -t x1 > > 0000000 6e 74 73 65 63 0a > > 0000006 > > Erm... when I use bash, read always recognizes the backspace > correctly. > *dig dig dig* > Even better, when using /bin/sh (ash), I don't have your > above problem either. I can change the string and no control > code shows up in the variable's value. What's different on > your machine? Nothing ! > > Corinna > > -- > Corinna Vinschen Please, send mails > regarding Cygwin to > Cygwin Developer > mailto:cygwin AT cygwin DOT com > Red Hat, Inc. > > -- > 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/ > > -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |