Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!rochester!ritcv!moscom!jgp From: jgp@moscom.UUCP (Jim Prescott) Newsgroups: comp.mail.misc,comp.sources.wanted,comp.unix.questions Subject: Re: UCB Mail with reply include Message-ID: <1053@moscom.UUCP> Date: Thu, 10-Sep-87 19:36:23 EDT Article-I.D.: moscom.1053 Posted: Thu Sep 10 19:36:23 1987 Date-Received: Sat, 12-Sep-87 17:48:42 EDT References: <1392@bloom-beacon.MIT.EDU> <890@bakerst.UUCP> Reply-To: jgp@moscom.UUCP (Jim Prescott) Organization: MOSCOM Corp, E. Rochester, NY Lines: 29 Keywords: mail replies, mailx, inclusion, cute little whatevers Summary: ~ escapes work in both Mail and mailx. >'s belong on blank lines too. Xref: mnetor comp.mail.misc:528 comp.sources.wanted:2202 comp.unix.questions:4008 In article <890@bakerst.UUCP> kathy@bakerst.UUCP (Kathy Vincent) writes: >In article <1392@bloom-beacon.MIT.EDU> xev@hstbme.mit.edu.UUCP (Xev Gittler) writes: >>Does anybody have, or know of, a version of variant of Berkeley Mail that >>allows inclusion of letters into replies, complete with those cute >>little '>' or whatever? Use the reply or mail commands to start a message and enter ~f to read in the current message or ~f# to read in message number #. Then using ~v will allow you to edit the message in your visual editor (environment variable $VISUAL, probably vi or an emacs). ~? will list all the ~ commands. The above work for both Berkeley Mail and SysV mailx. >Once in [vi], I enter the following command: > :v/^$/s/^/ > / >That is, look for every nonblank line, and, at the beginning of >those lines, put " > ". How about using: :%s/^/>/ instead. Insert a ">" at the beginning of every line. If you leave blank lines alone then there is no easy way to tell where the included text ends. If every included line starts with the same character it is simple to skip it if you wish. If your mailer uses more or pg to paginate the command is: /^[^>] which searches for a line that starts with something other than a '>'. The tab command in rn does the same thing. -- Jim Prescott moscom!jgp@cs.rochester.edu {rutgers,ames,cmcl2}!rochester!moscom!jgp