Comment on Scripting GNU Screen with PythonparentComments−pavel_lishin15y> I have irssi configured to set my status to away when the screen is detachedHow do you do that? I've tried looking at the documentation for irssi, and it's god-awful.−LordLandon15yI 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;'−zaphar15yI use this script: https://bitbucket.org/zaphar/dotfiles/src/tip/.irssi/scripts...−mattdawson15yI 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]
Comments
> 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.
I have .screenrc_im
and a bash aliasI use this script: https://bitbucket.org/zaphar/dotfiles/src/tip/.irssi/scripts...
I 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]