From owner-freebsd-questions Wed Dec 12 7:43:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay2.agava.net.ru (ofc.agava.net [213.59.3.194]) by hub.freebsd.org (Postfix) with ESMTP id 83B3837B405; Wed, 12 Dec 2001 07:43:30 -0800 (PST) Received: from juil.domain (juil.domain [192.168.1.50]) by relay2.agava.net.ru (Postfix) with ESMTP id 142E266AD2; Wed, 12 Dec 2001 18:43:28 +0300 (MSK) Received: by juil.domain (Postfix, from userid 1000) id D409115C5; Wed, 12 Dec 2001 18:36:32 +0300 (MSK) To: David Raistrick Cc: freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: Control-C doesn't work with ssh References: From: Ilya Martynov Date: 12 Dec 2001 18:36:32 +0300 In-Reply-To: Message-ID: <87elm0tpq7.fsf@juil.domain> Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >> Have anybody know what can cause for not working Control-C in ssh? >> >> It doesn't work anymore on my FreeBSD server if I login on it with >> ssh. For example I can't break 'tail -f /some/file' with Control-C. It >> just prints "^C" but doesn't kill the process. I have to suspend it >> with Control-Z and manually kill with 'kill %1'. DR> try setting DR> stty intr '^C' DR> and see if it will then accept the break. DR> I keep one of these in my .login at all times (but then, i'm a tcsh user) DR> stty crt -tostop erase '^H' kill '^U' intr '^C' status '^T' It doesn't seem to help :( BTW I've just found that actually ^C does work in 'tcsh' and 'csh' but doesn't work with 'bash' and 'sh'. It is very wierd. I've checked all files 'bash' or 'sh' can use (/etc/profile, $HOME/.profile, etc) but I've not found anything suspicious. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | Ilya Martynov (http://martynov.org/) | | GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80 E4AE BE1A 53EB 323B DEE6 | | AGAVA Software Company (http://www.agava.com/) | -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message