Commit Graph

15 Commits (7ea14eec84241da5ca5dce0df6d86fda45762858)

Author SHA1 Message Date
C. McEnroe b106440752 Set username from SSH_CLIENT in chroot 2021-05-27 15:53:02 +00:00
C. McEnroe 5e7c31b637 Log nick and ssh connection in chroot-prompt 2021-05-27 15:19:33 +00:00
C. McEnroe c501437735 Replace freenode with tilde.chat 2021-05-19 11:00:15 -04:00
Klemens Nanni 441f561f72 chat.tmux.conf: use config_files format for reload
The recent addition of "#{source_files}" allows us to avoid hardcoding
the file name and instead ask tmux itself for the very file it used to
create the session in the first place, i.e. "-f ./chat.tmux.conf".
2021-03-10 20:24:39 -05:00
Klemens Nanni ab744d74e1 chat.tmux.conf: Add help window for restricted mode, use neww -S
Provide a hotkey to browser the manual in its own window.

After input, nicm (tmux upstream) added "-S" to tmux(1) such that
the "new-window" command (in combination with "-d") first looks
for the given window name and selects the window if it exists
instead of trying to create a window that already exists.

Given that this makes chat.tmux.conf idempotent, we can now also reload
it at runtime to refresh settings.
2021-02-08 18:31:06 -05:00
Klemens Nanni 0c5730708f chat.tmux.conf: Improve respawn, fix comment
Only respawn the pane not the entire window to avoid killing other
possibly existing panes in the same window.
2021-02-03 14:31:44 -05:00
Klemens Nanni e1da93b0aa Add key bindings to chat.tmux.conf, nits 2021-01-28 16:00:04 -05:00
Klemens Nanni f944c6455d Add example tmux(1) config
Spawn one catgirl per network and handle reconnects through tmux,
no extra tool required.
2021-01-18 14:44:49 -05:00
C. McEnroe 444d4bda9a Fix chroot-man path 2020-07-31 12:49:54 -04:00
C. McEnroe 529028fe4a Use DisableForwarding in sshd_config 2020-06-25 00:40:00 -04:00
C. McEnroe 16b16a72e5 Replace int opt; while with for loop in sandman 2020-03-31 10:17:21 -04:00
C. McEnroe 9bed890aa8 Add sandman wrapper 2020-02-12 21:31:09 -05:00
C. McEnroe 180bbc7b38 Add -N flag for notifications 2020-02-12 20:12:34 -05:00
C. McEnroe fea344b7df Add .gz to chroot-man script 2020-02-11 22:43:25 -05:00
C. McEnroe 252428f97a Add chroot target 2020-02-11 22:28:39 -05:00