ca13337dfe
- Remove all longjmp(3) calls from signal handlers. Instead, we post to an internal signal queue and check that periodically. All signal related code is now in sig.c, except for the SIGCHLD handler which remains in popen.c as it is intimately tied to routines there. - Handle SIGPIPE in type1() regardless of mime support, or else the handler in execute() will prevent our error code from being returned resulting in 'sawcom' not being set on the first command as it should. This only affected the initial behavior of the "next" command without mime support. - Add the 'T' flag to many commands in cmdtab.c that should not look like the first command. E.g., start mail on a mailbox with multiple messages, run "set foo", then "next", and watch the second message get displayed rather than the first as is the case without the first "set" command. - Add file descriptor and file handle leak detection. Enabled by DEBUG_FILE_LEAK. This will likely disappear in the future. - Fix a long standing (since import in 1993) longjmp() bug in edstop(): the jmpbuf was invalid when quit() is called at the end of main. - Fix a long standing bug (since import in 1993) in snarf() where it didn't strip whitespace correctly if the line consisted only of whitespace. - Lint cleanup. - New Feature: "Header" command. This allows miscellaneous header fields to be added to the header, e.g., "X-Organization:" or "Reply-To:" fields. - New Feature: "page-also" variable. This allows the specification of additional commands to page. It is more flexible than "crt". - Document the "pager-off" variable: if set, it disables paging entirely. |
||
---|---|---|
.. | ||
misc | ||
USD.doc | ||
cmd1.c | ||
cmd2.c | ||
cmd3.c | ||
cmd4.c | ||
cmdtab.c | ||
collect.c | ||
complete.c | ||
complete.h | ||
def.h | ||
dotlock.c | ||
edit.c | ||
extern.h | ||
fio.c | ||
format.c | ||
format.h | ||
getname.c | ||
glob.h | ||
head.c | ||
lex.c | ||
list.c | ||
mail.1 | ||
main.c | ||
Makefile | ||
mime_attach.c | ||
mime_attach.h | ||
mime_child.c | ||
mime_child.h | ||
mime_codecs.c | ||
mime_codecs.h | ||
mime_decode.c | ||
mime_decode.h | ||
mime_detach.c | ||
mime_detach.h | ||
mime_header.c | ||
mime_header.h | ||
mime.h | ||
names.c | ||
pathnames.h | ||
popen.c | ||
quit.c | ||
rcv.h | ||
send.c | ||
sig.c | ||
sig.h | ||
strings.c | ||
support.c | ||
temp.c | ||
thread.c | ||
thread.h | ||
tty.c | ||
v7.local.c | ||
vars.c | ||
version.c |