delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/04/27/02:58:08

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: Control-C buggy when remotely logged in
27 Apr 1998 02:58:08 -0700 :
Message-ID: <01BD71E4.39237870.cygnus.cygwin32.developers@drs>
To: "cygwin32-developers AT cygnus DOT com" <cygwin32-developers AT cygnus DOT com>,
"'Geoffrey Noer'" <noer AT cygnus DOT com>

Geoffrey Noer wrote:
> Maybe login doesn't start the shell in the right way?  If I type bash
> -i then I get the normal session.

What is /etc/passwd entry for inetd account? But... The behavior looks like 
isatty(0) returns 0. Try to set CYGWIN32 to "tty" in 
CP/System/Environment/System Variables and reboot.

> Then I see two things that appear to be wrong:
>
> 1) My terminal window behaves oddly.  I set TERM to linux as usual
> but control-L doesn't work correctly (it half works).

What prints
1. set (or env).
2. cat /etc/termcap | grep linux

>
> 2) More seriously, a control-C will end the remote session.  Anyone
> know why this is the case?
>

trap "exit 1" SIGINT :-) BTW, what is /etc/passwd:inetd->shell?

--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019