Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add termux-logout termux-title wall #127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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

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