[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] How to lock a terminal
From: |
Ángel González |
Subject: |
Re: [Nano-devel] How to lock a terminal |
Date: |
Tue, 16 Feb 2016 20:57:28 +0100 |
Benno Schulenberg wrote:
> On Tue, Feb 16, 2016, at 11:19, Bob Proulx wrote:
> > [...] this is the perfect case for job control. No need for a
> > second terminal. Here is an example. Use Control-Z to stop the
> > foreground job.
>
> For that to work, it requires having 'set suspend' in your
> nanorc. (Which I don't have, because it annoys me when nano
> drops into the background when I accidentally hit ^Z.)
>
> Luckily one can toggle suspendability on with M-Z, but...
> somehow that doesn't seem to work when nano is screenless.
>
> When I use nano with --ignorercfiles, M-Z does work.
> Maybe the colors do something strange with the pipe?
>
> And when I use LANGUAGE=en, it works too. Ha!
> Esperanto pisses off the pipe, too. :)
>
> Benno
M-Z Ctrl-Z works for me with that testcase. While Ctrl-Z is a generic
solution, I don't think it is reasonable an expectation of M-Z to
enable it, as it is really domain-specific.