Re: Strange-Dangerous behaviour in Cygwin [ATTN base-file maintainer]

2005-05-10 Thread Corinna Vinschen
On May 10 18:53, John Morrison wrote: > On Tue, May 10, 2005 6:25 pm, Corinna Vinschen said: > > Can we stop this discussion and just do it right in /etc/profile by > > just not setting it? > > Humm, sorry I've just started reading this thread, does the > /etc/skel/.inputrc have any (appologies fo

Re: Strange-Dangerous behaviour in Cygwin [ATTN base-file maintainer]

2005-05-10 Thread John Morrison
On Tue, May 10, 2005 6:25 pm, Corinna Vinschen said: > On May 10 11:18, Warren Young wrote: >> Corinna Vinschen wrote: >> >> >Can anybody tell me what the `stty erase' setting is good for in >> >/etc/profile? I'm using tcsh, so I'm not bothered by this stuff... >> >> This is fine as long are you'r

Re: Strange-Dangerous behaviour in Cygwin [ATTN base-file maintainer]

2005-05-10 Thread Corinna Vinschen
On May 10 11:18, Warren Young wrote: > Corinna Vinschen wrote: > > >Can anybody tell me what the `stty erase' setting is good for in > >/etc/profile? I'm using tcsh, so I'm not bothered by this stuff... > > This is fine as long are you're within your shell, or another program > that is tolerant

Re: Strange-Dangerous behaviour in Cygwin [ATTN base-file maintainer]

2005-05-10 Thread Warren Young
Corinna Vinschen wrote: Can anybody tell me what the `stty erase' setting is good for in /etc/profile? I'm using tcsh, so I'm not bothered by this stuff... This is fine as long are you're within your shell, or another program that is tolerant of the two different ways of saying 'backspace'. If y

Re: Strange-Dangerous behaviour in Cygwin [ATTN base-file maintainer]

2005-05-10 Thread Eric Blake
> I get ^H in a cmd window, an rxvt window, and an xterm window. > Hmm, it's been more than 1.5 years since I got cygwin working how I like it, so I don't remember exactly what I did, but these lines in /etc/profile are helpful: # Consistent BackSpace and Delete Configuration: # http://www.i

Re: Strange-Dangerous behaviour in Cygwin [ATTN base-file maintainer]

2005-05-10 Thread Christopher Faylor
[responding to no one in particular] On Cygwin when you hit Backspace you get a ^H. Cygwin has been doing this for many years and it is duly recorded in terminfo and termcap that way. Changing this would require updating terminfo and termcap not just on cygwin but on every system which has a cygw

Re: Strange-Dangerous behaviour in Cygwin [ATTN base-file maintainer]

2005-05-10 Thread Corinna Vinschen
On May 10 15:47, Eric Blake wrote: > /etc/profile (actually etc/defaults/etc/profile) needs to be updated like so, > to match the current default behavior of the cygwin terminal settings: > > --- /etc/defaults/etc/profile.orig 2005-03-25 08:50:00.003125000 -0700 > +++ /etc/defaults/etc/profi

Re: Strange-Dangerous behaviour in Cygwin [ATTN base-file maintainer]

2005-05-10 Thread David Rothenberger
On 5/10/2005 8:47 AM, Eric Blake wrote: I think I may have a culprit. When I run bash in a cmd window: $ [ctrl-v][backspace] ^H $ echo $TERM cygwin When I run it in an rxvt or xterm window: $ [ctrl-v][backspace] ^? $ echo $TERM xterm I get ^H in a cmd window, an rxvt window, and an xterm window. -

RE: Strange-Dangerous behaviour in Cygwin [ATTN base-file maintainer]

2005-05-10 Thread Eric Blake
> > Actually, it would be nicer if $TERM of cygwin could treat [backspace] as > > ^? [0x255] (ASCII delete) > > > ITYM 0x7f [/me blushes] yep - thanks for spotting my typo -- Eric Blake -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin

RE: Strange-Dangerous behaviour in Cygwin [ATTN base-file maintainer]

2005-05-10 Thread Dave Korn
Original Message >From: Eric Blake >Sent: 10 May 2005 16:47 > Actually, it would be nicer if $TERM of cygwin could treat [backspace] as > ^? [0x255] (ASCII delete) ITYM 0x7f cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygw

Re: Strange-Dangerous behaviour in Cygwin [ATTN base-file maintainer]

2005-05-10 Thread Eric Blake
> > 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,