1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-05 20:51:12 +02:00
zsh/Doc
Peter Stephenson d067ebcacd 33876: etc.: Separate errors and keyboards interrupts
Combination of 12 commits from interrupt_abort branch.

Basic strategy is to introduce bits to errflag and to set and
reset them separately.

Remove interrupt status on return to main keymap.

Turn off ERRFLAG_INT for always block.

Restore bit thereafter: we probably need a new variable in order
to allow user interrupts to be reset in the always block.

Add TRY_BLOCK_INTERRUPT

This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too.

Ensure propagation of SIGINT from exited job.

If received by foreground job, shell uses ERRFLAG_INT, not
ERRFLAG_ERROR, to set the new state.

Reset errflag before precmd()

Add always block in _main_completion to fix ZLS_COLORS

Ensures we get the right state of $ZLS_COLORS at the end of _main_complete
even if there's an interrupt.  However, the "right state" is a bit messy
as it depends on styles.
2014-12-11 09:41:17 +00:00
..
help 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
Zsh 33876: etc.: Separate errors and keyboards interrupts 2014-12-11 09:41:17 +00:00
.cvsignore 31959 (plus tweak to .gitignore): make help files during installation 2013-11-12 21:06:46 +00:00
.distfiles 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
intro.ms 30430: fix some errors and outdatedness in intro.ms 2012-04-25 09:15:09 +00:00
Makefile.in 33209: allow dummy zsh.texi if yodl not available. 2014-09-20 19:24:47 +01:00
META-FAQ.yo Didn't mean to check this in 2012-09-08 19:21:16 +00:00
zmacros.yo 31444: Basic code for enable/disable -p 2013-06-13 18:38:33 +01:00
zman.yo 32494: Yodl hack to fix indents in manual page output 2014-03-17 16:17:20 +00:00
zsh.yo 32812: put contents at start of manual 2014-06-26 21:33:45 +01:00
zshbuiltins.yo Initial revision 1999-04-15 18:05:35 +00:00
zshcalsys.yo c.f. 23023: new calendar function system. 2006-12-01 10:23:06 +00:00
zshcompctl.yo Initial revision 1999-04-15 18:05:35 +00:00
zshcompsys.yo Initial revision 1999-04-15 18:05:38 +00:00
zshcompwid.yo Initial revision 1999-04-15 18:05:38 +00:00
zshcontrib.yo Create "User Contributions" doc and make some assoctiated changes. 2000-09-04 21:10:29 +00:00
zshexpn.yo Initial revision 1999-04-15 18:05:35 +00:00
zshmisc.yo 11485, 11488: Relocate "Compatibility" and "Restricted Shell" docs. 2000-05-22 15:00:52 +00:00
zshmodules.yo Initial revision 1999-04-15 18:05:35 +00:00
zshoptions.yo Initial revision 1999-04-15 18:05:35 +00:00
zshparam.yo Initial revision 1999-04-15 18:05:35 +00:00
zshroadmap.yo 21898: insert-composed-char can take command line argument 2005-10-21 09:51:54 +00:00
zshtcpsys.yo 18472: spelling corrections 2003-04-25 11:18:50 +00:00
zshzftpsys.yo unposted: force latest version of files from vendor to main branch 2007-07-03 17:06:04 +00:00
zshzle.yo Initial revision 1999-04-15 18:05:35 +00:00
ztexi.yo 32812: put contents at start of manual 2014-06-26 21:33:45 +01:00