From: "Philippe Torche" <philippe.torche@jle.ch>
To: <cygwin@cygwin.com>
Subject: RE: Testers for new ssh-*-config scripts wanted!
Date: Fri, 31 Oct 2003 16:19:00 -0000 [thread overview]
Message-ID: <JLE1MDASSjKtcZ0uOau00000003@jle1.jle.corp> (raw)
In-Reply-To: <20031031110737.GC3531@cygbert.vinschen.de>
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
Thanks, Philippe.
> -----Message d'origine-----
> De : cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]
> De la part de Corinna Vinschen
> Envoyé : vendredi, 31. octobre 2003 12:08
> À : cygwin@cygwin.com
> Objet : RE: Testers for new ssh-*-config scripts wanted!
>
> On Fri, Oct 31, 2003 at 09:55:04AM +0100, Philippe Torche wrote:
> > Script ssh-host-config works for me, but when I've entered
> the CYGWIN
> > env var, I've do a error and type "ntser", then backspace
> and then the
> > correct "c" caracters.
> > Thus CYGWIN key in the registry has now "ntser\x08c"
> instead of "ntsec"!
> > This is caused by the read command!
>
> Yeah, but that's not a fault of the script but of the shell.
> Nothing I can do about in the script. Except if I require
> the script to run under bash instead of sh, to allow readline support.
>
> Would that be acceptable? I have attached a new version of
> ssh-host-config to this mail, which requires bash now. If
> that's not ok, it's easy to revert again.
>
> I've also attached the two vanilla files ssh_config and
> sshd_config to put into /etc/defaults/etc. This should
> simplify testing.
>
> Changed in this version of ssh-host-config:
>
> - Require bash.
> - Remove annoying backslashes when echoing a bang (!).
> - Allow /var/log/lastlog to be a directory (But that can again create
> problems with permissions, Pierre!)
>
> Please don't forget to test ssh-user-config, too. Thanks.
>
> > PS Wait for a "Windows 2003 Server" version
>
> You know, PGA and PTC. See wtf ;-)
>
> Thanks to all testers,
> Corinna
>
> --
> Corinna Vinschen Please, send mails
> regarding Cygwin to
> Cygwin Developer
> mailto:cygwin@cygwin.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/
next prev parent reply other threads:[~2003-10-31 16:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-30 18:07 Corinna Vinschen
2003-10-31 9:31 ` Philippe Torche
2003-10-31 11:20 ` Corinna Vinschen
2003-10-31 16:19 ` Philippe Torche [this message]
2003-10-31 18:09 ` Corinna Vinschen
2003-11-03 8:38 ` Philippe Torche
2003-11-03 8:51 ` Corinna Vinschen
2003-10-30 18:47 Harig, Mark
2003-10-30 22:58 Harig, Mark
2003-10-31 1:34 ` Brian Ford
2003-10-31 1:50 Harig, Mark
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=JLE1MDASSjKtcZ0uOau00000003@jle1.jle.corp \
--to=philippe.torche@jle.ch \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).