Wayne Davison
f297798397
Made a variable (t2) size_t so that it matched the size of the
...
other variable it gets compared with (fw).
2004-05-28 19:18:17 +00:00
Wayne Davison
f160996d51
Changed a few job-table variables into ints.
2004-05-28 19:16:55 +00:00
Wayne Davison
059162c442
Supply all initializers for the final struct reswd element.
2004-05-28 19:07:13 +00:00
Wayne Davison
88013bb195
Fixed signed/unsigned compiler warning.
2004-05-28 19:05:11 +00:00
Clint Adams
957c870b57
* 19991: Completion/Unix/Command/_lynx: complete .htm files too.
2004-05-28 14:24:18 +00:00
Peter Stephenson
5ac05cab9f
19976: fix spurious job table full messages
2004-05-25 18:38:56 +00:00
Peter Stephenson
bf4be46676
c.f users/7474: reorder option descriptions in subheadings.
2004-05-25 16:51:17 +00:00
Wayne Davison
7d85e53b1e
19967+
2004-05-21 20:09:20 +00:00
Wayne Davison
79a802c74c
Added a call to saveandpophiststack(0) to endparamscope() to enable
...
the new auto-pop feature.
2004-05-21 20:05:16 +00:00
Wayne Davison
3e7b092bc7
- pushhiststack() now takes a level value and remembers it. If it was
...
the locallevel (instead of -1), the history list is marked to auto-pop
on function exit.
- The saveandpophiststack() function now interprets a 0 arg as a request
to do an auto-pop.
2004-05-21 20:05:12 +00:00
Wayne Davison
c39a15df42
- Added the -a option to "fc" and "history".
...
- Call saveandpophiststack() using the newest calling syntax.
2004-05-21 20:05:08 +00:00
Wayne Davison
6cfedab7ee
Use the new `history -ap' command to restore the history instead of
...
using a trap function.
2004-05-21 20:05:03 +00:00
Wayne Davison
f0742aeaa5
Document the new -a option to `fc -p' and improved the documentation for
...
the history push/pop in other ways.
2004-05-21 20:04:59 +00:00
Peter Stephenson
665b0950c6
19971: Fix environment nastiness in zexecve()
2004-05-21 11:19:30 +00:00
Wayne Davison
ac3bedf522
19962
2004-05-20 22:33:13 +00:00
Wayne Davison
6b83748946
Use the new history push/pop options to fc to save and restore the
...
current history buffer.
2004-05-20 22:23:11 +00:00
Wayne Davison
690866621a
Document the new options to "fc".
2004-05-20 22:23:05 +00:00
Wayne Davison
e8eca2ee4b
- Added functions to push and pop the current history list, allowing
...
functions to more easily switch to their own private history.
- Changed the existing history push/pop code in savehistfile() (which
uses a separate history buf to allow it to rewrite the on-disk
version of the history file without disturbing the in-memory list).
2004-05-20 22:23:02 +00:00
Wayne Davison
76ec200cc4
- Added the -p (push) and -P (pop) options to the "fc" builtin.
...
- Allow -p/-P to be given to "history".
- On exit, save & pop any pushed history stacks before we call the
normal savehistfile() function.
2004-05-20 22:22:43 +00:00
Peter Stephenson
3971345ee6
unposted: _perforce: minor tweak to revision syntax
2004-05-19 11:10:47 +00:00
Wayne Davison
319af86611
Added a comment to resizehistents() to explain why the function is
...
weirder than expected at first glance.
2004-05-18 18:45:05 +00:00
Peter Stephenson
d3b14e887e
19941: fix (( 3, ))
2004-05-13 20:04:10 +00:00
Peter Stephenson
aff4313b12
19936: zcalc temp history file name
2004-05-13 17:08:03 +00:00
Peter Stephenson
8723d530b3
fix bug I missed, somehow
2004-05-12 10:26:41 +00:00
Peter Stephenson
10744b66fd
19920: attempt to improve hrealloc()
2004-05-12 10:20:33 +00:00
Wayne Davison
02af5b3eec
19893
2004-05-11 21:49:58 +00:00
Wayne Davison
1ec2b5c096
Fix the potential for an infinite loop in lockhistfile() if the
...
link() calls fails for some other reason than EEXIST.
2004-05-11 21:45:36 +00:00
Wayne Davison
c00fdaa3f0
19878
2004-05-05 17:06:55 +00:00
Wayne Davison
c42420319f
Set the first character of buf to '\1' before the strftime() call so
...
we can try to distinguish a zero-length string from an error return
(a minor fix to Peter's patch).
2004-05-05 17:00:58 +00:00
Peter Stephenson
f57f65282b
19877: improved test for empty strftime strings
2004-05-04 16:43:29 +00:00
Clint Adams
c98b9dc800
* 19869: Src/prompt.c, Src/utils.c: avoid segfault when
...
prompt-expanding '%D{%p}' or '%D{%P}' under locales with null
strings for am_pm.
2004-05-04 04:17:26 +00:00
Peter Stephenson
885509c023
Fix TRAPS_ASYNC so that it handles signals correctly.
2004-05-02 19:55:54 +00:00
Clint Adams
0056db1cfb
* 19863: Completion/Zsh/Type/_command_names, Doc/Zsh/compsys.yo:
...
allow search path for command names to be overridden by means of new
command-path style.
2004-05-01 05:47:38 +00:00
Clint Adams
039b15b516
* 19845: Completion/Debian/Command/_apt-move: apt-move
...
completion function from Steven Kowalik.
2004-04-28 14:07:56 +00:00
Peter Stephenson
28bd1b02cf
19839, 19842: improve handling of #q in qualifiers
2004-04-27 17:00:11 +00:00
Peter Stephenson
aa7003e0ca
19840: vared takes one normal argument
2004-04-27 15:16:13 +00:00
Peter Stephenson
5fa91b1116
19837: restore vared -e
2004-04-27 11:03:06 +00:00
Doug Kearns
d4cc68878c
unposted: aap short and long options are mutually exclusive
2004-04-26 13:47:07 +00:00
Peter Stephenson
817b5a142c
19825: add changes style
2004-04-23 17:11:39 +00:00
Peter Stephenson
63442b3eaa
19810: ksh autoloading
...
19812: autoloaded traps which are still buggy.
2004-04-23 11:17:13 +00:00
Peter Stephenson
5747147aff
19809: improve NO_TRAPS_ASYNC by queueing traps alone
2004-04-21 11:18:45 +00:00
Oliver Kiddle
f34d9be61b
19806: fix bug with %v prompt expansion and negative index beyond array start
2004-04-21 08:31:45 +00:00
Peter Stephenson
c1e47cb71f
19801: implement autoloading of trap functions
2004-04-20 12:57:27 +00:00
Oliver Kiddle
2c1f42366d
19767, 19785: store flags for -z and -k options to autoload allowing the
...
completion system to be used with ksh_autoload set
2004-04-20 12:38:15 +00:00
Oliver Kiddle
ca0deae382
19767, 19785: store flags for -z and -k options to autoload allowing the
...
completion system to be used with ksh_autoload set
2004-04-20 12:11:13 +00:00
Oliver Kiddle
8c890ebe7f
19800: reverse sense of `declare +m' test, -m now being allowed for declare
2004-04-20 11:51:03 +00:00
Clint Adams
acbd025a02
19798: rudimentary completion for bogoutil.
2004-04-19 20:58:47 +00:00
Peter Stephenson
b5ceb73026
zsh-users/7365: new TRAPS_ASYNC option
2004-04-19 16:02:17 +00:00
Clint Adams
55940daefb
* 19792: Completion/X/Command/_mplayer: complete .m2v and .m2p,
...
thanks to Rene H. Larsen.
2004-04-18 22:09:51 +00:00
Oliver Kiddle
53b0a922a2
19790: complete functions after -a and allow multiple -z/-k options
2004-04-17 21:07:16 +00:00