Xref: utzoo comp.mail.misc:1159 comp.unix.questions:8752
Path: utzoo!utgpu!attcan!uunet!husc6!cmcl2!rutgers!ucsd!ucbvax!decwrl!decvax!watmath!sahayman
From: sahayman@watmath.waterloo.edu (Steve Hayman)
Newsgroups: comp.mail.misc,comp.unix.questions
Subject: Re: strange timing problem in /usr/ucb/Mail
Message-ID: <20326@watmath.waterloo.edu>
Date: 11 Aug 88 05:33:24 GMT
References: <13@catwoman.ACA.MCC.COM> <12936@mimsy.UUCP>
Reply-To: sahayman@watmath.waterloo.edu (Steve Hayman)
Organization: Math Faculty Computing Facility, U. of Waterloo
Lines: 23

Chris Torek discusses problems with Mail's "~h" and TIOCSTI and
suggests
>Either way, just changing Mail will not do it.
>
>(Another possibility is to make Mail run in cbreak mode, and have it
>simulate the kernel's tty input editor.  There is or was code in Mail
>to do this.  This solution is at least as unsatisfactory as TIOCSTI.)

Another another possibility is to arrange that "~e" and "~v"
in Mail let you edit the whole message, headers and all.  We did that
here (actually we added "~E" and "~V" commands, to edit the
whole message as opposed to just the text), which sort of
eliminates the need for this TIOCSTI stuff.  (and which also
lets you add neat headers like "Return-Receipt-To:".)

If anyone's interested in these changes, let me know and I can try
to make them into a patch.

..Steve

-- 
Steve Hayman         Math Faculty Computing Facility     University of Waterloo
watmath!sahayman        sahayman@math.waterloo.edu        sahayman@water.bitnet