[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] How to lock a terminal

From: alpha
Subject: Re: [Nano-devel] How to lock a terminal
Date: Mon, 15 Feb 2016 16:50:05 -0700

On Mon, 15 Feb 2016 17:24:06 +0000
Nick Warne <address@hidden> wrote:

> I ma not sure if this is a bug, or if it is what causes it - if it 
> isn't, then it is me being stupid.
> I was in a SSH session, and checking something inadvertently issued:
>  > nano /var/log/messages | grep a
> (I was searching for something else than an 'a', but the above
> example shows the issue - about to use 'nano', but then forgot to
> change it to 'cat').
> The terminal just sits there doing nothing - CTRL+C doesn't do
> anything; in a SSH session, the only option is to kill the terminal.
> On a local machine, you can use kill -9 from another terminal to get
> out of it.
> I don't know if this behaviour is expected or me being stupid, or 
> something else going on.

I did the same thing about a week ago. You can press CTRL+X to close nano and 
get back to the shell.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]