added subroutine setfile to make changing input files easy;
authorKurt A. Schoens <kas@ucbvax.Berkeley.EDU>
Fri, 10 Oct 1980 05:34:59 +0000 (21:34 -0800)
committerKurt A. Schoens <kas@ucbvax.Berkeley.EDU>
Fri, 10 Oct 1980 05:34:59 +0000 (21:34 -0800)
commite5717bff6e534fb619b43b369c2ea1994d085136
treef340cff76ae59740295a11014b18f6da3a8346b7
parent838681f8ae1aba414a151d0ecf0142d398688493
added subroutine setfile to make changing input files easy;
added checks for commands which cannot be executed in read only mode;
changed announce() to print out [Read only] when appropriate.

SCCS-vsn: usr.bin/mail/lex.c 1.3
usr/src/usr.bin/mail/lex.c