[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Lynx & email
From: |
Klaus Weide |
Subject: |
Re: lynx-dev Lynx & email |
Date: |
Sat, 13 Feb 1999 18:55:29 -0600 (CST) |
And from the arcane mail scripts department...
If you use mh or nmh (or at least have it installed), you might
enjoy this, although it's quite rough. (Doesn't repaint the screen,
for one thing.)
lynx.cfg:
SYSTEM_MAIL:/usr/local/bin/lynxmailprompt.sh
lynxmailprompt.sh:
#!/bin/bash
PATH=$PATH:/usr/bin/mh
exec &>/dev/tty
tmpfn=/tmp/$$.mail
trap "exec </dev/tty &>/dev/tty;stty sane;whatnow $tmpfn;stty raw -echo" 0
cat - >>$tmpfn
This operates at a different level from the other script ideas.
Mail is composed with lynx as usual, but when it's time to send it,
"whatnow" gives me a chance to decide whether I really want to send it,
make a copy, etc.
Klaus