home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
unix
/
volume18
/
mush6.4
/
part01
/
README-6.2
< prev
next >
Wrap
Text File
|
1989-03-12
|
3KB
|
79 lines
main.c --
New command line argument "-F file". The file is sourced after
the folder has been read in. There have been requests to allow
commands which manipulate messages to be in the .mushrc, but since
that can't be done without being able to expand possible shell
arguments such as "+folder", an additional source file can be
executed before IO to the user happens by specifying this filename.
If the flag given is "-F!", then the mush will exit once it is
finished with the commands in the file.
main.c, mail.c, viewopts.c --
A new variable called "tmpdir" has been added. This path describes
the location for all temporary files that mush creates. If not set,
mush will use the user's home directory. If neither is accessible
and writable, then /tmp (defined in config.h) is used.
misc.c --
when invoking a pager, sometimes cbreak was not getting set. It
wasn't easily reproducible because of a race condition set by a
system call.
pick.c --
There is a new option to the "pick" command called -ago. Now you
can pick messages relative to today's date.
pick -ago 2 weeks
will find all messages two weeks old. The + and - modifiers will
extend time searches:
pick -ago +2 days
will find all messages from two days ago to current.
pick -ago -1w
will find all messages from one week ago and back. You can specify
days, weeks, months and years and the syntax is extremely simple.
pick -ago 2 weeks 1 day
pick -ago 1d 2w
pick -ago 1 DAY, 2 WEEKS
pick -a 1d2w
are all equivalent. Note that months map to 30.5 days so March may
be confusing.
The -d option to pick used to specify that dates preceded by '-' meant
"on or before" and if there was no '-', then it defaulted to "on or after."
It was difficult to find messages on a specific date only. So now, the
change is that "on or after" is specified by preceding a '+' before the
date. thus,
pick -d 5/2
*used* to find messages dated on or after May 2. Now, it only finds
messages on May 2 only. To do messages on or after May 2, specify:
pick -d +5/2
help.c --
help now sends output thru the internal pager in case the
help message is very long. pick -? may be the only problem, but now
it's set up to handle arbitrarily long help messages.
mail.c --
You can specify the internal pager use "~p internal" while editing
a message.
Autosigning now precedes the signature file with "\n-- \n" for
compatibility with news and other programs.
execute.c --
A "syntax" type error would cause xenix systems to incorrectly
evaluate the wait() loop. The change:
while ((pid = wait(&status) != -1) && ...
has been changed to:
while ((pid = wait(&status)) != -1 && ...
mush.1 --
The man page has been updated as well to reflect the above changes.