Clint Adams
ac4d669afb
145??: fix thinko
2001-05-29 21:41:53 +00:00
Clint Adams
e56c42c9fe
145??: repeat last vi history search if search string is blank
2001-05-29 20:20:34 +00:00
Clint Adams
23e2a3e5f8
14541: %# with capabilities prompt-expand to # iff Effective set non-empty or euid=0
2001-05-29 15:09:06 +00:00
Sven Wischnowsky
1bb5d5aeb5
print at least a warning when disowning a stopped job (14524)
2001-05-29 09:49:58 +00:00
Clint Adams
c58a4e7e28
14517: glibc 2.2.3 tweaks revisited
2001-05-28 23:26:23 +00:00
Bart Schaefer
ecbc4e4457
Silence compiler warnings.
2001-05-28 17:39:00 +00:00
Sven Wischnowsky
1d5fbf228d
fix for cursor positioning with that -y option of compctl (display strings) (14507)
2001-05-28 11:42:00 +00:00
Sven Wischnowsky
5fe1924155
make the zprof wrapper function be more careful, avoiding almost all of the code when the module is being unloaded (14504)
2001-05-28 09:23:39 +00:00
Sven Wischnowsky
96fd8a11d3
another attempt at fixing the job problem from 14327; make execpline() reset list_pipe_job to zero if it would be set for a job started in the background (14503)
2001-05-28 09:00:21 +00:00
Wayne Davison
f18dca3266
Fixed acceptandinfernexthistory() to work when called repeatedly.
...
Also changed it to not accept the line if the infer fails. Ignore
transient edits in the history when searching for an inference and
grabbing the next line (affecting acceptandinfernexthistory(),
infernexthistory(), and acceptlineanddownhistory()).
2001-05-26 20:57:16 +00:00
Oliver Kiddle
b5ad8bf0de
add mod_export in a couple of places where it was missing
2001-05-23 08:53:11 +00:00
Clint Adams
f670ec692f
14419: glibc 2.2.3 rlimits enum
2001-05-21 17:02:59 +00:00
Andrey Borzenkov
7270c28a39
14401: workaround for script execution under Cygwin
2001-05-20 10:59:27 +00:00
Wayne Davison
792135ba0b
Added some array-assignment boundary checks.
2001-05-20 09:20:46 +00:00
Peter Stephenson
6ea2dab092
Fix, test and comment unsetting and resetting of special tied parameters
2001-05-19 23:47:58 +00:00
Wayne Davison
f99520aeb0
Don't merge a HIST_TMPSTORE entry with a previous "duplicate" line.
...
Also, don't call addhistnode() on a HIST_TMPSTORE entry.
2001-05-19 09:22:10 +00:00
Wayne Davison
7e17db1fdc
The function addhistnode() is no longer called for a HIST_TMPSTORE
...
entry, so I removed the checking for that flag. Also, freehistdata()
now avoids calling removehashnode() on a HIST_TMPSTORE entry.
2001-05-19 09:22:07 +00:00
Bart Schaefer
90a1316345
Fix re-set of integer special params after unset.
2001-05-19 00:31:22 +00:00
Peter Stephenson
4544933427
fix zmodload -uf for not-yet-loaded function
2001-05-18 15:23:08 +00:00
Sven Wischnowsky
11e3147466
try to make ${(e)..} work for complicated parameter expansions in the value; this means: keep Qstring tokens unchanged if they are inside double quotes and tokenizing patterns in parameter expansions (14381)
2001-05-18 12:39:24 +00:00
Bart Schaefer
071b084ea8
Signal queuing tweak.
2001-05-17 15:56:12 +00:00
Sven Wischnowsky
8e20d1da63
more fixage for expansion: just convert the command line to the original when expansion shouldn't or couldn't do something sensible on the line (14359)
2001-05-16 10:27:06 +00:00
Wayne Davison
4a28d81c47
Added HIST_TMPSTORE define.
2001-05-15 16:32:28 +00:00
Wayne Davison
9f9ced8c62
+ Changed histreduceblanks() to preserve spaces at the start of the
...
line when HISTIGNORESPACE is set.
+ Flag a history entry with HIST_TMPSTORE when should_ignore_line()
returns true (instead of dropping it from the history immediately).
+ Get rid of old HIST_TMPSTORE entries when a new command is entered.
+ The hist-file-reading code now handles destroying a foreign
duplicate (when marked as duplicate by addhistnode()).
2001-05-15 16:32:25 +00:00
Wayne Davison
eb71464b09
Changed addhistnode() to not displace an already-hashed command with
...
one that is marked HIST_TMPSTORE. Also changed the function to not
ever destroy the entry we're currently adding (the caller now destroys
the newly-added entry, if it so desires).
2001-05-15 16:32:22 +00:00
Sven Wischnowsky
dc9d78c659
(14350)
2001-05-15 13:52:22 +00:00
Peter Stephenson
231f077a75
14348: fix globalexport with typeset -g
2001-05-15 10:02:34 +00:00
Sven Wischnowsky
a2a1c2411a
calculate the length of the region to map (for mapped zwc files) correctly, including the offset-page-boundary-adjustment (14346)
2001-05-15 08:38:59 +00:00
Sven Wischnowsky
015120a287
set list_pipe_job only for real pipelines (14327)
2001-05-14 08:51:59 +00:00
Peter Stephenson
7f7e58935b
14314: writing const variable under cygwin
2001-05-11 12:59:50 +00:00
Wayne Davison
6066bd7eeb
Fixed an obscure local-history bug that could make the "history"
...
command output something that was slightly wrong. (14304)
2001-05-10 23:06:54 +00:00
Andrey Borzenkov
69f010c8c9
users/3872: rename inet_* routines to avoid clash with Solaris 7 headers.
2001-05-10 16:57:28 +00:00
Sven Wischnowsky
2c38f5bba1
barf if a empty string is given as one of the separators for _values (14293)
2001-05-10 08:52:30 +00:00
Peter Stephenson
b6a44fae76
Back off 14140 (tokenize comma)
2001-05-09 09:00:19 +00:00
Sven Wischnowsky
83032fe876
add -S option to specify separator between values and their arguments; make _values add the value-separator as a suffix for most types of actions (14257)
2001-05-08 12:24:21 +00:00
Peter Stephenson
8ff0785863
Fixes from Andrej for zpty on cygwin
2001-05-08 10:26:58 +00:00
Sven Wischnowsky
a3e01003c8
print space/backspace when reacing the last column while printing descriptions and the like to avoid a cursor positioning bug depending on the kind of terminal (autowrap) (14251)
2001-05-08 08:14:33 +00:00
Bart Schaefer
5aa1c04fd6
Prevent "no multi-letter values" error on values of '\:' and '' in compvalues().
2001-05-06 22:37:51 +00:00
Sven Wischnowsky
1e79a3424f
14214
2001-05-03 07:13:37 +00:00
Peter Stephenson
6a0c6b1b27
Make X{$~foo}Y where $foo contains commas behave as expected
2001-05-02 09:53:32 +00:00
Sven Wischnowsky
ca29f22a86
remove quotes when looking at arguments in comparguments (14198)
2001-05-02 09:23:07 +00:00
Peter Stephenson
0b56c15853
Use BDIGBUFSIZE in two other places
2001-05-01 09:46:09 +00:00
Andrey Borzenkov
cd5e39ef50
Bart 14144: fix compilation problem on current Cygwin 1.3.1 (macros were
...
changed to external variables and cannot be used to initialize static array).
Modified by me __CYGWIN -> __CYGWIN__
2001-04-30 10:40:50 +00:00
Bart Schaefer
ba9541fb5d
BDIGBUFSIZE for binary conversions.
2001-04-28 17:38:00 +00:00
Clint Adams
ee404f2cff
14125: remove static incleanup flag because it is unused
2001-04-26 15:54:06 +00:00
Clint Adams
6dc04f1329
14123: don't include curses.h in termcap.c if term.h doesn't need it
2001-04-26 15:48:14 +00:00
Bart Schaefer
17539b1e2c
Another HAVE_TERM* compilation tweak.
2001-04-26 14:35:53 +00:00
Sven Wischnowsky
aa99b19c08
rename -W option to -w, add new -W option which makes _arguments complete options even after options that get their argument in the same word; new _guard function for conditionally displaying messages (14105)
2001-04-26 12:13:36 +00:00
Sven Wischnowsky
f18218f2ad
fix a sizeof() to strlen()
2001-04-25 09:05:10 +00:00
Bart Schaefer
8baeec4637
Fix term* linkage _again_.
2001-04-24 06:48:54 +00:00