Try a Ctrl-X
That worked for me with the exact same command line as yours. It exits nano. On Mon, Feb 15, 2016 at 11:24 AM, Nick Warne <n...@linicks.net> wrote: > Hi Everybody, > > 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. > > Regards, > > Nick > -- > Gosh that takes me back... or is it forward? That's the trouble with > time travel, you never can tell." > -- Doctor Who "Androids of Tara" > > -- The man has the intellect of a lobotomized turtle. Maranatha! <>< John McKown