这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@john-peterson
Copy link

https://github.com/john-peterson/termux-tools/pull/new/wall

add termux-logout termux-title wall

termux-logout

this should cleanup on last session log out before TermuxService ends

~/.bash_logout
termux-logout

termux-title

run from

$SVDIR/title/run
#!/data/data/com.termux/files/usr/bin/sh
exec termux-title

or

~/.bash_login
start-stop-daemon --start --background --pidfile $HOME/title.pid -m -v --exec $PREFIX/bin/bash -- $PREFIX/bin/termux-title

~/.bash_logout
start-stop-daemon --stop --pidfile $HOME/title.pid --remove-pidfile -v

scroll down bug

this is currently broken so that every title update scroll down in the active terminal

i will submit a patch that disable scroll down for /dev/pts writes so that the terminal operator is the only scroller

it will be posted to

https://github.com/john-peterson/termux-app/commits/pts

wall

earlyoom use wall to broadcast memory maintenance

https://github.com/john-peterson/termux-packages/commits/earlyoom

$PREFIX/bin/earlyoom-wall
#!/bin/sh
wall $EARLYOOM_NAME was killed by earlyoom

@john-peterson john-peterson force-pushed the wall branch 2 times, most recently from bacf791 to de62263 Compare September 23, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant