Mail Archives: cygwin/2005/05/10/21:54:15
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/profile1 2005-05-10 09:40:05.474375000 -0600
> @@ -1,4 +1,4 @@
> -# base-files version 3.2-1
> +# base-files version 3.2-1 -*- sh -*-
>
> # WARNING
> #
> @@ -101,7 +101,12 @@
> $ '
>
> if tty --quiet ; then
> - stty erase '^?'
> + case "$TERM" in
> + cygwin ) stty erase ^H ;;
> + xterm* | rxvt* ) stty erase '^?' ;;
> + * ) # unknown terminal type, don't set erase
> + ;;
> + esac
> fi
> ;;
> ksh* | -ksh* | */ksh* | \
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, but
setting it looks entirely unnecessary. The stty settings are fine
automatically if you don't set them, in the Cygwin console as well as
in rxvt.
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 -