Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!decwrl!hplabs!hp-pcd!hplsla!hpubvwa!grlab!scott From: scott@grlab.UUCP (Scott Blachowicz) Newsgroups: comp.mail.mush Subject: Can I do these? Message-ID: <7330005@grlab.UUCP> Date: 12 May 89 21:08:16 GMT Organization: Graphicus Lines: 25 Is there a way to do (or request enhancement or fix bug): 1) Can I pipe a UN*X command into a Mush variable? This is so I can do something like this in my .mushrc: expr '${COLUMNS:-80}' - 54 | set subject_len set hdr_format = "%22n %M%-02N %T (%-3.5lL)%.${subject_len}s" ...or... set subject_len = "`expr '${COLUMNS:-80}' - 54`" set hdr_format = "%22n %M%-02N %T (%-3.5lL)%.${subject_len}s" 2) With the above hdr_format, the "%n" field will substitute something like "TO: addressee" if mush recognizes me as the sender. It looks like is only looking at the username field of an address that looks like "other_site!scott" and comparing with my username. Seems it should look at the user's machine name (the alts command list), too. Am I missing a variable setting somewhere or is it supposed to work this way? 3) Is there some way to have the curses mode "update" command go ahead and update the folder without asking? Thanx, Scott Blachowicz USPS: Graphicus UUCP: ...!hpubvwa!grlab!scott 150 Lake Str S, #206 VoicePh: 206/828-4691 Kirkland, WA 98033 FAX: 206/828-4236