1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-20 05:53:52 +01:00
Commit Graph

459 Commits

Author SHA1 Message Date
Sven Wischnowsky
c8812bb0c8 Andrej: don't close slave if not yet open (12084) 2000-06-27 14:25:05 +00:00
Peter Stephenson
dcd94d3786 Andrej: 12081: zpty under cygwin 2000-06-27 08:42:27 +00:00
Peter Stephenson
756a2aba9c unposted: move poll_read 2000-06-26 21:27:07 +00:00
Peter Stephenson
acda8dc256 12073: read -t to test for available input before reading 2000-06-26 15:00:27 +00:00
Sven Wischnowsky
3ff5a17d8c remove compfmt; a bit of explanation for compfiles and compgroups (12068) 2000-06-26 08:36:42 +00:00
Sven Wischnowsky
470515922c typo in _history; missing free()s in zle_tricky.c (12067) 2000-06-26 08:20:33 +00:00
Sven Wischnowsky
4d656bfb0e missing allocation of list for option arguments (12066) 2000-06-26 08:10:33 +00:00
Peter Stephenson
abd757eac4 12044: read -A bug 2000-06-23 09:45:38 +00:00
Peter Stephenson
12fd5d0065 12040: typeset -r bug 2000-06-22 20:57:14 +00:00
Sven Wischnowsky
37b5477437 *** empty log message *** 2000-06-22 09:42:10 +00:00
Sven Wischnowsky
b9a533f382 allow subscripts for compadd -[ak]; new style for history completion; better list-colors handling (12029) 2000-06-22 08:42:36 +00:00
Oliver Kiddle
3ecad25c83 AIX dependency fix 2000-06-20 16:38:10 +00:00
Sven Wischnowsky
cde71bb1a5 make undo break out of menu selection if nothing to undo inside it (11992) 2000-06-19 14:51:06 +00:00
Sven Wischnowsky
c071087d1f _arguments: small fix for -s and new `!...' for things not to complete (but to understand) (11985) 2000-06-19 13:09:06 +00:00
Sven Wischnowsky
11ec14c3b3 more careful when optimising patterns in compfiles (11981) 2000-06-19 11:43:12 +00:00
Sven Wischnowsky
083befef2b new match spec characters bBeE, match only word/line not both (11977) 2000-06-19 10:48:21 +00:00
Sven Wischnowsky
a295e82c1e allow _expand to expand braces; better detection of braces to complete in C (11973) 2000-06-19 09:55:31 +00:00
Sven Wischnowsky
2769b19881 improve filename completion; use accept-exact for in-path completion; new fake style (11971) 2000-06-19 09:32:30 +00:00
Bart Schaefer
1add53c578 Fix parsing of := for magicequalsubst. 2000-06-17 19:51:51 +00:00
Bart Schaefer
af1339bacf 11956: Fix off-by-one error. 2000-06-17 17:05:53 +00:00
Sven Wischnowsky
1416862b63 allow completion after `a{{b,c},'; fix for closing brace re-insertion when completing from both ends (CLF_MID) (11939) 2000-06-16 07:52:05 +00:00
Sven Wischnowsky
0b892d4492 zstyle -e option; change math-styles to boolean ones; change defaults for _expand styles (11937) 2000-06-16 07:31:09 +00:00
Sven Wischnowsky
f04b4c74a7 more security in completion matching (11924) 2000-06-15 09:41:47 +00:00
Bart Schaefer
20789f5f92 Delete stray whitespace. 2000-06-15 08:48:42 +00:00
Sven Wischnowsky
dc102b8130 fix for _arguments, it took non-option strings as options (11910) 2000-06-15 08:09:09 +00:00
Peter Stephenson
a777f021a2 11906: yet two more saving trap bugs 2000-06-14 22:00:39 +00:00
Peter Stephenson
4611530c45 11901: two more trap saving bugs 2000-06-14 15:14:49 +00:00
Peter Stephenson
ae8c986107 11895: trap exit problem when exiting from function scope 2000-06-14 14:19:20 +00:00
Sven Wischnowsky
5f81bbc869 nix kaboom with `time time' (?) 2000-06-14 09:26:55 +00:00
Sven Wischnowsky
53f5cc9465 better fix for menu selection on dumb terminal (11885?) 2000-06-14 06:54:44 +00:00
Sven Wischnowsky
9310826027 make -A take a pattern as argument to match non-arguments; allow single-letter option strings to have multiple arguments; fix to allow option completion with multiple sets (?) 2000-06-13 12:14:32 +00:00
Sven Wischnowsky
a2417f6863 fix for longer capability strings (sunsite still not responding, sigh) 2000-06-13 10:49:18 +00:00
Peter Stephenson
65b3fdc4ab Make PRINT_* flags unique again 2000-06-13 09:13:29 +00:00
Sven Wischnowsky
cedd1006e6 fixes for calling compfiles, for completing words with special characters; make compfiles optimisations work with globcomplete and simple match (sunsite isn't responding) 2000-06-13 09:05:35 +00:00
Peter Stephenson
055d961f84 11867: restrict typeset -H application 2000-06-12 09:27:09 +00:00
Bart Schaefer
bae526275a Alexandre: Fix colored listings crash (article number attribution may be
wrong in ChangeLog).
2000-06-11 08:15:27 +00:00
Bart Schaefer
060ac27a17 11850: Fix crash in menu-select on dumb terminals. Also, a ChangeLog entry
for PWS's 11842.
2000-06-10 17:30:22 +00:00
Peter Stephenson
6b87e6fda3 11838: typeset -H 2000-06-09 15:37:05 +00:00
Clint Adams
716f5d4e39 11839: endtrapscope() null pointer dereference prevention 2000-06-09 14:40:54 +00:00
Sven Wischnowsky
4997db3470 fix for menu-completion when another completion came right after it (11836) 2000-06-09 11:14:34 +00:00
Sven Wischnowsky
427b4b74f2 improve _path_files, move some code into C, try to optimise glob patterns and immediately accept exact directory matches (11833) 2000-06-09 07:49:44 +00:00
Peter Stephenson
45d95dde48 11820: metafication of command line arguments 2000-06-08 09:59:00 +00:00
Sven Wischnowsky
a95d051826 more anchor matching fixes (11817) 2000-06-08 09:25:24 +00:00
Sven Wischnowsky
2e1c0ec483 make C-code expansion add a space only when more than one word was generated (11814) 2000-06-08 07:20:31 +00:00
Sven Wischnowsky
b0b33a41a1 try to get the tests for `strings long enough' right in anchor matching code (11796) 2000-06-07 13:25:32 +00:00
Sven Wischnowsky
25ca4f8792 optimise command lookup in old and new completion (user/3124) 2000-06-07 11:21:42 +00:00
Sven Wischnowsky
9ac1ee5703 hopefully more consistent beeping with menu-selection (11794) 2000-06-07 08:39:56 +00:00
Sven Wischnowsky
9bb23440d2 -K option for zparseopts to keep previous array values (11792) 2000-06-07 07:38:02 +00:00
Sven Wischnowsky
4900804b61 make (e) flag be silent unless (X) is given, too (11768) 2000-06-06 08:35:54 +00:00
Oliver Kiddle
96e53995c9 AIX dependency fix 2000-06-05 19:54:03 +00:00
Sven Wischnowsky
f94e5d78b0 some more memory leak fixes (11745) 2000-06-05 07:57:27 +00:00
Bart Schaefer
360abc7d0f 11737: Avoid excessive Makefile rebuilding during "make clean". 2000-06-04 04:06:57 +00:00
Bart Schaefer
4c2601e753 Felix, 11734: Memory leak and doc error. 2000-06-03 16:37:24 +00:00
Bart Schaefer
709ce3829c 11736: Fix TRAPEXIT scoping. 2000-06-03 16:26:47 +00:00
Wayne Davison
192dc1228a Fixed glob array indexing. 2000-06-02 10:09:13 +00:00
Sven Wischnowsky
323c72520a Felix: fix for memory leak (11718) 2000-06-02 08:28:42 +00:00
Sven Wischnowsky
ed708a901b fix some memory leaks (thanks, Felix) (11722) 2000-06-02 08:09:26 +00:00
Wayne Davison
91d5f73434 Changed the array "len" to be "end" -- a 1-relative index of the last
item (or you can think of it as pointing one past the last item).
2000-06-02 01:54:16 +00:00
Wayne Davison
6e1d59eb2b Finish the job started in my last patch. 2000-06-01 20:54:59 +00:00
Wayne Davison
4fddbb8f5c Made $array[0,0] work just like $array[0]. 2000-06-01 20:52:26 +00:00
Bart Schaefer
15a6466044 Disable vared only for interactive shells where ZLE has been explicitly
disabled, but also for any shell running in an emacs buffer.
2000-06-01 15:22:15 +00:00
Peter Stephenson
4608712264 FR & pws: promptexpand memory leaks; NEWS notes 2000-06-01 09:10:15 +00:00
Peter Stephenson
3f8f279294 11696: local readonly specials bugs fixes 2000-05-31 21:58:32 +00:00
Sven Wischnowsky
5a4253f42e allow display of only messages via $compstate[list]=messages (11688) 2000-05-31 09:56:12 +00:00
Peter Stephenson
7bf294f2b8 Wayne: pattern.c unitialised var
Zero-length arrays now possible with $array[1,0]
2000-05-31 08:56:23 +00:00
Sven Wischnowsky
d5b6d1f40c move to last cursor after not asking a second time if list should be shown (11682) 2000-05-31 06:31:22 +00:00
Sven Wischnowsky
fb6bcb7364 fix for ignore-line style (11679) 2000-05-31 06:13:50 +00:00
Oliver Kiddle
64d9b83105 AIX depenency fix (11661) 2000-05-30 14:06:30 +00:00
Sven Wischnowsky
24520730a6 bogus uninitialised variable warning 2000-05-30 10:54:22 +00:00
Sven Wischnowsky
47c0bd0db1 fixes for _arguments without multiple sets; change completion test for empty actions (11647) 2000-05-30 07:49:00 +00:00
Bart Schaefer
8564aa5c0d Wayne: Fix two history bugs that were causing the
failure of `print -s'.
2000-05-30 03:43:27 +00:00
Sven Wischnowsky
cd38cd40f7 matching bugs with patterns with two anchors (11634) 2000-05-29 12:42:59 +00:00
Sven Wischnowsky
a2750a4eff fixes for _arguments with sets; make _zpty not use sets (11624) 2000-05-29 08:00:46 +00:00
Peter Stephenson
b6cf1f3303 11616: netinet/in_systm.h again 2000-05-28 20:59:15 +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
Bart Schaefer
17aadf0338 11607: For "read -q", open shout if necessary
even when SHTTY is
already a valid descriptor.
2000-05-27 08:31:32 +00:00
Peter Stephenson
ad9c7348b5 11587: Felix Rosencrantz: Src/pattern.c: uninitialised variable
11590: various cygwin fixes
2000-05-26 09:47:27 +00:00
Sven Wischnowsky
972fe43f51 disable vared if zle is not enabled (11566) 2000-05-26 07:03:43 +00:00
Sven Wischnowsky
c99a94e365 better cursor-movement in menu-selection (11569) 2000-05-25 11:33:13 +00:00
Peter Stephenson
5bed7d645b 11567: FD_CLOEXEC in zftp.c 2000-05-25 10:50:05 +00:00
Sven Wischnowsky
6959ffd962 force listing in _complete_debug; make complist with list-scrolling stopt at the end of the list when prompt would scroll it out; fix _in_vared to handle `foo[bar]' (11565) 2000-05-25 07:58:44 +00:00
Peter Stephenson
9121d78354 11561: no RC_QUOTES in $'..' 2000-05-24 17:20:26 +00:00
Sven Wischnowsky
8f7beea079 fix for comparguments to make -s have an effect again (11552) 2000-05-24 08:32:12 +00:00
Sven Wischnowsky
22c3204495 add -[ak] options to compadd (11533) 2000-05-23 14:23:16 +00:00
Sven Wischnowsky
00772b72a7 add -E option to zparseopts (11530) 2000-05-23 13:18:36 +00:00
Sven Wischnowsky
cb50583b18 fix for read -q without a shout (11524) 2000-05-23 08:37:06 +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
Sven Wischnowsky
01bd1c61ae make sure wouldinstab is set before calling docomplete() (11503) 2000-05-22 14:50:07 +00:00
Sven Wischnowsky
fa50c70000 fix for clines in suffix (11496) 2000-05-22 12:14:37 +00:00
Sven Wischnowsky
91f40b975f be more careful when decided if to insert tabs instead of completing (11493) 2000-05-22 11:28:29 +00:00
Sven Wischnowsky
c955b76cc5 remove -h option from zstyle (11490) 2000-05-22 09:32:32 +00:00
Sven Wischnowsky
ce90081ea8 pat(-) in long-option patterns to say that argument should be completed only after the `='; merge _arguments and _argument_sets; slightly better test when not to complete options (11489) 2000-05-22 09:28:34 +00:00
Sven Wischnowsky
007cfdff55 fix for a-a-m-c in menu selection; scroll explanations onto screen again (11487) 2000-05-22 08:47:30 +00:00
Bart Schaefer
279132a957 11473: Turn off xtrace while printing PS4. 2000-05-20 15:56:03 +00:00
Peter Stephenson
8d17d2f02d 11467: [#<base>] syntax for output base
zsh-users/3071: compdump tweak to avoid // in path
2000-05-19 18:22:50 +00:00
Bart Schaefer
529158f82f 11461: Make "read" interruptible even when used in the tail of a pipeline. 2000-05-19 15:10:52 +00:00
Sven Wischnowsky
7672efed2e fix for unambiguous string insertion (11466) 2000-05-19 08:33:06 +00:00
Sven Wischnowsky
781a5bd4b1 small doc fix; make compcall autoload compctl module (11457) 2000-05-18 09:22:31 +00:00
Peter Stephenson
c515a58aca 11455: Completion/Core/_oldlist: old-menu defaults on 2000-05-18 08:59:29 +00:00
Sven Wischnowsky
05d3c175a5 add Felix' completion matching test; some fixes for bugs shown by it (11439) 2000-05-17 11:59:32 +00:00
Tanaka Akira
f8551053e5 11426: Src/Modules/zpty.c: don't use #elif. 2000-05-17 03:42:43 +00:00
Tanaka Akira
590475e1b7 11420: Src/Modules/zpty.c: try more pty device files. 2000-05-16 18:16:19 +00:00
Peter Stephenson
184ea22946 11410: make tokenize() tokenize =, so $~foo allows =cmd expansion 2000-05-16 13:41:50 +00:00
Sven Wischnowsky
aa17f0db6d fix scrolling in menu-selection with matches spanning multiple lines 2000-05-16 10:45:01 +00:00
Sven Wischnowsky
57ed8b5441 make menu-select accept the match when typing a non-special character (11401) 2000-05-16 08:05:15 +00:00
Clint Adams
195f1c4015 11387: OCTAL_ZEROES option 2000-05-15 18:48:21 +00:00
Clint Adams
18b193f241 11385: parse 0[0-9]+ as octal in arithmetic expressions 2000-05-15 17:54:58 +00:00
Sven Wischnowsky
0e5666e2ad detect additional characters in parameter expansions and signal an error for them (11380) 2000-05-15 14:59:01 +00:00
Sven Wischnowsky
8272394e7e extra paranoia for empty prefix/suffix in completion matching (11374) 2000-05-15 11:55:38 +00:00
Sven Wischnowsky
2e78e1ecc1 fix for empty (s::) separator and strings with meta-characters (11368) 2000-05-15 11:01:41 +00:00
Sven Wischnowsky
db95186da5 fix for completion of string with single quote (11365) 2000-05-15 09:54:46 +00:00
Sven Wischnowsky
6d4bdb661d fix for suffix-matching; better in-path completion in _path_files (11364) 2000-05-15 09:34:11 +00:00
Sven Wischnowsky
8ef89cd54d zparseopts should detect if it is called without option descriptions (11360) 2000-05-15 08:04:09 +00:00
Oliver Kiddle
6ff206e057 Add -L option to the hash builtin 2000-05-15 00:31:20 +00:00
Peter Stephenson
26cc1ad1df doc changes; typo in _jobs; integer builtin understands `-i base' 2000-05-14 22:08:41 +00:00
Sven Wischnowsky
a6ed22c585 fix for completing options with _arguments -s'; fix for _message to use builtin compadd' (11349) 2000-05-12 14:36:46 +00:00
Sven Wischnowsky
984bae21ba fixes for completion matching (11346) 2000-05-12 11:52:30 +00:00
Sven Wischnowsky
6472a2b7bc fix for compadd -x when there are no matches (11335) 2000-05-12 07:03:41 +00:00
Bart Schaefer
0768b190ba 11326: Avoid init_io() on "exec < file" when zleactive.
Also fix OPK's slightly confused previous ChangeLog entry.
2000-05-11 16:39:02 +00:00
Sven Wischnowsky
567e221218 make _argument_sets add the options as defaults when there is nothing else to complete (11324) 2000-05-11 11:27:39 +00:00
Sven Wischnowsky
8e7e17237e allow internally-mutually exclusive sets in _argument_sets; fixes for _argument_sets and the C-code for it (11320) 2000-05-11 08:54:47 +00:00
Sven Wischnowsky
d3620a02df make ^G in menu-selection restore the old command line; add select=long* values for menu style to start menu-selection if list is too long for screen (11319) 2000-05-11 08:40:09 +00:00
Oliver Kiddle
548fe00d96 Remove return value from uniqarray which caused a compile error on IRIX 2000-05-10 23:54:26 +00:00
Peter Stephenson
ade3663216 11314: fix for typeset -U not updating value in environment 2000-05-10 19:15:58 +00:00
Oliver Kiddle
8272e68ecc AIX dependency fix 2000-05-10 15:01:19 +00:00
Sven Wischnowsky
2da726eaf1 more fixes for _arguments and its docs (11298) 2000-05-10 11:53:05 +00:00
Sven Wischnowsky
0f7d06b4e5 misc. _arguments fixes 2000-05-10 09:22:49 +00:00
Sven Wischnowsky
5b5c0e8fc9 fix for `-+opt' with mutex list (11294) 2000-05-10 08:20:40 +00:00
Peter Stephenson
e89360b2db 11285: zftp exit hook 2000-05-09 17:49:30 +00:00
Tanaka Akira
a65e197d2a 11276: fix build on OpenBSD. 2000-05-09 11:54:43 +00:00
Sven Wischnowsky
8c6a5af791 give control over insertion of tab when no non-blank character before cursor; add insert-tab style (11274) 2000-05-09 11:04:44 +00:00
Sven Wischnowsky
125dc0d4f2 new -A and -S options to _arguments; -opt=-' specs for options whose argument has to come after the =' (11270) 2000-05-09 09:05:34 +00:00
Peter Stephenson
705fd24fd5 11044, 11260: DVORAK options for spell checking. 2000-05-08 15:56:37 +00:00
Sven Wischnowsky
fc9627e776 close fd for pty-master in sub-shell 2000-05-08 11:06:27 +00:00
Sven Wischnowsky
cfcb3202ef more problems with optional arguments in _arguments (11253) 2000-05-08 10:37:58 +00:00
Sven Wischnowsky
029483745b better cursor positioning in words with multiple ambiguous word parts (11248) 2000-05-08 09:29:22 +00:00
Tanaka Akira
7d17c9ca4b * Bart, Tanaka Akira: 11247: Don't signal to a process group which
has only zombie processes.
2000-05-08 09:23:09 +00:00
Peter Stephenson
38bb84d975 11194, 11200, 11214 2000-05-08 08:58:37 +00:00
Sven Wischnowsky
92637abbb8 misc. completion cleanups and changes (11242) 2000-05-08 08:16:32 +00:00
Oliver Kiddle
7c56ccdcbc Small doc fix and AIX dependency fix 2000-05-05 16:45:03 +00:00
Sven Wischnowsky
04118530d4 some more memory initialisation after allocation; shouldn't possibly have done any harm (11193) 2000-05-05 12:06:21 +00:00
Sven Wischnowsky
27f895df41 make zpty -r stoppable even when SIGINT is caught (and the handler calls return or some such) (11181) 2000-05-05 09:12:49 +00:00
Sven Wischnowsky
c844ad8712 Wayne: fix for print -s when called from widget; added lines are not immediately available, though (11171) 2000-05-05 07:42:36 +00:00
Sven Wischnowsky
c05f118fc2 fix for completion arguments of options, don't use all of them at once (11172) 2000-05-05 07:37:17 +00:00
Sven Wischnowsky
82ca135d34 fix for jobs -l -d, check if directory of job is already set (11170) 2000-05-05 07:18:59 +00:00
Tanaka Akira
3e7a2a41bc 11165: Completion/Base/_regex_arguments, Completion/Debian/_apt,
Completion/X/_xset, Completion/X/_xwit, Doc/Zsh/compsys.yo,
Src/Modules/zutil.c: _regex_arguments support tag stuff.
2000-05-04 20:16:09 +00:00
Sven Wischnowsky
e7895ac92c close dump file descriptors in children (11151) 2000-05-04 13:40:05 +00:00
Sven Wischnowsky
1f86bccc2d parse_subst_string() should use modified version of `len' (11145) 2000-05-04 10:44:24 +00:00
Sven Wischnowsky
26f9c5af50 make pty the controlling terminal of their commands (11144) 2000-05-04 09:53:41 +00:00
Sven Wischnowsky
4f80c3fedf save and restore `len' in lexsave/restore (11142) 2000-05-04 08:43:30 +00:00
Sven Wischnowsky
4414e16a6a don't list when all matches look the same; force-list style to give users control over this (11140) 2000-05-04 07:44:21 +00:00
Sven Wischnowsky
aa0381bd2b allow `-' in exclusion lists for _arguments, to avoid completing all options (11121) 2000-05-03 14:44:01 +00:00
Sven Wischnowsky
17e79c0157 fix for the (z) flag: report partial word (like `"foo', without a closing quote); mention in manual that (z) is handled lately (11117) 2000-05-03 13:05:39 +00:00
Sven Wischnowsky
70e5b622ff new (z) parameter flag to do shell-word splitting on the value (11113) 2000-05-03 12:21:55 +00:00
Sven Wischnowsky
0d6350d65a remove backslashes before $' in _expand when substitute' is unset; fix for clearing end-of-list lines in menu-selection (11110) 2000-05-03 11:52:00 +00:00
Sven Wischnowsky
b5594215dd make sure that completion messages are displayed even when there are no matches (11092) 2000-05-03 08:35:33 +00:00
Sven Wischnowsky
d205f2530b allow calling `print -s' in widgets, avoid duplicated history number 2000-05-03 07:10:35 +00:00
Bart Schaefer
966eca4ad8 11036, 11063, 11077: Always write the "read -q" prompt to shout; eliminate
some redundant close() calls; relocate a misplaced redirection.
2000-05-02 15:52:43 +00:00
Andrew Main
9191ac7b2b zefram103: Src/Makemod.in.in: make sure .{e,}pro files are
non-empty, to keep the AIX compiler quiet.
2000-05-02 13:42:42 +00:00
Peter Stephenson
9420498acf 11066: false || true was trigerring trap on ZERR 2000-05-02 13:08:19 +00:00
Sven Wischnowsky
997d40c05d add -x option to compadd to display message unconditionally 2000-05-02 10:30:41 +00:00
Peter Stephenson
304d5f9b39 11057: getopts bug 2000-05-02 09:56:09 +00:00
Sven Wischnowsky
d67ca6872e fix for _arguments, use on-line-argument-numbers only for normal arguments, not for arguments of options (11052) 2000-05-02 08:56:28 +00:00
Bart Schaefer
eebc051863 11032: Fix signed-ness of a local. 2000-04-30 18:51:58 +00:00
Oliver Kiddle
ddd8614e51 AIX dependency fixes 2000-04-30 17:58:35 +00:00
Bart Schaefer
3e43e50992 11029: Some missing bits of merging 11015 with 11026. 2000-04-30 17:09:08 +00:00
Peter Stephenson
563936ba27 11026: fix for unfunction of trap with localtraps bug 2000-04-30 14:48:49 +00:00
Bart Schaefer
8496342841 11015: `unfunction TRAPxxx' now works with localtraps in effect. I'm not
very happy with having to play with `noerrs' but I don't see any other way
to silence the warning from bin_unhash().
2000-04-29 06:33:48 +00:00
Sven Wischnowsky
5a3fe9220d misplaced cursor with partial-word matching (11007) 2000-04-28 12:42:24 +00:00
Sven Wischnowsky
b577adea40 fix for reporting multiple actions in comparguments, options with non-optional arguments (11003) 2000-04-28 11:16:52 +00:00
Sven Wischnowsky
b19f915a4f avoid wrapping around both horizontally and vertically at the same time (10992) 2000-04-28 07:39:08 +00:00
Sven Wischnowsky
a35472cb31 better wrap around for cursor movement widgets; avoid flicker when leaving menu-selection (10978) 2000-04-27 13:40:52 +00:00
Peter Stephenson
ba2ea72753 10971: **/... always globbed dots 2000-04-27 10:58:49 +00:00
Sven Wischnowsky
eb2bfcd555 fix for parse error with left-anchored patterns (10963) 2000-04-27 09:04:32 +00:00
Sven Wischnowsky
77f5b71cec make menu-selection handle undefined-key (10961) 2000-04-27 08:55:06 +00:00
Sven Wischnowsky
8974ab59c0 *** empty log message *** 2000-04-27 08:23:33 +00:00
Sven Wischnowsky
ad31ce0db8 renamed parameters for menu selection to MENUSELECT, MENUPROMPT and MENUSCROLL; no special value for LISTMAX to turn on list scrolling, this is done by setting LISTPROMPT now; default values for LISTPROMPT and MENUPROMPT when set but empty (10959) 2000-04-27 08:21:10 +00:00
Sven Wischnowsky
ddb16a1b2b allow to anchor on gaps between strings in matching control specs (10926) 2000-04-26 06:54:26 +00:00
Sven Wischnowsky
9ecbacab6b faster test for `*'-patterns in matching control; prefer direct character matches over match specs in recursive invocations of match_str() (10925) 2000-04-26 06:45:50 +00:00
Sven Wischnowsky
67fd3b73ca fix for matching control; improve merging cline lists (10924) 2000-04-26 06:34:10 +00:00
Sven Wischnowsky
bc21696b63 don't show empty hidden matches even in menu-selection (10917) 2000-04-25 13:54:09 +00:00
Sven Wischnowsky
d3c918b863 re-calculate number of line with mark when needed; make default prompts more consistent (10916) 2000-04-25 12:19:45 +00:00
Sven Wischnowsky
6e99acad52 forgotten fix for _arguments using multiple actions (10915) 2000-04-25 11:49:10 +00:00
Sven Wischnowsky
f5dcbf9f19 don't always ignore backslashes in paths when testing file type (10912) 2000-04-25 11:17:24 +00:00
Sven Wischnowsky
6623bb41b9 report prefix/suffix of parameter expansion in IPREFIX/ISUFFIX; make _expand use them to be able to expand $foo (10909) 2000-04-25 10:28:11 +00:00
Sven Wischnowsky
d49da60670 make _arguments use more than one action when appropriate; add _argument_sets to complete different sets of arguments and options for the same command (10908) 2000-04-25 09:48:08 +00:00
Bart Schaefer
3c4ca6d37d 10900: Depend modules-bltin upon config.status rather than upon Makefile. 2000-04-25 04:30:31 +00:00
Sven Wischnowsky
b572f0295c fix off-by-one error in scrolled menu-selections (10868) 2000-04-20 11:03:15 +00:00
Sven Wischnowsky
ad0c81a554 ensure zsh/compctl (ick!) module is loaded when zle is loaded from init file but zsh/complete isn't (10828) 2000-04-19 13:42:51 +00:00
Sven Wischnowsky
6a7c002a7c default for list-prompt style, %[MLP] use fixed-width strings, %[mlp] use variable-width strings (10816) 2000-04-19 06:49:36 +00:00
Sven Wischnowsky
fe65ab1dd8 completion list scrolling cleanup; *STATUS renamed to *PROMPT, styles for new used parameters, use local keymap when waiting at list-prompt (10801) 2000-04-18 07:36:55 +00:00
Sven Wischnowsky
59da43689a fix to get newlines in non-job-texts (I'm sooo stupid) 2000-04-18 07:12:32 +00:00
Sven Wischnowsky
145e7ee76f join_clines() tested the wrong variable (10798) 2000-04-18 07:07:30 +00:00
Sven Wischnowsky
30a98cc4d6 scrolling in completion lists and menu-selection, version1 2000-04-17 11:17:10 +00:00
Sven Wischnowsky
f0e8173762 display newlines as spaces in job-texts (10788) 2000-04-17 10:46:01 +00:00
Sven Wischnowsky
fcca6c721c fix for exclusion lists for -+o specifications 2000-04-17 08:53:37 +00:00
Sven Wischnowsky
cd45aa331d make _tags use C-code for braces in tag-order values; and misc. stuff (10775) 2000-04-17 08:04:42 +00:00
Sven Wischnowsky
8c474bbcd4 fix for partial word completion with empty parts and common suffix (10774) 2000-04-17 07:56:25 +00:00
Peter Stephenson
5c53fb9500 10771: new GLOBAL_EXPORT option; successful compilation on OpenBSD 2000-04-16 19:02:13 +00:00
Peter Stephenson
2295c59fcb 10756: fix (#s) and (#e) for parameter substitution forms 2000-04-14 11:49:31 +00:00
Clint Adams
c281f5c3ba 10745: MAXJOB = MAX_TASKS_PER_USER from linux/tasks.h 2000-04-13 22:25:04 +00:00
Peter Stephenson
6372332a92 10743: fix replenv() of imported special parameters 2000-04-13 17:57:45 +00:00
Peter Stephenson
cf92384eac 10738: pws: local parameters can be exported 2000-04-13 14:22:47 +00:00
Sven Wischnowsky
f5b6feedca make read -[kq] always print the prompt, if any; after all they make sure they have a terminal anyway (10727) 2000-04-13 08:43:39 +00:00
Sven Wischnowsky
ba1d606cb2 fix field name for HAVE_NIS_PLUS (10726) 2000-04-13 08:19:44 +00:00
Sven Wischnowsky
2ef4fd884c comment the `#if's for group numbers in $compstate[insert] (10725) 2000-04-13 08:09:13 +00:00
Sven Wischnowsky
a8400e82b1 display number of matches again when asking if a completion list should be shown (only when not zero) (10724) 2000-04-13 08:05:57 +00:00
Sven Wischnowsky
47e4c7b8c1 forgot one #if for commenting out the group-stuff for $compstate[insert] 2000-04-12 13:08:08 +00:00
Sven Wischnowsky
c80d9e45e6 compare mapped zwc files using stat instead of the pathnames (10699) 2000-04-12 13:06:18 +00:00
Sven Wischnowsky
4a250fe1dd missing initialisation for next field in assignments for substitutions for fc builtin (10692) 2000-04-12 11:10:52 +00:00
Sven Wischnowsky
5ac242f449 comment out the code to allow $compstate[insert] to select the group (10690) 2000-04-12 09:12:15 +00:00
Sven Wischnowsky
5de80f85b4 display number of lines instead of number of matches when asking whether to show completion lists (10686) 2000-04-12 08:31:55 +00:00
Sven Wischnowsky
b1d4a8194a new widget copy-prev-shell-word, like copy-prev-word but uses shell parsing to find word (10685) 2000-04-12 08:24:15 +00:00
Sven Wischnowsky
fac3086d97 _wanted now tests both tags and labels; change places where _wanted was called without a command; allow multiple patterns per string in file-patterns; update _next_tags to work with labels (10632) 2000-04-11 07:57:56 +00:00
Sven Wischnowsky
3153dbb321 detect ignored signals correctly (10625) 2000-04-10 14:16:24 +00:00
Sven Wischnowsky
fc43f74334 addx() inserts x more often (10621) 2000-04-10 09:29:09 +00:00
Sven Wischnowsky
802ae96cf9 properly restore scriptname in doshfunc() (10620) 2000-04-10 09:18:26 +00:00
Sven Wischnowsky
724b065397 more careful with checking index of $history (10614) 2000-04-10 08:22:09 +00:00
Sven Wischnowsky
0713dfcd1a fix for bashautolist+automenu (10609) 2000-04-10 08:06:38 +00:00
Peter Stephenson
b4a2b47b64 stat -o shows file modes in octal 2000-04-07 20:07:10 +00:00
Bart Schaefer
265f55fd58 10582: Apply STTY only to process group leaders. 2000-04-07 15:40:21 +00:00
Bart Schaefer
38cce57dd7 10562, 10581: Complete .src.rpm after rpm --rebuild; note fixed bug; typo. 2000-04-07 15:01:03 +00:00
Sven Wischnowsky
920c353740 cursor placed on wrong word part with ** match spec (10573) 2000-04-07 09:16:37 +00:00
Clint Adams
18870148c5 10564: typo in _wanted
10565: maximum function depth configure option
10566: patgetglobflags has a second argument now
2000-04-07 02:27:44 +00:00
Peter Stephenson
d2330ba055 10547: (#s) and (#e) pattern assertions 2000-04-06 18:44:01 +00:00
Andrew Main
181811bf80 zefram2: Src/lex.c: Support "3&> foo" etc. 2000-04-06 17:21:52 +00:00
Sven Wischnowsky
4d08f8def2 use zsh as command name in error messages even with -c 2000-04-06 08:28:44 +00:00
Peter Stephenson
3acc9f80ef Patches 10513, 10516 (Alexandre), 10519 (Oliver), 10524 2000-04-05 19:28:07 +00:00
Sven Wischnowsky
5de3404e7c make zwc files use the magic number as their verios, report zsh-version in error messages 2000-04-05 09:20:02 +00:00
Sven Wischnowsky
db663c824a $PENDING special zle parameter, giving number of un-read bytes 2000-04-05 08:49:50 +00:00
Sven Wischnowsky
1db256fc0f better error handling for zwc files 2000-04-04 14:08:56 +00:00
Sven Wischnowsky
b734769523 fix for comparguments: completion of options after option with
rest-arguments was wrong
2000-04-04 12:56:40 +00:00
Sven Wischnowsky
8488dcb806 keep association elements from being exported 2000-04-04 12:02:04 +00:00
Sven Wischnowsky
87b625f15f make _next_tags be usable with menu-completion 2000-04-04 11:26:26 +00:00
Sven Wischnowsky
7b016b8cd8 Copy QIPREFIX/QISUFFIX. 2000-04-04 09:52:56 +00:00
Andrew Main
835572ae23 10444: Src/lex.c, Src/pattern.c: Insist on proper syntax
for numeric globbing (with the "-").  Also fix the bug whereby
"echo 1<2-3>" would lose the "1".
2000-04-04 01:16:25 +00:00
Sven Wischnowsky
b687bd9750 Various completion fixes 2000-04-03 15:27:14 +00:00
Sven Wischnowsky
b5019ef4e5 Recognise new parts in partial word completion 2000-04-03 12:14:52 +00:00
Peter Stephenson
4852545255 Updated from list as far as 10376 2000-04-01 20:49:47 +00:00
Tanaka Akira
e2cc547411 Initial revision 2000-01-20 18:44:54 +00:00
Tanaka Akira
a81ffd1841 Initial revision 1999-12-16 14:31:35 +00:00
Tanaka Akira
3d5e4155a4 Initial revision 1999-12-13 12:40:42 +00:00
Tanaka Akira
9141828e71 Initial revision 1999-12-10 14:48:04 +00:00
Tanaka Akira
bd443fb06f zsh-workers/8843 1999-12-06 04:52:33 +00:00
Tanaka Akira
1937e5a3b5 zsh-workers/8725 1999-11-23 12:14:32 +00:00
Tanaka Akira
95e7c71425 Initial revision 1999-11-04 19:17:12 +00:00
Tanaka Akira
82e6f2438e Initial revision 1999-11-01 09:37:26 +00:00
Tanaka Akira
a17347df59 removed. 1999-10-27 09:39:10 +00:00
Tanaka Akira
65392c396b Initial revision 1999-10-26 15:36:11 +00:00
Tanaka Akira
2285f015f4 Initial revision 1999-10-18 23:30:27 +00:00