Hi,

I am running Gentoo linux on my PC as on my embedded system, which is
a Beaglebone Black (ARM).

Since Gentoo is Linux distribution based on source code (everything
has to be compiled on the target) I have to compile updated to the
system natively on the Beaglebone Black (I tried crosscompiling/distcc
and other thing and had made very mixed experiences...).

I login on my Beaglebone via ssh using this command:
ssh -t root@<ip-address> screen -R -d

The command starts screen on the Beaglebone or attaches to an already 
running screen session.

This is very handy, since I can detach from my Beaglebone while it is
compiling for example the Linux kernel (which takes about eight hours
by the way...) while I can power down the PC.

On the Beaglebone I am using zsh.

To make this work I have to remember to use C-a d to detach from a
login instead of CTRL-D to exit, since this would kill screen.

Autodetach does NOT work as expected here...

I will give tmux a try to see, whether it works for me better than
screen in this environment. I already have compiled/installed tmux 
on the Beaglebone Black

For that to explore I have two questions:

What is the above ssh-command in case of tmux to acchieve the same as
with using screen ?

How can I prevent tmux from being killed/terminated when I (again)
forget to detach from tmux and use CTRL-D/exit from zsh?

Thank you very much in advance for any help!

Best regards,
mcc




------------------------------------------------------------------------------
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to