tmux and irssi
Grenzland Club has both tmux and irssi. With these two, you can connect to our Grenzland chat and stay online indefinitely, even if you are not logged in to the remote machine.
See the irssi tutorial for an introduction to irssi.
The tmux and irssi integration works like this:
- connect to
grenzland.club:
ssh
Or if your connection is bad:
mosh - on
grenzland.club:
tmux - within
tmux:
irssi - within
irssi:
/set nick your_name
Pick a nickname you want to use. - continue within
irssi:
/connect grenzland
This network comes predefined if you’re ongrenzland.club. - and finally, still within
irssi:
/join #welcome
When you’re done chatting, you don’t quit.
Instead, you detach from tmux so it continues running in the background, keeping your irssi session alive.
It does that even if you close the connection to grenzland.club.
To detach from your tmux session, press Ctrl B (the prefix key) and then press d (to detach).
Now you can use exit to leave tmux and another exit to leave ssh or mosh.
Ctrl B is the key reserved for tmux. This makes Emacs users sad.
Later, you want to attach to that tmux session again:
- connect to
grenzland.clubusingssh(ormoshif your connection is bad) - on
grenzland.club, runtmux attachto attach to the running sessions
And you’re back!
If you really want to quit your irssi session:
- issue the
irssicommand/quit - issue the
tmuxcommandexit - issue the shell comand
exitto quit the shell and endsshormosh