On Mon, 12 Jan 2015, Ryan Pusztai wrote:
> On Jan 12, 2015 9:25 PM, "Parke" <parke.nexus.att.gmail.com> wrote:
>> On Mon, Jan 12, 2015 at 11:17 AM, Mitchell <m.att.foicica.com> wrote:
>>> As far as I know, the terminal itself handles ^Z. I'm not sure it can be
>> By default, ^Z is handled by the terminal. It can be changed.
>> Via the command line, it can be changed via the "stty" command.
>> Probably "stty susp ^-". "stty -a" will show you the terminal's
>> current special character settings.
>> I think it can also be done via C, but I do not know exactly how.
>> Maybe these would help:
>> If Textadept does change the terminal's special characters so as to
>> allow ^Z to pass through to Textadept while Textadept is running, then
>> Textadept should probably restore the previous terminal special
>> character settings when Textadept exits. And probably also when
>> Textadept suspends.
>> I have ^Z bound to undo in Emacs and Jed. Both Emacs and Jed detect
>> the current terminal settings, and change those settings, so that they
>> can receive ^Z (and any other special characters they want)
> So in previous releases the ^Z key has not been mapped to undo? If not I
> clearly didn't need it to be and I would stick with the terminal default. I
> agreed because I thought it you just changed it.
^Z was mapped to undo in the terminal version and it had to be changed
since ^Z (by terminal default) suspend the running application.
I will look into having Textadept allow a configurable suspend key, but if
it doesn't work out, I'll add an FAQ entry for changing the terminal
default to something else as Parke noted.
-- 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 Thu 15 Jan 2015 - 09:24:09 EST
This archive was generated by hypermail 2.2.0 : Fri 16 Jan 2015 - 06:28:52 EST