Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


HPR1175: how to start irssi in screen after reboot

Hosted by Lord Drachenblut (R.I.P.) on 2013-02-01 00:00:00
Download or Listen

In this episode Lord Drachenblut shows us how to start irssi in screen after reboot.

crontab -e # opens editor for crontab 
@reboot /usr/bin/screen -dmUS irc /usr/bin/irssi

-d -m Start screen in "detached" mode. This creates a new session but doesn't attach to it. This is useful for system startup scripts.
-U Run screen in UTF-8 mode. This option tells screen that your terminal sends and understands UTF-8 encoded characters. It also sets the default encoding for new windows to `utf8'.
-S sessionname When creating a new session, this option can be used to specify a meaningful name for the session. This name identifies the session for "screen -list" and "screen -r" actions. It substitutes the default [tty.host] suffix.
https://www.gnu.org/software/screen/
https://www.irssi.org/
https://en.wikipedia.org/wiki/Cron

Comments



More Information...


Copyright Information

Unless otherwise stated, our shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.

The HPR Website Design is released to the Public Domain.