summaryrefslogtreecommitdiff
path: root/Src/hist.c
AgeCommit message (Collapse)AuthorFilesLines
2000-07-31isalpha() -> ialpha(); avoid a compiler warning (12439)Sven Wischnowsky1-1/+1
2000-07-20Renamed shouldIgnoreLine() to should_ignore_line().Wayne Davison1-2/+2
2000-07-20Support "builtin" in the HIST_NO_STORE check.Wayne Davison1-3/+6
2000-07-19Removed remhist() and HA_JUNKED, added an Eprog arg to hend(), andWayne Davison1-25/+47
added the shouldIgnoreLine() function that hend() now calls to figure out if it needs to save the line or not.
2000-07-18+ Got rid of the spaceflag variable.Wayne Davison1-11/+8
+ Make sure that the curline.histnum variable is accurate at the end of our history processing, even if we read in some foreign history and/or if we replaced the prior line because it was a duplicate of the current one. This enables the history (fc -l) command to work properly, even if the current command was HIST_NO_SPACE-ed away. + Don't allow remhist() to remove the last line in the history if we didn't store the current command.
2000-07-17Fix the gethistent() function and enhanced the reliability of theWayne Davison1-9/+14
SHARE_HISTORY option.
2000-07-16+ Needed to call unmeta() in a few spots that used the HISTFILE name.Wayne Davison1-20/+36
+ The non-HAVE_LINK code in lockhistfile() was broken in a number of ways. + Added an extra unlink() call to the HAVE_LINK code in lockhistfile() since (Linix at least says that) O_EXCL over NFS is broken.
2000-07-13condition parsing with (z) flagSven Wischnowsky1-0/+4
2000-07-13slightly improved (z) flag for parsing conditions; recognising glob flags in ↵Sven Wischnowsky1-6/+9
conditions still doesn't work (12237)
2000-07-12fix for (z) flag, don't take # as comment (12228)Sven Wischnowsky1-3/+4
2000-05-30AIX depenency fix (11661)Oliver Kiddle1-1/+1
2000-05-30Wayne: Fix two history bugs that were causing theBart Schaefer1-20/+19
failure of `print -s'.
2000-05-23save and restore more variables in bufferwords(); move gotword() into core ↵Sven Wischnowsky1-1/+6
(11523)
2000-05-05Wayne: fix for print -s when called from widget; added lines are not ↵Sven Wischnowsky1-25/+44
immediately available, though (11171)
2000-05-03fix for the (z) flag: report partial word (like `"foo', without a closing ↵Sven Wischnowsky1-0/+5
quote); mention in manual that (z) is handled lately (11117)
2000-05-03new (z) parameter flag to do shell-word splitting on the value (11113)Sven Wischnowsky1-3/+25
2000-04-12new widget copy-prev-shell-word, like copy-prev-word but uses shell parsing ↵Sven Wischnowsky1-292/+719
to find word (10685)
1999-04-15Initial revisionTanaka Akira1-0/+1670