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>
master
Stacy Harper 4 years ago committed by Maarten van Gompel
parent cc8dc37015
commit 3bb3fb6094
  1. 4
      scripts/modem/sxmo_modemtext.sh

@ -108,9 +108,9 @@ senddrafttextmenu() {
tailtextlog() {
if [ "$TERMMODE" != "true" ]; then
st -e tail -n9999 -f "$LOGDIR/$1/sms.txt"
st -e less +F "$LOGDIR/$1/sms.txt"
else
tail -n9999 -f "$LOGDIR/$1/sms.txt"
less +F "$LOGDIR/$1/sms.txt"
fi
}

Loading…
Cancel
Save