Re: [code][textadept]Ctrl-Z in curses mode

From: Chris Emerson <c-ta.att.mail.nosreme.org>
Date: Tue, 6 Feb 2018 11:11:26 +0000

Hi,

I'm the guy who likes ^Z suspending TextAdept. :-)

On Tue, Feb 06, 2018 at 11:52:39AM +0100, Keresztes Barna wrote:
> > If your terminal lets you disable this behaviour you could get your
> > desired behaviour, otherwise I guess nothing can be done, because
> > Textadept doesn't get to see the Ctrl-Z.
>
> Thanks, this explains a lot. It depends indeed of the terminal, not
> Textadept.

It's a standard terminal setting which can be configured using 'stty'.

To disable the ^Z = suspend, change the "suspend" key to undefined:

    stty susp ''

You can put it back with:

    stty susp '^Z'

Regards,

Chris

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Tue 06 Feb 2018 - 06:11:26 EST

This archive was generated by hypermail 2.2.0 : Tue 06 Feb 2018 - 06:54:59 EST