Mail Archives: cygwin/2005/05/10/11:19:43
On May 10 06:56, Eric Blake wrote:
> According to Angelo Graziosi on 5/9/2005 1:50 PM:
> >
> > WHY an "xterm setup" if, as I wrote, the problems are present in standard
> > bash shell, i.e. that launched with cygwin.bat.
>
> Chris apologized for misreading your email and misleading this
> conversation: http://sources.redhat.com/ml/cygwin/2005-05/msg00393.html
>
> >
> > I have reinstalled Cygwin, installing only the BASE category: NO "xterm",
> > NO XORG, NO RXVT. ONLY BASE PACKAGES.
> >
> > The problems are PRESENT in any case!!!
>
> What are your stty settings? What gets sent to the terminal when you type
> backspace? I have the following:
>
> $ [ctrl-v][backspace]^H[ctrl-c]
> $ stty erase ^H
> $ stty
> speed 38400 baud; line = 0;
> erase = ^H;
> - -imaxbel
> - -echoe -echok -echoctl -echoke
>
> To test that setting your stty erase character to the same as the
> backspace character, try:
> $ stty erase ^H
> $ cat > foo # When all stty settings are correct,
> y[backspace]n
> [ctrl-d]
> $ cat -A foo # then backspace consumes y before output appears
> n$
> $ stty erase ^? # When the erase setting is wrong for the terminal,
> $ cat > foo
> y[backspace]n
> [ctrl-d]
> $ cat -A foo
> y^Hn$ # the backspace appears on the output
>
> Now my question - why can't cygwin have sane defaults for the tty, so that
> this question doesn't continue to pop up?
What's a sane setting? When I open a standard bash console window, this
simply doesn't happen. Is $TERM set to "cygwin"? That's the default
setting and, as noted, backspace works as expected here. I tried it with
`rm -i' but the file didn't get removed when entering "y\bn". So what?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader 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/
- Raw text -