newt: write message header and body to virtual file before printing, to avoid stutter

This commit is contained in:
stanley lieber 2014-04-25 09:25:08 -04:00
parent 3dbc32d794
commit ab2838aa39

View file

@ -103,17 +103,19 @@ y synchronize message list with server
}
fn printp{
if(test -d $mnt/$group/$1){
{ # don't stutter
grep -e '(^From|^Newsgroups|^Subject|^Date)' $1/header
echo
cat $1/body
} >/tmp/p
cat /tmp/p
}
echo
prompt=$group/$1
}
fn printpp{
if(test -d $mnt/$group/$1){
if(test -d $mnt/$group/$1)
cat $1/article
}
echo
prompt=$group/$1
}