about summary refs log tree commit diff
path: root/Src/Modules/zpty.c
Commit message (Collapse)AuthorAgeFilesLines
* 42708: fix for process substitution.Peter Stephenson2018-04-241-1/+1
| | | | | | | | | Don't close associated file descriptors in the closem() tidy up function as they should remain visible to external processes. Override if about to exit. Unit test for the failing case: note this relies on the existence of /proc/self/fd or equivalent.
* 41666: zpty compatibility for OpenBSDThierry Ghelew2017-09-111-1/+6
|
* 40483 (cf. Eric Freese: 40482): Remove zpty exit hook from forked processesBarton E. Schaefer2017-02-011-0/+2
|
* 40453: signal handler safety for callers of patcompile(PAT_STATIC), which is ↵Barton E. Schaefer2017-01-291-4/+10
| | | | not re-entrant.
* 37838: use UNUSED() consistentlyJun-ichi Takimoto2016-01-301-1/+1
|
* 37378: New bindkey tests.Peter Stephenson2015-12-101-6/+18
| | | | Also fix Meta bug on pattern match in zpty -r.
* unposted: fix init_io() calls in previous changePeter Stephenson2015-12-041-1/+1
|
* 37014: Improved internal parameter setting.Peter Stephenson2015-10-291-1/+1
| | | | | | | | Enhance WARNCREATEGLOBAL to work in many more cases. Don't create REPLY as an integer if it didn't previously exist as one, even if the value to be set is integral, as this is likely to mess up later uses of REPLY.
* users/20455: do not use posix_openpt() on OpenBSDJun-ichi Takimoto2015-08-231-1/+2
|
* 36092: return the zpty master file descriptor in $REPLY for use with "zle ↵Barton E. Schaefer2015-08-111-0/+2
| | | | -F" etc.
* 35360 (replacing 35357): fix for configuring zpty on FreeBSD withoutOliver Kiddle2015-06-031-1/+1
| | | | pty.ko loaded
* 35357: FreeBSD needs HAVE_POSIX_OPENPT for zptyBaptiste Daroussin2015-06-021-1/+1
|
* 33876: etc.: Separate errors and keyboards interruptsPeter Stephenson2014-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 33743: use posix_openpt in zpty if it is availableOliver Kiddle2014-11-241-0/+4
|
* 32131: avoid infinite loop reading pty on platforms that do not buffer ↵Jun T2013-12-161-2/+2
| | | | output after child exit
* 31672: Add test that was failing and fix zpty set-up racePeter Stephenson2013-08-261-2/+28
|
* 31665: zpty should attach terminal on slave.Peter Stephenson2013-08-251-0/+3
| | | | Also add test.
* 29165: use term.h globally if needed at all.Peter Stephenson2011-05-091-2/+2
|
* 27951: Add $ZSH_EVAL_CONTEXT and $zsh_eval_contxtPeter Stephenson2010-05-121-1/+1
|
* Check the return value of all pipe(), read(), and write() calls.Wayne Davison2009-12-161-2/+2
| | | | | | Gets rid of all the remaining "ignoring return value" compiler warnings, and makes some read/write operations safer by ensuring that an EINTR is handled.
* 27284: better use of movefd()Peter Stephenson2009-09-221-0/+7
|
* 26301: make zpty -r exit more cleanly on bad readsPeter Stephenson2009-01-131-13/+33
| | | | | add option -m to make zpty -r return status 1 if pattern failed to match use this option in comptest
* François Revol: some BeOS fixesPeter Stephenson2008-11-181-0/+3
|
* users/13295, tweaked: dont reset line numbers when parsing strings, sometimesPeter Stephenson2008-09-291-1/+1
|
* 25040: zpty should display context information more like evalPeter Stephenson2008-05-151-1/+15
|
* 24460: make zpty -rt more consistent by polling before every bytePeter Stephenson2008-01-251-5/+41
|
* 23665: autoloading of module features and related tweaksPeter Stephenson2007-07-061-3/+3
|
* see 23479: add initial features support for modulesPeter Stephenson2007-05-281-3/+27
|
* 22474: use variable argument lists to improve error message handlingPeter Stephenson2006-05-301-14/+14
|
* Joerg Sonnenberger: 21252: Dragonfly BSD supportOliver Kiddle2005-05-111-5/+3
|
* Marked unused parameters with the new UNUSED() macro.Wayne Davison2004-06-021-4/+4
|
* 19629: fix zpty on HP-UXPeter Stephenson2004-03-161-6/+23
|
* Got rid of an unused-variable compiler-warning.Wayne Davison2004-02-261-1/+2
|
* 19456: Fix ptmx tests, again.Peter Stephenson2004-02-201-3/+2
|
* 19429: configure test for ptmxPeter Stephenson2004-02-171-9/+11
|
* 18195: Timeouts for read builtin.Peter Stephenson2003-02-051-1/+1
|
* 17582: Improved option argument handling.Peter Stephenson2002-08-271-17/+22
| | | | unposted: Updated version to 4.1.0-dev-6 because of interface change.
* 17297: 17265 continued.Clint Adams2002-06-061-1/+1
|
* 15327: always use local LINENOs in parse_string().Peter Stephenson2001-07-091-1/+1
|
* Fixes from Andrej for zpty on cygwinPeter Stephenson2001-05-081-1/+6
|
* try to make the -t option of zpty smarter (13462)Sven Wischnowsky2001-02-131-5/+11
|
* remove 13108 (trap queues); replace with signal queueing to ensure that user ↵Sven Wischnowsky2001-01-161-2/+2
| | | | signal handlers are only executed when it is safe to run them (13365)
* don't be sure that read-ahead doesn't contains nuls (13163)Sven Wischnowsky2000-11-141-5/+8
|
* use unmetafy() to allow writing special characters into a pty (13156)Sven Wischnowsky2000-11-131-4/+6
|
* Sven: 13108: Handle traps synchronouslyPeter Stephenson2000-11-111-2/+2
| | | | pws: 13109, 13111: clear up zle display when output produced in trap.
* *** empty log message ***Sven Wischnowsky2000-11-081-1/+6
|
* Tweak interactiveness of cloned shell.Bart Schaefer2000-11-061-1/+1
|
* Make zpty more like eval.Bart Schaefer2000-11-061-56/+47
|
* Assorted read_poll() and zpty cleanup.Bart Schaefer2000-11-051-26/+65
|
* Better streaming behavior from `zpty -r', plus other cleanup.Bart Schaefer2000-11-051-43/+20
|