newt: write message header and body to virtual file before printing, to avoid stutter
This commit is contained in:
parent
3dbc32d794
commit
ab2838aa39
1 changed files with 7 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue