Commit a4458c39 a4458c39ad1328bde58569de5e0d3152ff7183c8 by Sergey Poznyakoff

Fixed behavior in send mode when the stdin is not a terminal

(i.e. when used as mail addr@dom.ain < message): do not ask
for cc, bcc, and do not echo the contents of the message
(when compiled with readline).
1 parent fc01a6b1
Showing 1 changed file with 16 additions and 0 deletions
2001-10-26 Sergey Poznyakoff
Fixed behavior in send mode when the stdin is not a terminal
(i.e. when used as mail addr@dom.ain < message): do not ask
for cc, bcc, and do not echo the contents of the message
(when compiled with readline).
* mail/mail.c: Use ml_readline(). Check for `!interactive' and
force appropriate settings _after_ sourcing mail.rc files.
Force `set quiet' if in non-interactive mode.
* mail/mail.h: Declaration for ml_readline().
* mail/mailline.c: New functions ml_readline_internal(),
ml_readline().
* mail/send.c: Use ml_readline().
* mail/source.c: Do not complain if the file does not exist.
2001-10-24 Alain Magloire
* configure.in: Check for getdelim().
......