~mil/sxmo-utils

3bb3fb6094a78248e9850a5bf5c5d413e00c4e48 — Stacy Harper 8 months ago cc8dc37
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>
1 files changed, 2 insertions(+), 2 deletions(-)

M scripts/modem/sxmo_modemtext.sh
M scripts/modem/sxmo_modemtext.sh => scripts/modem/sxmo_modemtext.sh +2 -2
@@ 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
}