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

181 Commits

Author SHA1 Message Date
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