On 20 Jun 2021, paulie420 said the following...
However, with all thinks terminal based I also encourage folks t tmux. Tmux is a terminal multiplexer and makes terminal computin joy.
I like tmux, and especially useful when you want to share a session w someone to help or show something or work on something together. Very useful.
Christian aka MeaTLoTioN
I've been learning and using screen - mainly because it was what was already installed on my system; is there much difference or reason for
me to switch to Tmux before I get too acquainted with screen?
I now run ./mis server in screen because I want that terminal available
to view. Hmmmm - I wonder if I can make that a service or at least load
at boot. :P
I run ./mis as a daemon, never use the "server" part, all the logs show what I need if I need to look in them. I have ./mis starting as daemon on boot.
In my crontab I have this;
@reboot /mystic/start.sh
... and the contents of that script are;
#!/bin/bash
sem="/mystic/semaphore"
pid=$(ps aux | grep "./mis root" | grep -v grep | awk -F " " '{ print $2 }')
cd /mystic/
if [ -f $sem/mis.bsy ]; then
if [[ "$pid" -lt 1 ]]; then
# remove *.bsy if mis really isn't running and then start it.
rm $sem/*.bsy
./mis root /mystic/ daemon
else
# do nothing as it's already running
echo "Server already running."
fi
else
echo "Server not running, starting it now."
./mis root /mystic/ daemon
fi
Anyway, wondering if tmux is much better than screen.
I use screen mostly, tmux and screen are "similar" for what I use them for, I think tmux is more complex, but not much more difficult to use, they just are different applications to do the same job, while one does more than the other I
think.
I like tmux in that I can create a layout of tiles, think a tiling window manager but tmux is doing it instead of my twm.
---
|14Best regards,
|11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N
|07ÄÄ |08[|10eml|08] |
15ml@erb.pw |07ÄÄ |08[|10web|08] |15www.erb.pw |07ÄÄÄ¿ |07ÄÄ |08[|09fsx|08] |1521:1/158 |07ÄÄ |08[|11tqw|08] |151337:1/101 |07ÂÄÄÙ |07ÄÄ |08[|12rtn|08] |1580:774/81 |07ÄÂ |08[|14fdn|08] |152:250/5 |07ÄÄÄÙ
|07ÄÄ |08[|10ark|08] |1510:104/2 |07ÄÙ
--- Mystic BBS v1.12 A47 2020/12/04 (Linux/64)
* Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (1337:1/101)