about summary refs log tree commit diff
path: root/Src/Modules/zpty.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* make non-blocking IO on ptys work again; add -t option to test if command is ↵Sven Wischnowsky2000-10-191-14/+41
| | | | still alive (13035)
* Andrej: don't close slave if not yet open (12084)Sven Wischnowsky2000-06-271-1/+0
|
* Andrej: 12081: zpty under cygwinPeter Stephenson2000-06-271-2/+6
|
* 11426: Src/Modules/zpty.c: don't use #elif.Tanaka Akira2000-05-171-4/+6
|
* 11420: Src/Modules/zpty.c: try more pty device files.Tanaka Akira2000-05-161-4/+7
|
* close fd for pty-master in sub-shellSven Wischnowsky2000-05-081-0/+1
|
* make zpty -r stoppable even when SIGINT is caught (and the handler calls ↵Sven Wischnowsky2000-05-051-1/+1
| | | | return or some such) (11181)