From 3bb3fb6094a78248e9850a5bf5c5d413e00c4e48 Mon Sep 17 00:00:00 2001 From: Stacy Harper Date: Sat, 27 Mar 2021 13:58:29 +0100 Subject: [PATCH] Use less as sms pager to allow scrollback Signed-off-by: Stacy Harper Signed-off-by: Maarten van Gompel --- scripts/modem/sxmo_modemtext.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/modem/sxmo_modemtext.sh b/scripts/modem/sxmo_modemtext.sh index e9c981a..e32fd87 100755 --- a/scripts/modem/sxmo_modemtext.sh +++ b/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 }