summaryrefslogtreecommitdiff
path: root/Src/Modules/zpty.c
AgeCommit message (Collapse)AuthorFilesLines
2022-12-1651212: remove STOUC() macroOliver Kiddle1-1/+1
This served as a workaround for ancient compilers where casts to unsigned char were broken.
2021-01-2047840: make zpty module work on CygwinPeiyuan Song1-0/+11
2019-12-1745058: internal: Add symbolic names to possible values of zexit()'s ↵Daniel Shahaf1-1/+1
"from_where" parameter. No functional change.
2018-04-2442708: fix for process substitution.Peter Stephenson1-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.
2017-09-1141666: zpty compatibility for OpenBSDThierry Ghelew1-1/+6
2017-02-0140483 (cf. Eric Freese: 40482): Remove zpty exit hook from forked processesBarton E. Schaefer1-0/+2
2017-01-2940453: signal handler safety for callers of patcompile(PAT_STATIC), which is ↵Barton E. Schaefer1-4/+10
not re-entrant.
2016-01-3037838: use UNUSED() consistentlyJun-ichi Takimoto1-1/+1
2015-12-1037378: New bindkey tests.Peter Stephenson1-6/+18
Also fix Meta bug on pattern match in zpty -r.
2015-12-04unposted: fix init_io() calls in previous changePeter Stephenson1-1/+1
2015-10-2937014: Improved internal parameter setting.Peter Stephenson1-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.
2015-08-23users/20455: do not use posix_openpt() on OpenBSDJun-ichi Takimoto1-1/+2
2015-08-1136092: return the zpty master file descriptor in $REPLY for use with "zle ↵Barton E. Schaefer1-0/+2
-F" etc.
2015-06-0335360 (replacing 35357): fix for configuring zpty on FreeBSD withoutOliver Kiddle1-1/+1
pty.ko loaded
2015-06-0235357: FreeBSD needs HAVE_POSIX_OPENPT for zptyBaptiste Daroussin1-1/+1
2014-12-1133876: etc.: Separate errors and keyboards interruptsPeter Stephenson1-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.
2014-11-2433743: use posix_openpt in zpty if it is availableOliver Kiddle1-0/+4
2013-12-1632131: avoid infinite loop reading pty on platforms that do not buffer ↵Jun T1-2/+2
output after child exit
2013-08-2631672: Add test that was failing and fix zpty set-up racePeter Stephenson1-2/+28
2013-08-2531665: zpty should attach terminal on slave.Peter Stephenson1-0/+3
Also add test.
2011-05-0929165: use term.h globally if needed at all.Peter Stephenson1-2/+2
2010-05-1227951: Add $ZSH_EVAL_CONTEXT and $zsh_eval_contxtPeter Stephenson1-1/+1
2009-12-16Check the return value of all pipe(), read(), and write() calls.Wayne Davison1-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.
2009-09-2227284: better use of movefd()Peter Stephenson1-0/+7
2009-01-1326301: make zpty -r exit more cleanly on bad readsPeter Stephenson1-13/+33
add option -m to make zpty -r return status 1 if pattern failed to match use this option in comptest
2008-11-18François Revol: some BeOS fixesPeter Stephenson1-0/+3
2008-09-29users/13295, tweaked: dont reset line numbers when parsing strings, sometimesPeter Stephenson1-1/+1
2008-05-1525040: zpty should display context information more like evalPeter Stephenson1-1/+15
2008-01-2524460: make zpty -rt more consistent by polling before every bytePeter Stephenson1-5/+41
2007-07-0623665: autoloading of module features and related tweaksPeter Stephenson1-3/+3
2007-05-28see 23479: add initial features support for modulesPeter Stephenson1-3/+27
2006-05-3022474: use variable argument lists to improve error message handlingPeter Stephenson1-14/+14
2005-05-11Joerg Sonnenberger: 21252: Dragonfly BSD supportOliver Kiddle1-5/+3
2004-06-02Marked unused parameters with the new UNUSED() macro.Wayne Davison1-4/+4
2004-03-1619629: fix zpty on HP-UXPeter Stephenson1-6/+23
2004-02-26Got rid of an unused-variable compiler-warning.Wayne Davison1-1/+2
2004-02-2019456: Fix ptmx tests, again.Peter Stephenson1-3/+2
2004-02-1719429: configure test for ptmxPeter Stephenson1-9/+11
2003-02-0518195: Timeouts for read builtin.Peter Stephenson1-1/+1
2002-08-2717582: Improved option argument handling.Peter Stephenson1-17/+22
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-06-0617297: 17265 continued.Clint Adams1-1/+1
2001-07-0915327: always use local LINENOs in parse_string().Peter Stephenson1-1/+1
2001-05-08Fixes from Andrej for zpty on cygwinPeter Stephenson1-1/+6
2001-02-13try to make the -t option of zpty smarter (13462)Sven Wischnowsky1-5/+11
2001-01-16remove 13108 (trap queues); replace with signal queueing to ensure that user ↵Sven Wischnowsky1-2/+2
signal handlers are only executed when it is safe to run them (13365)
2000-11-14don't be sure that read-ahead doesn't contains nuls (13163)Sven Wischnowsky1-5/+8
2000-11-13use unmetafy() to allow writing special characters into a pty (13156)Sven Wischnowsky1-4/+6
2000-11-11Sven: 13108: Handle traps synchronouslyPeter Stephenson1-2/+2
pws: 13109, 13111: clear up zle display when output produced in trap.
2000-11-08*** empty log message ***Sven Wischnowsky1-1/+6
2000-11-06Tweak interactiveness of cloned shell.Bart Schaefer1-1/+1