Use less as sms pager to allow scrollback
Signed-off-by: Stacy Harper <contact@stacyharper.net> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
cc8dc37015
commit
3bb3fb6094
1 changed files with 2 additions and 2 deletions
|
@ -108,9 +108,9 @@ senddrafttextmenu() {
|
||||||
|
|
||||||
tailtextlog() {
|
tailtextlog() {
|
||||||
if [ "$TERMMODE" != "true" ]; then
|
if [ "$TERMMODE" != "true" ]; then
|
||||||
st -e tail -n9999 -f "$LOGDIR/$1/sms.txt"
|
st -e less +F "$LOGDIR/$1/sms.txt"
|
||||||
else
|
else
|
||||||
tail -n9999 -f "$LOGDIR/$1/sms.txt"
|
less +F "$LOGDIR/$1/sms.txt"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue