1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-07-14 17:51:28 +02:00
Commit graph

181 commits

Author SHA1 Message Date
Peter Stephenson
bc32da6a67 24786: handle read -t properly in zle via getbyte() 2008-04-03 15:20:18 +00:00
Peter Stephenson
765f73823e users/12305: option output not well documented
-c and SHIN_STDIN inconsistent with manual
2007-12-12 13:46:35 +00:00
Peter Stephenson
0d04d4c312 24120: termcap string memory allocation was screwy 2007-11-26 10:27:59 +00:00
Peter Stephenson
af359d24a4 users/11883: return at top level caused following precommand functions
to return immediately
2007-09-26 10:28:34 +00:00
Peter Stephenson
ab3c63ff9b 23702: fix installing executable scripts
23703: getenv() should be zgetenv()
2007-07-26 08:58:08 +00:00
Peter Stephenson
1b52f47cf2 23665: autoloading of module features and related tweaks 2007-07-06 21:52:38 +00:00
Peter Stephenson
6ab77f00ff 23488: tidy up module interface and documentation 2007-05-29 17:01:07 +00:00
Peter Stephenson
b0c5f09169 see 23479: add initial features support for modules 2007-05-28 22:57:39 +00:00
Andrey Borzenkov
ac1c483496 23409: disable prompt_sp output after ^D was seen and message printed 2007-05-10 11:36:22 +00:00
Peter Stephenson
aa2ae64dff 22983: exit could loop for ever 2006-11-08 17:43:31 +00:00
Peter Stephenson
aba936b17c 22981: Zvi Har'el: bad call from 22952
22980: add hook array for special functions
2006-11-08 10:38:05 +00:00
Peter Stephenson
85fd642711 Vin Shelton: 22789: 22783 broke .zshenv 2006-09-29 20:43:33 +00:00
Peter Stephenson
d061785438 22783: Frank Terbeck: don't load zsh/newuser unless interactive 2006-09-28 09:47:13 +00:00
Peter Stephenson
b477e24aa2 22727: "use 'exit' to exit" was suboptimal 2006-09-17 17:42:56 +00:00
Peter Stephenson
b726ead94e 22676, 22678: extend sched and make it able to run events when waiting for
input
2006-09-10 15:24:26 +00:00
Peter Stephenson
dd5602f59b 22474: use variable argument lists to improve error message handling 2006-05-30 22:35:03 +00:00
Wayne Davison
4cb83571c4 Changed some structures to avoid gcc's type-punned warnings. 2006-03-07 21:30:36 +00:00
Clint Adams
a915138852 22284: add --disable-dynamic-nss configure switch to disable use of getpw*(), getgr*(), initgroups() functions. 2006-02-19 19:36:31 +00:00
Peter Stephenson
30176eaf63 22198: do always set HOME in native emulation 2006-02-07 11:29:30 +00:00
Peter Stephenson
8b0cc87817 22195: don't set HOME in the shell 2006-02-06 11:57:03 +00:00
Peter Stephenson
bf3ee0f725 22049: bug exiting from sourced file within function 2005-12-03 00:14:05 +00:00
Wayne Davison
d8838293f5 Changed two zle functions to each return a char pointer, not an
unsigned char pointer.
2005-11-15 08:44:21 +00:00
Peter Stephenson
409296e22f 21736: improve tests for word and identifier characters with multibyte input 2005-09-20 15:10:26 +00:00
Peter Stephenson
7746eea52b adapted from 21719: add some mod_exports 2005-09-09 16:06:47 +00:00
Peter Stephenson
d39b9fabdb 21709 plus tweaks: use $KEYTIMEOUT for multibyte chars.Reset input state on invalid characters or EOF 2005-09-09 11:48:27 +00:00
Peter Stephenson
aa638fec26 21577 (adapted): Dan Bullok: improved window resize handling, again 2005-08-09 09:33:37 +00:00
Peter Stephenson
e3c5dd2dd9 21498: Add zsh/newuser module 2005-07-20 16:08:12 +00:00
Wayne Davison
b1e0d218c5 Reference 4 extra termcap items: save-cursor, restore-cursor, the
backspace character, and the ignore-newline-after-wrap flag.
2005-07-15 17:41:53 +00:00
Bart Schaefer
92d5a511be Prevent double precmd during "fc -e -" 2005-06-13 14:59:33 +00:00
Peter Stephenson
7b9cff2754 21131: exit with status 127 when script not found 2005-04-11 10:23:55 +00:00
Clint Adams
5571605340 * 21124: Src/Zle/zle_main.c, Src/init.c, Src/params.c: have zle cache a
wide-char version of WORDCHARS each time it's changed (when ZLE_UNICODE_SUPPORT
 is defined).
2005-04-08 16:42:55 +00:00
Peter Stephenson
b51472dd5f 21078: parse errors didn't cause non-zero exit status 2005-04-01 10:16:59 +00:00
Peter Stephenson
38eb8ac293 21049: Don't close process substitution file descriptors for external programmes 2005-03-31 09:54:54 +00:00
Peter Stephenson
aaec0ef0ad 20798: propagate an #ifdef to prototypes 2005-02-07 15:53:13 +00:00
Peter Stephenson
6ab69b60c9 20794: Change version to 4.3.0-dev-1
Don't compile in a static in init.c unless needed.
2005-02-07 12:33:48 +00:00
Peter Stephenson
88a37cc187 c.f. 20675: improve zle as a basis for Unicode.
unposted: update version to 4.2.3-dev-1
2005-01-14 13:04:47 +00:00
Peter Stephenson
cc72740775 20462: Use getrusage for timing again.
Time processes from before rather than after fork.
2004-10-07 09:45:43 +00:00
Bart Schaefer
2e9bbdc833 20387: revised algorithm for the fix in 20363. 2004-09-20 13:37:41 +00:00
Peter Stephenson
1268f477b0 20363: Src/init.c, Src/Zle/zle_main.c 2004-09-13 13:04:39 +00:00
Peter Stephenson
86ae90bc1c 20149: improve prompt-reset code
20150: commit ancient memory leak fix(?) in completion
2004-07-11 22:53:01 +00:00
Wayne Davison
fb0937a69e Marked unused parameters with the new UNUSED() macro. 2004-06-02 22:14:25 +00:00
Peter Stephenson
b8859fefcc 19505: compilation with NTTYDISC defined was broken. 2004-03-01 11:50:50 +00:00
Peter Stephenson
6eb5f99f1e 19295: $CONTEXT zle parameter 2003-12-15 22:45:27 +00:00
Peter Stephenson
a6a63a147e 19242: Make job table dynamically reallocatable. 2003-11-13 14:34:33 +00:00
Peter Stephenson
815bc92148 a la 19209: zcalloc -> zshcalloc 2003-10-29 19:17:30 +00:00
Peter Stephenson
58bad19411 19105: Set shout to stderr if interative with no tty 2003-09-22 13:46:03 +00:00
Peter Stephenson
3ffb3ad2f2 19014: add alias -s suf=handler 2003-09-03 10:15:32 +00:00
Peter Stephenson
4e309d2cdd 18539 and remaining bits of 18536???: vi and emacs options, autoload zle 2003-05-15 09:23:08 +00:00
Peter Stephenson
62719196b2 18536: EMACS and VI compatibility options 2003-05-14 15:09:14 +00:00
Peter Stephenson
5b5c0175d5 IKEGAMI Tsutomu: sf bug 722366: metafy pwd when read from $PWD 2003-04-23 18:04:05 +00:00
Peter Stephenson
a7dc5d386c 18319: Philippe Troin: fix use of process groups with su and suspend 2003-03-07 12:17:49 +00:00
Bart Schaefer
8f67d52d72 18144: no SIGHUP handler if parent was ignoring. 2003-01-27 16:38:09 +00:00
Peter Stephenson
054038d8dd 17931: Philippe: restore blocking of SIGTERM in interactive shell 2002-11-13 10:24:22 +00:00
Peter Stephenson
2c75ac82e9 17861 from Philippe Troin: make signal initialisation more consistent 2002-11-08 10:43:48 +00:00
Peter Stephenson
14f39707cb 17859: Philippe Troin: better handling of process groups interactively. 2002-11-04 13:56:50 +00:00
Peter Stephenson
9634760d5e 17582: Improved option argument handling.
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-08-27 21:10:30 +00:00
Oliver Kiddle
af0697b705 17503: fix various typos and spelling mistakes in source code comments 2002-08-05 12:35:59 +00:00
Peter Stephenson
0e08b8c2e4 17299: Use reference counts in Eprogs so as to be able to free them as soon
as finished with.
2002-06-07 14:44:21 +00:00
Peter Stephenson
139b6d4841 17120, 17121: Src/init.c: work around problem with NIS tying up file
descriptors.
2002-05-13 09:36:53 +00:00
Bart Schaefer
d3454531d4 Detect variant tgetent() return value and test for it correctly. 2002-05-06 14:50:10 +00:00
Bart Schaefer
b27659c6b3 Fix misleading error message. 2001-09-20 14:45:07 +00:00
Bart Schaefer
135eebde60 Fix crash on re-entry to loop() from preprompt(). 2001-08-25 16:44:15 +00:00
Bart Schaefer
70c4e162c6 Reset errflag after executing precmd. 2001-06-30 18:30:54 +00:00
Wayne Davison
e3e22f715c Fixed a bug where the call to function "preexec" might pass the wrong
history line.  Added two extra args to preexec to give the user more
info on the command that is about to be executed.
2001-04-11 05:26:26 +00:00
Peter Stephenson
c925a15aa7 13611, 13615: Bind cursor keys using termcap, including in viins. 2001-03-13 15:32:41 +00:00
Sven Wischnowsky
757168e2c8 remove 13108 (trap queues); replace with signal queueing to ensure that user signal handlers are only executed when it is safe to run them (13365) 2001-01-16 13:44:18 +00:00
Peter Stephenson
c292a3ae50 Sven: 13108: Handle traps synchronously
pws: 13109, 13111: clear up zle display when output produced in trap.
2000-11-11 19:50:27 +00:00
Bart Schaefer
fcaa17f396 Improve upon some of the PATH_MAX changes. 2000-09-18 06:50:54 +00:00
Clint Adams
abd9b6d820 12818: use tricat() in lieu of zasprintf 2000-09-17 04:28:50 +00:00
Clint Adams
2742cb14ce 12814: zasprintf 2000-09-16 18:57:45 +00:00
Clint Adams
cb89544d32 12568: check sysconf(_SC_OPEN_MAX) if available instead of OPEN_MAX/NOFILES. 2000-08-08 14:57:02 +00:00
Peter Stephenson
4f1aa826f5 Andrej: Dynamic loading on cygwin 2000-08-02 18:01:51 +00:00
Andrew Main
84b04a8728 12436: Doc/Zsh/invoke.yo, Src/init.c: Make -b behave like
the csh -b, permitting more options to be stacked after it and
take effect.  Make -b take effect depending on SH_OPTION_LETTERS,
consistent with all the other single-letter options, rather than
having a clashing check of emulation type.
2000-07-30 19:18:13 +00:00
Andrew Main
9743c19d61 12434: Doc/Zsh/invoke.yo, Src/init.c, Src/options.c, Src/zsh.h,
Src/zsh.mdd: Allow options to be specified on the zsh command line
in the form of GNU-style long options.  Also handle --version
and --help.  Do not permit extra option letters to be stacked
after `-whatever-' (they used to be ignored).  Exit if the
command line specifies an option name that doesn't exist.
2000-07-30 17:03:52 +00:00
Wayne Davison
8740d0b407 Pass the new Eprog argument to hend(). 2000-07-19 21:09:40 +00:00
Peter Stephenson
d13f6631d7 12247: internal hostnam variable removed in favour of $HOST 2000-07-13 17:06:19 +00:00
Bart Schaefer
47532f255e 11606: Propagate parse errors out of parse_list() and parse_event(), and
test that it worked.
2000-05-27 08:32:58 +00:00
Sven Wischnowsky
7f9f81f3e2 save and restore more variables in bufferwords(); move gotword() into core (11523) 2000-05-23 08:20:56 +00:00
Bart Schaefer
eebc051863 11032: Fix signed-ness of a local. 2000-04-30 18:51:58 +00:00
Sven Wischnowsky
4d08f8def2 use zsh as command name in error messages even with -c 2000-04-06 08:28:44 +00:00
Tanaka Akira
e74702b467 Initial revision 1999-04-15 18:05:38 +00:00