5 ms·
I use screen very heavily. One of my favourite although somewhat frivolous uses is running irssi on screen from my home box. I have irssi configured to set my s
by zaphar 16y ago
I use screen very heavily. One of my favourite although somewhat frivolous uses is running irssi on screen from my home box. I have irssi configured to set my status to away when the screen is detached and having the chat session be persistent is a huge help.
Also I've used screen as a poor mans daemon tools to run various apps in the background as a service. I even at one point had a skeleton init script that used screen to run any command as a daemon. I should see if I can find that actually and get it on github so I can find it the next time I need it.
- pavel_lishin 16y ago> I have irssi configured to set my status to away when the screen is detached How do you do that? I've tried looking at the documentation for irssi, and it's god-awful.
- mattdawson 16y agoI would also love to know how you do this. I like being a good irc citizen, and I'm always forgetting to set my status. [edit: see here - http://news.ycombinator.com/item?id=1781074 http://news.ycombinator.com/item?id=1781074]
- LordLandon 16y agoI have .screenrc_im source ~/.screenrc sessionname im bind ^D eval 'at naim stuff "/away Detached!\012"' 'at irssi stuff "/away Detached!\012"' 'detach' bind d eval 'at naim stuff "/away Detached!\012"' 'at irssi stuff "/away Detached!\012"' 'detach' screen -t naim naim screen -t irssi irssi and a bash alias alias im='if detached im; then screen -S im -pirssi -X eval "stuff /away\012"; screen -S im -pnaim -X eval "stuff /away\012"; screen -r im; else screen -x im; fi;'
- zaphar 16y agoI use this script: https://bitbucket.org/zaphar/dotfiles/src/tip/.irssi/scripts/autorun/screen_away.pl https://bitbucket.org/zaphar/dotfiles/src/tip/.irssi/scripts...