For you Linux users... what's your pick - screen or tmux, and why?
Thanks.
For you Linux users... what's your pick - screen or tmux, and why?
For you Linux users... what's your pick - screen or tmux, and why?
Thanks.
... All hope abandon, ye who enter messages here.
--- MultiMail/Linux v0.52
¨ Synchronet ¨ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
Arelor wrote to Gamgee <=-
For you Linux users... what's your pick - screen or tmux, and why?
I got started with screen, but nowadays I use tmux more often.
The main reason is that it is in OpenBSD's base install, so I
just got used to it. It is also licensed under a BSD-like
license, if you care about such things. In addition, its keyboard
commands are a bit easier for my fingers.
In the end of the day it is just another Vim vs Emacs war.
acn wrote to Gamgee <=-
For you Linux users... what's your pick - screen or tmux, and why?
I'm using screen, just because that's the command I learned first
and it works just fine for the purposes I need it, which are
mostly "keep a session open even if I get disconnected from my
SSH session" and "use a single SSH session but run multiple shell
commands in parallel".
And I got used to the basic Ctrl-A key commands :)
Abaffa wrote to Gamgee <=-
I use tmux... I has a status bar that's useful to check the
session id and it's easier.
Yep. Tmux uses Ctrl-B as it's prefix by default, which is extremely awkward, but thankfully it's easily configured to Ctrl-A. ;-)
Okay. The commands are all customizable if desired... I've always used screen too, but have been playing with tmux some lately. It does have some VERY nice features, and is very configurable. I especially like being able to have more than one "window" available (proper term might
be "session", I'm not sure). Also splitting it into multi panes is very cool. I will probably eventually switch over to using it exclusively.
For you Linux users... what's your pick - screen or tmux, and why?
Digital Man wrote to Gamgee <=-
Yep. Tmux uses Ctrl-B as it's prefix by default, which is extremely awkward, but thankfully it's easily configured to Ctrl-A. ;-)
Yeah, Ctrl-B doesn't work for me (being a vi/vim user) - so it's
the first thing I change when using tmux (which admittedly, isn't
all that often).
deon wrote to Gamgee <=-
Okay. The commands are all customizable if desired... I've always used screen too, but have been playing with tmux some lately. It does have some VERY nice features, and is very configurable. I especially like being able to have more than one "window" available (proper term might
be "session", I'm not sure). Also splitting it into multi panes is very cool. I will probably eventually switch over to using it exclusively.
I'm with you on this.
I've been using screen for a loooong time, but discovered
tmuxinator for the MAC, with some themes, which provides a nice
sexy screen.
So I'm in the process of switching over to tmux and having to
learn the tmux way of things - all because of a sexy screen!
I'm probably using 2% of it right now, and its on my list to
understand it more, but thats enough for me to be dangerous now.
Nelgin wrote to Gamgee <=-
For you Linux users... what's your pick - screen or tmux, and why?
I use screen because I'm used to it. Does everything I need.
I'm using screen, just because that's the command I learned first and it works just fine for the purposes I need it, which are mostly "keep a session open even if I get disconnected from my SSH session" and "use a single SSH session but run multiple shell commands in parallel".
And I got used to the basic Ctrl-A key commands :)
I do not use screen/tmux... I've used it a time or two that I needed to
do something special with irssi (put handles on the left side of
screen..) but I don't understand/know what its uses ARE.
Yeah, Ctrl-B doesn't work for me (being a vi/vim user) - so it's the first thing I change when using tmux (which admittedly, isn't
all that often).
I do not use screen/tmux... I've used it a time or two that I needed to do something special with irssi (put handles on the left side
of screen..) but I don't understand/know what its uses ARE.
Re: Re: Screen or tmux?
By: Digital Man to Gamgee on Fri Apr 30 2021 04:57 pm
Yeah, Ctrl-B doesn't work for me (being a vi/vim user) - so it's the first thing I change when using tmux (which admittedly, isn't
all that often).
What does Ctrl-B do in vi?
(Learning something new about vi every day, and I've only been using it since forever..)
traditionally when a process's controlling terminal closes, the programs running in it close. so yeah, like if your ssh session were to disconnect because the power went out, what you were currently doing would abruptly end. this could be particularly annoying if you were doing something
like compiling firefox ;) (from remote i guess so the server still had power lol)
The main reason I started using it is for disconnected sessions.
I can jump into a box, do some work, disconnect, comeback later, re-connect and see what happened.
paulie420 wrote to acn <=-
I'm using screen, just because that's the command I learned first and it works just fine for the purposes I need it, which are mostly "keep a session open even if I get disconnected from my SSH session" and "use a single SSH session but run multiple shell commands in parallel".
And I got used to the basic Ctrl-A key commands :)
I'm jumping in here, and apologies for such. :P
I do not use screen/tmux... I've used it a time or two that I
needed to do something special with irssi (put handles on the
left side of screen..) but I don't understand/know what its uses
ARE.
I think I can... SSH into my BBS box and say, run the server..
and if I close the SSH window it'll keep the server open on the
BBS Box side?
Would you mind explaining a quick overview of what screen is? And
used for? Possibly how it help sysOps running a BBS on another
system on their network.
Also, pls know that I'm 'man screen'ing right now... :P
What does Ctrl-B do in vi?Scrolls backward (Ctrl-F for forward).
One thing my fingers learned long ago though: Ctrl-[ (to exit edit mode) is quicker than reaching for the ESC key.
One thing my fingers learned long ago though: Ctrl-[ (to exit edit
mode) is quicker than reaching for the ESC key.
So I dont use either of those - I'm a :wq! or :q! exit guy !
You still have to "ESC" before you can :x if you're in edit/insert mode. That's what the ctrl-[ is helpful for.. Interesingly enough,
my ESC key is broken, so other than using an on-screen keyboard, I've had to figure this out lately... ;-)
For you Linux users... what's your pick - screen or tmux, and why?
Thanks.
... All hope abandon, ye who enter messages here.
I do not use screen/tmux... I've used it a time or two that I needed to
do something special with irssi (put handles on the left side of
screen..) but I don't understand/know what its uses ARE.
Jimmy Mac wrote to Gamgee <=-
Re: Screen or tmux?
By: Gamgee to All on Thu Apr 29 2021 19:52:00
ohmyzsh + ohmytmux + powerline10k + spacevim. Configurable,
customizable, can bind all the keys to do the things I want it to
do. You can also recover your windows and setup post reboot with tmux-resurrect or tmux-continuum.
Jimmy Mac wrote to Gamgee <=-
@MSGID: <608E25EC.21.dove-unix@baffa.zapto.org>
@REPLY: <608B54B9.392.dove-unix@palantirbbs.ddns.net>
Re: Screen or tmux?
By: Gamgee to All on Thu
Apr 29 2021 19:52:00
ohmyzsh + ohmytmux + powerline10k + spacevim. Configurable,
customizable, can bind all the keys to do the things I want it to do.
You can also recover your windows and setup post reboot with tmux-resurrect or tmux-continuum.
For you Linux users... what's your pick - screen or tmux, and why?
Thanks.
It's a terminal multiplexer. It allows you to connect into a remote system, open a screen session (terminal), and run something in that terminal. You can then "detach" from that screen session, close your
SSH connection, and go on with whatever else you might be doing. Later, you can SSH back to that machine, and "reconnect" to that open terminal which is still running whatever you started in it.
Here's an example of one way that I use it. I have an Raspberry Pi running 24x7, which does various things for me (it does not run my BBS though). I SSH to it from my laptop (either from within the LAN, or remotely from another state if I'm traveling). I have opened a screen session on it, and started the 'irssi' IRC client in that terminal.
This connects and idles in the Synchronet IRC channel. I then can
detach from that session (with Ctrl-A, D), and close my SSH connection. A few hours, or a few days later, I can SSH back to the RPi, restore my screen session (with "screen -r"), and BAM! my irssi client is there where I can scroll back and see what's been talked about while I was gone. Maybe I add some comments, whatever. Then I detach and close again, and the irssi client continues running while I'm gone. This allows me to maintain a "presence" in that channel even if I'm not actively watching it for a while, and I can catch up when it's
convenient for me. You can open as many screen sessions on a remote
host as you'd like, all doing something different, and all will keep on working after you detach. Pretty cool stuff.
One thing my fingers learned long ago though: Ctrl-[ (to exit edit mode) is quicker than reaching for the ESC key.
So I dont use either of those - I'm a :wq! or :q! exit guy !
Nelgin wrote to Gamgee <=-
I use screen because I'm used to it. Does everything I need.
Gamgee wrote to All <=-
For you Linux users... what's your pick - screen or tmux, and why?
Arelor wrote to Gamgee <=-
In the end of the day it is just another Vim vs Emacs war.
poindexter FORTRAN wrote to Gamgee <=-
For you Linux users... what's your pick - screen or tmux, and why?
Tmux - it just makes more sense to me. I'm a little late to the
game, playing more with screen multiplexers now. Where I used to
open a couple of Putty sessions, I can now do everything with one
session and Tmux.
Gamgee wrote to poindexter FORTRAN <=-
The question is why would one choose one or the other (tmux or screen)?
poindexter FORTRAN wrote to Gamgee <=-
@MSGID: <609333BF.2679.dove.dove-nix@realitycheckbbs.org>
@REPLY: <60919499.428.dove-unix@palantirbbs.ddns.net>
Gamgee wrote to poindexter FORTRAN <=-
The question is why would one choose one or the other (tmux or screen)?
<flips coin>
I'm on tilde.club and someone on there wrote a nice HOWTO on using
tmux. Once I started googling tmux, my google news feed was *filled*
with helpful web sites outlining how to use it.
poindexter FORTRAN wrote to Gamgee <=-
@MSGID: <609333BF.2679.dove.dove-nix@realitycheckbbs.org>
@REPLY: <60919499.428.dove-unix@palantirbbs.ddns.net>
Gamgee wrote to poindexter FORTRAN <=-
The question is why would one choose one or the other (tmux or screen)?
<flips coin>
I'm on tilde.club and someone on there wrote a nice HOWTO on using tmux. Once I started googling tmux, my google news feed was *filled* with helpful web sites outlining how to use it.
It tmux had zmodem support, I would switch, but it doesn't. I am actually using tm
now to try it out. I actually find it useful for a quick file transfer, its a litt
more convienient than using SSH or netcat.
... MultiMail, the new multi-platform, multi-format offline reader!
Gamgee wrote to All <=-
For you Linux users... what's your pick - screen or tmux, and why?
Tmux - it just makes more sense to me. I'm a little late to the game, playing more with screen multiplexers now. Where I used to open a couple of Putty sessions, I can now do everything with one session and Tmux.
Ksource wrote to poindexter FORTRAN <=-
@MSGID: <60A218E4.5774.dove-nix@cavebbs.homeip.net>
@REPLY: <60914C34.2674.dove.dove-nix@realitycheckbbs.org>
Re: Re: Screen or tmux?
By: poindexter FORTRAN to Gamgee
on Fri Apr 30 2021 06:59 am
Gamgee wrote to All <=-
For you Linux users... what's your pick - screen or tmux, and why?
Tmux - it just makes more sense to me. I'm a little late to the game, playing more with screen multiplexers now. Where I used to open a couple of Putty sessions, I can now do everything with one session and Tmux.
Honestly I think you're in a good position. I use screen because I've
been around for a while and screen was the first really decent terminal multiplexer. The codebase for GNU Screen is pretty gnarly and there's
not a lot of substantial development on it to speak of. tmux has a
cleaner (and smaller/simpler) codebase and attracts more development.
I tried tmux once and it was fine. I spent all my time configuration it
to work like screen and thought "well, this is pointless, I'll just use screen". I think if I were coming into it new and didn't have any
habits and muscle-memory built up, I would start with tmux, though.
I'll use screen until I need something screen can't do, and then I'll switch to tmux, I think.
part, screen has all the functionality I need anyway, and the zmodem suppo that screen has is actually more useful than you think.
PhazeVektor wrote to Boraxman <=-
@MSGID: <60A53838.11131.dove-lnx@vert.synchro.net>
part, screen has all the functionality I need anyway, and the zmodem suppo that screen has is actually more useful than you think.
Funny - I've used `screen` for years and never come across zmodem
support. I use that feature of SecureCRT a lot, to drop files onto my terminal session and upload. I'm guessing this is what screen does as well?! I'll have to check it out.
For you Linux users... what's your pick - screen or tmux, and why?
Thanks.
... All hope abandon, ye who enter messages here.
--- MultiMail/Linux v0.52
anthk wrote to Gamgee <=-
@MSGID: <614B942D.11157.dove-lnx@vert.synchro.net>
@REPLY: <608B54B9.392.dove-unix@palantirbbs.ddns.net>
On 2021-04-30, Gamgee <gamgee@PALANT> wrote:
For you Linux users... what's your pick - screen or tmux, and why?
Thanks.
... All hope abandon, ye who enter messages here.
--- MultiMail/Linux v0.52
Tmux user here, because of OpenBSD base and well, I set
a clonic OpenBSD base under Void Linux, with very close
config and constraints. As a plug, I have framebuffer
support for SDL(2), mplayer, mpv, fbi, fbpdf2 and fbdjvu.
For comic books, I use fbi+a script to uncompress the files,
and for IM, bitlbee+kirc work well, among links,s-nail and
getmail.
I've been weeks without X, and I won't miss it. Groff+Mom
typesets math perfectly, gnuplot is dumb easy and sc-im
and catdoc and/or antiword will do the same on docx/rtf/
xls files.
Current games require 16GB of RAM, a 20x more powerful GPU
and a 10x better CPU, so that's a no-no for me.
Slashem, interactive fiction and mednafen could keep me busy
for years.
---
screen are fresh in my head, I don't remember them for screen. I have a menu set to SSH into particular servers, and those shortcuts set up a terminal with screen. Screen has ZMODEM support which I do use.
MRO wrote to Boraxman <=-
@MSGID: <614C9155.779.dove-nix@bbses.info>
@REPLY: <614C312F.2856.dove-nix@bbs.mozysswamp.org>
Re: Re: Screen or tmux?
By: Boraxman to anthk on Thu Sep 23 2021 05:47 pm
screen are fresh in my head, I don't remember them for screen. I have a menu set to SSH into particular servers, and those shortcuts set up a terminal with screen. Screen has ZMODEM support which I do use.
whether you want to send or receive, and screen will then bring up a prompt with sz or rz, allowing you to run then on the local end. When you accept that command, the transfer proceeds.
Its convienient when you ssh to a remote server, and just want to send an adhoc file back or forth.
MRO wrote to Boraxman <=-
@MSGID: <614DDFD8.781.dove-nix@bbses.info>
@REPLY: <614D645B.2858.dove-nix@bbs.mozysswamp.org>
Re: Re: Screen or tmux?
By: Boraxman to MRO on Fri Sep 24 2021 03:31 pm
whether you want to send or receive, and screen will then bring up a prompt with sz or rz, allowing you to run then on the local end. When you accept that command, the transfer proceeds.
Its convienient when you ssh to a remote server, and just want to send an adhoc file back or forth.
oh, i made a script that i use with winscp.com for sending files to my server. ---
Boraxman wrote to MRO <=-
whether you want to send or receive, and screen will then bring up a prompt with sz or rz, allowing you to run then on the local end. When you accept that command, the transfer proceeds.
Its convienient when you ssh to a remote server, and just want to send an adhoc file back or forth.
oh, i made a script that i use with winscp.com for sending files to my server.
I use Linux, so SCP is an option, but it means starting another
shell to run the command. Zmodem means I can do it within the
shell.
whether you want to send or receive, and screen will then bring up a
prompt with sz or rz, allowing you to run then on the local end.
When you accept that command, the transfer proceeds.
Its convienient when you ssh to a remote server, and just want to
send an adhoc file back or forth.
oh, i made a script that i use with winscp.com for sending files to
my server.
I use Linux, so SCP is an option, but it means starting another
shell to run the command. Zmodem means I can do it within the
shell.
Did not know about this ability within screen. Very cool. Just tried
it and it works perfectly.
DaiTengu wrote to Gamgee <=-
I use Linux, so SCP is an option, but it means starting another
shell to run the command. Zmodem means I can do it within the
shell.
Did not know about this ability within screen. Very cool. Just tried
it and it works perfectly.
I use MobaXTerm in windows which has a small built-in scp gui
where you can click/drag files to transfer them. It's not free,
but it's well worth it, especially when you have to deal with and
organize over a thousand different servers.
DaiTengu wrote to Gamgee <=-
I use MobaXTerm in windows which has a small built-in scp gui where
you can click/drag files to transfer them. It's not free, but it's
well worth it, especially when you have to deal with and organize over
a thousand different servers.
poindexter FORTRAN wrote to DaiTengu <=-
It's not free
I'll have to take another look at MobaXTerm. We're using a combination
of Putty, WinSCP and an autologin plugin for Keepass that's nice.
I use Linux, so SCP is an option, but it means starting another
shell to run the command. Zmodem means I can do it within the
shell.
Did not know about this ability within screen. Very cool. Just
tried it and it works perfectly.
I use MobaXTerm in windows which has a small built-in scp gui
where you can click/drag files to transfer them. It's not free,
but it's well worth it, especially when you have to deal with and
organize over a thousand different servers.
Thankfully, Windows is not something I have to deal with.
I wish there was an easy way to package Putty destinations and share them, we have 10 developers and it'd be nice to package all of the usual hosts when I image systems for them.
DaiTengu wrote to poindexter FORTRAN <=-
It should be pretty easy to create a web page with links to all the servers people need to access. a browser can auto-launch PuTTY. They'd just need to make sure their key was loaded.
Quoting poindexter FORTRAN to DaiTengu <=-
I wish there was an easy way to package Putty destinations and share
them, we have 10 developers and it'd be nice to package all of the
usual hosts when I image systems for them.
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 991 |
Nodes: | 10 (1 / 9) |
Uptime: | 75:19:55 |
Calls: | 12,948 |
Calls today: | 2 |
Files: | 186,574 |
Messages: | 3,264,524 |