Revert "Use less as sms pager to allow scrollback"
This reverts commit 3bb3fb6094
.
We cannot use this special less argument as it is not busybox less
compatible.
I add busybox aliases to not reproduce the error in the future.
Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
cddec4205d
commit
18361bd681
3 changed files with 5 additions and 3 deletions
|
@ -32,6 +32,8 @@ alias find="busybox find"
|
|||
alias pkill="busybox pkill"
|
||||
alias pgrep="busybox pgrep"
|
||||
alias xargs="busybox xargs"
|
||||
alias less="busybox less"
|
||||
alias tail="busybox tail"
|
||||
|
||||
SXMO_COMMON_INCLUDED=1
|
||||
|
||||
|
|
|
@ -172,7 +172,7 @@ checkfornewtexts() {
|
|||
|
||||
sxmo_notificationwrite.sh \
|
||||
random \
|
||||
"st -T '$NUM SMS' -e less +F '$LOGDIR/$NUM/sms.txt'" \
|
||||
"st -T '$NUM SMS' -e tail -n9999 -f '$LOGDIR/$NUM/sms.txt'" \
|
||||
"$LOGDIR/$NUM/sms.txt" \
|
||||
"Message - $CONTACTNAME: $TEXT"
|
||||
|
||||
|
|
|
@ -108,9 +108,9 @@ senddrafttextmenu() {
|
|||
|
||||
tailtextlog() {
|
||||
if [ "$TERMMODE" != "true" ]; then
|
||||
st -T "$1 SMS" -e less +F "$LOGDIR/$1/sms.txt"
|
||||
st -T "$1 SMS" -e tail -n9999 -f "$LOGDIR/$1/sms.txt"
|
||||
else
|
||||
less +F "$LOGDIR/$1/sms.txt"
|
||||
tail -n9999 -f "$LOGDIR/$1/sms.txt"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue