Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 07:25:46 -0800 (PST)
From:      David Raistrick <drais@wow.atlasta.net>
To:        Ilya Martynov <m_ilya@agava.com>
Cc:        freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG
Subject:   Re: Control-C doesn't work with ssh
Message-ID:  <Pine.BSF.4.21.0112120723500.65972-100000@wow.atlasta.net>
In-Reply-To: <87itbctqv7.fsf@juil.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12 Dec 2001, Ilya Martynov wrote:

> 
> Hi,
> 
> 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'.

try setting

stty intr '^C'

and see if it will then accept the break. 

I keep one of these in my .login at all times (but then, i'm a tcsh user)

stty crt -tostop erase '^H' kill '^U' intr '^C' status '^T'


....david

---
david raistrick (no longer deep in the south georgia woods)
drais@atlasta.net		http://www.expita.com/nomime.html



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0112120723500.65972-100000>