Site Map - skip to main content - dyslexic font - mobile - text - print

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


hpr1175 :: how to start irssi in screen after reboot

Using cron to start screen after a reboot and run irssi in it

<< First, < Previous, Latest >>

Host Image
Hosted by Lord Drachenblut on 2013-02-01 is flagged as Explicit and is released under a CC-BY-SA license.
Listen in ogg, spx, or mp3 format. | Comments (1)

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/
http://www.irssi.org/
http://en.wikipedia.org/wiki/Cron


Comments

Subscribe to the comments RSS feed.

Comment #1 posted on 2013-02-09T00:04:03Z by Peter64

Good stuff

Thanks Lord D, been wanting to know something like this for ages

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to
record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the P in HPR stand for ?
Are you a spammer →
Who hosted this show →
What does HPR mean to you ?