Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!gatech!lll-lcc!seismo!mimsy!chris From: chris@mimsy.UUCP Newsgroups: comp.unix.questions Subject: R vs. r in Mail (and mailx?) (was Re: withdrawing mails) Message-ID: <5486@mimsy.UUCP> Date: Wed, 18-Feb-87 03:13:29 EST Article-I.D.: mimsy.5486 Posted: Wed Feb 18 03:13:29 1987 Date-Received: Thu, 19-Feb-87 06:49:52 EST References: <3126@osu-eddie.UUCP> <716@mit-amt.MEDIA.MIT.EDU> <2107@ptsfa.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 43 >In article <3134@osu-eddie.UUCP> lien@osu-eddie.UUCP (Yao-Nan Lien) writes: >>I didn't notice it and used 'r' as usual to reply the mail. In article <2107@ptsfa.UUCP> ssl@ptsfa.UUCP (Sam Lok) writes: >Next time, try 'R' instead of 'r'. With the current MAIL setup, there >nothing one can do except to see that it's a good lesson to learn from. :-) As distributed with 4BSD, the Mail program (/usr/ucb/[Mm]ail) sends a copy of a `r'eply to everyone, while a `R'eply goes only to the sender. This is arguably wrong (and equally arguably right: but I will not argue either side here); fortunately, there is a very easy way to change it on a per-user *and* per-site basis. If you would rather have `R' reply to all, and `r' only to the sender, say set Replyall in your .mailrc. If you wish this to affect everyone on the machine, put it in /usr/lib/Mail.rc instead. Those who do not like being so affected can put unset Replyall in their own .mailrc files. Alas, if you have a Sun running 3.0 or later, none of this works. Sun decided that `r'=>all, `R'=>sender was wrong (fine). To fix it, Sun should simply have set Replyall in their distributed /usr/lib/Mail.rc. Instead, they changed the source (ai!). This was a mistake indeed. Now instead of a Replyall variable, they have a replyall variable. If replyall is not set, one gets `r'=>sender, `R'=>all. To get predictable behaviour no matter where you are, one command no longer suffices: # If you like `r'=>sender, `R'=>all set Replyall unset replyall # but if you like `r'=>all, `R'=>sender unset Replyall set replyall -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) UUCP: seismo!mimsy!chris ARPA/CSNet: chris@mimsy.umd.edu