newt: write message header and body to virtual file before printing, to avoid stutter
parent
3dbc32d794
commit
ab2838aa39
|
@ -103,17 +103,19 @@ y synchronize message list with server
|
||||||
}
|
}
|
||||||
fn printp{
|
fn printp{
|
||||||
if(test -d $mnt/$group/$1){
|
if(test -d $mnt/$group/$1){
|
||||||
|
{ # don't stutter
|
||||||
grep -e '(^From|^Newsgroups|^Subject|^Date)' $1/header
|
grep -e '(^From|^Newsgroups|^Subject|^Date)' $1/header
|
||||||
echo
|
echo
|
||||||
cat $1/body
|
cat $1/body
|
||||||
|
} >/tmp/p
|
||||||
|
cat /tmp/p
|
||||||
}
|
}
|
||||||
echo
|
echo
|
||||||
prompt=$group/$1
|
prompt=$group/$1
|
||||||
}
|
}
|
||||||
fn printpp{
|
fn printpp{
|
||||||
if(test -d $mnt/$group/$1){
|
if(test -d $mnt/$group/$1)
|
||||||
cat $1/article
|
cat $1/article
|
||||||
}
|
|
||||||
echo
|
echo
|
||||||
prompt=$group/$1
|
prompt=$group/$1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue