Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Shut off engine before fueling.


dovenet / Unix / Re: Screen or tmux?

SubjectAuthor
* Screen or tmux?acn
`* Re: Screen or tmux?Gamgee
 `* Re: Screen or tmux?Digital Man
  +- Re: Screen or tmux?Gamgee
  `* Re: Screen or tmux?deon
   `* Re: Screen or tmux?Digital Man
    `* Re: Screen or tmux?deon
     +* Re: Screen or tmux?BoonDock
     |`- Re: Screen or tmux?deon
     `- Re: Screen or tmux?Digital Man

1
Screen or tmux?

<608BC4A4.60.dove-unix@box.imzadi.de>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=762&group=DOVE-Net.Unix#762

  copy link   Newsgroups: DOVE-Net.Unix
From: acn@VERT/IMZADI (acn)
To: Gamgee
Subject: Screen or tmux?
Message-ID: <608BC4A4.60.dove-unix@box.imzadi.de>
Date: Fri, 30 Apr 2021 03:49:40 +0200
X-Comment-To: Gamgee
Path: rocksolidbbs.com!not-for-mail
Organization: Imzadi Box
Newsgroups: DOVE-Net.Unix
In-Reply-To: <608B54B9.392.dove-unix@palantirbbs.ddns.net>
References: <608B54B9.392.dove-unix@palantirbbs.ddns.net>
X-FTN-PID: Synchronet 3.18b-Linux Apr 28 2021 GCC 8.3.0
X-FTN-CHRS: UTF-8 4
WhenImported: 20210430021029-0700 c1e0
WhenExported: 20210430023614-0700 c1e0
ExportedFrom: VERT dove-lnx 11089
WhenImported: 20210430104940+0200 903c
WhenExported: 20210430111030+0200 903c
ExportedFrom: IMZADI dove-unix 60
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
 by: acn - Fri, 30 Apr 2021 01:49 UTC

Hi 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 :)

Regards,
Anna

---
� Synchronet � Imzadi Box -*- box.imzadi.de

Re: Screen or tmux?

<608BFC12.396.dove-unix@palantirbbs.ddns.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=765&group=DOVE-Net.Unix#765

  copy link   Newsgroups: DOVE-Net.Unix
From: gamgee@VERT/PALANT (Gamgee)
To: acn
Subject: Re: Screen or tmux?
Message-ID: <608BFC12.396.dove-unix@palantirbbs.ddns.net>
Date: Fri, 30 Apr 2021 00:46:00 -0500
X-Comment-To: acn
Path: rocksolidbbs.com!not-for-mail
Organization: Palantir
Newsgroups: DOVE-Net.Unix
In-Reply-To: <608BC4A4.60.dove-unix@box.imzadi.de>
References: <608BC4A4.60.dove-unix@box.imzadi.de>
X-FTN-PID: Synchronet 3.18c-Linux master/b881935a0 Mar 20 2021 GCC 5.5.0
X-FTN-CHRS: ASCII 1
WhenImported: 20210430063805-0700 c1e0
WhenExported: 20210430083623-0700 c1e0
ExportedFrom: VERT dove-lnx 11092
WhenImported: 20210430074610-0500 c168
WhenExported: 20210430083563-0500 c168
ExportedFrom: PALANT dove-unix 396
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
 by: Gamgee - Fri, 30 Apr 2021 05:46 UTC

-=> acn wrote to Gamgee <=-

> For you Linux users... what's your pick - screen or tmux, and why?

ac> I'm using screen, just because that's the command I learned first
ac> and it works just fine for the purposes I need it, which are
ac> mostly "keep a session open even if I get disconnected from my
ac> SSH session" and "use a single SSH session but run multiple shell
ac> commands in parallel".

Yeah, same here. Take a look at tmux if you get bored, it has some
pretty cool features that go a little beyond screen. I still mostly use
screen too, but will likely move to tmux eventually.

ac> And I got used to the basic Ctrl-A key commands :)

Yep. Tmux uses Ctrl-B as it's prefix by default, which is extremely
awkward, but thankfully it's easily configured to Ctrl-A. ;-)

.... Time flies like an arrow -- fruit flies like a banana.
--- MultiMail/Linux v0.52
� Synchronet � Palantir BBS * palantirbbs.ddns.net * Pensacola, FL

Re: Screen or tmux?

<608C9969.11094.dove-lnx@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=767&group=DOVE-Net.Unix#767

  copy link   Newsgroups: DOVE-Net.Unix
From: digital.man@VERT (Digital Man)
To: Gamgee
Subject: Re: Screen or tmux?
Message-ID: <608C9969.11094.dove-lnx@vert.synchro.net>
Date: Fri, 30 Apr 2021 09:57:29 -0700
X-Comment-To: Gamgee
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Unix
In-Reply-To: <608BFC12.396.dove-unix@palantirbbs.ddns.net>
References: <608BFC12.396.dove-unix@palantirbbs.ddns.net>
X-FTN-PID: Synchronet 3.19a-Win32 master/532355425 Apr 27 2021 MSC 1928
X-FTN-CHRS: CP437 2
WhenImported: 20210430165729-0700 c1e0
WhenExported: 20210430203630-0700 c1e0
ExportedFrom: VERT dove-lnx 11094
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Digital Man - Fri, 30 Apr 2021 16:57 UTC

Re: Re: Screen or tmux?
By: Gamgee to acn on Fri Apr 30 2021 07:46 am

> 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).
--
digital man

Rush quote #61:
He's a rebel and a runner, he's a signal turning green .. New World Man
Norco, CA WX: 90.9°F, 17.0% humidity, 8 mph E wind, 0.00 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

Re: Screen or tmux?

<608D4D75.402.dove-unix@palantirbbs.ddns.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=770&group=DOVE-Net.Unix#770

  copy link   Newsgroups: DOVE-Net.Unix
From: gamgee@VERT/PALANT (Gamgee)
To: Digital Man
Subject: Re: Screen or tmux?
Message-ID: <608D4D75.402.dove-unix@palantirbbs.ddns.net>
Date: Sat, 1 May 2021 00:16:00 -0500
X-Comment-To: Digital Man
Path: rocksolidbbs.com!not-for-mail
Organization: Palantir
Newsgroups: DOVE-Net.Unix
In-Reply-To: <608C9969.11094.dove-lnx@vert.synchro.net>
References: <608C9969.11094.dove-lnx@vert.synchro.net>
X-FTN-PID: Synchronet 3.18c-Linux master/b881935a0 Mar 20 2021 GCC 5.5.0
X-FTN-CHRS: ASCII 1
WhenImported: 20210501063846-0700 c1e0
WhenExported: 20210501083625-0700 c1e0
ExportedFrom: VERT dove-lnx 11097
WhenImported: 20210501074541-0500 c168
WhenExported: 20210501083640-0500 c168
ExportedFrom: PALANT dove-unix 402
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
 by: Gamgee - Sat, 1 May 2021 05:16 UTC

-=> 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. ;-)

DM> Yeah, Ctrl-B doesn't work for me (being a vi/vim user) - so it's
DM> the first thing I change when using tmux (which admittedly, isn't
DM> all that often).

Hard to believe that *anyone* would actually prefer Ctrl-B... :-)

You probably already know this, but you can "permanently" define your
desired prefix key in a config file (Linux "dotfile") called .tmux.conf

My very simple config looks like this:

# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix

# split panes using | and -
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %

# switch panes using Alt-arrow without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D

.... Enter any 12 digit prime number to continue.
--- MultiMail/Linux v0.52
� Synchronet � Palantir BBS * palantirbbs.ddns.net * Pensacola, FL

Re: Screen or tmux?

<608DE8CF.408.dove-unix@bbs.leenooks.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=775&group=DOVE-Net.Unix#775

  copy link   Newsgroups: DOVE-Net.Unix
From: deon@VERT/ALTERANT (deon)
To: Digital Man
Subject: Re: Screen or tmux?
Message-ID: <608DE8CF.408.dove-unix@bbs.leenooks.net>
Date: Sun, 2 May 2021 02:48:31 +1000
X-Comment-To: Digital Man
Path: rocksolidbbs.com!not-for-mail
Organization: Alterant
Newsgroups: DOVE-Net.Unix
In-Reply-To: <608C9969.11094.dove-lnx@vert.synchro.net>
References: <608C9969.11094.dove-lnx@vert.synchro.net>
X-FTN-PID: Synchronet 3.19a-Linux master/8f79438d2 Apr 24 2021 GCC 8.3.0
X-FTN-MSGID: 408.dove-unix@10:1/4 24f32067
X-FTN-REPLY: 400.dove-unix@10:1/4 24f1d23f
X-FTN-CHRS: CP437 2
WhenImported: 20210501170248-0700 c1e0
WhenExported: 20210501203663-0700 c1e0
ExportedFrom: VERT dove-lnx 11103
WhenImported: 20210502094831+1000 1258
WhenExported: 20210502100246+1000 1258
ExportedFrom: ALTERANT dove-unix 408
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: deon - Sat, 1 May 2021 16:48 UTC

Re: Re: Screen or tmux?
By: Digital Man to Gamgee on Fri Apr 30 2021 04:57 pm

DM> 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
DM> 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..)

....δεσ∩

.... True love is when you spend £50 for an operation on a £5 dog.

---
■ Synchronet ■ Alterant | an SBBS in Docker on Pi!

Re: Screen or tmux?

<608DF6A3.11105.dove-lnx@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=777&group=DOVE-Net.Unix#777

  copy link   Newsgroups: DOVE-Net.Unix
From: digital.man@VERT (Digital Man)
To: deon
Subject: Re: Screen or tmux?
Message-ID: <608DF6A3.11105.dove-lnx@vert.synchro.net>
Date: Sat, 1 May 2021 10:47:31 -0700
X-Comment-To: deon
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Unix
In-Reply-To: <608DE8CF.408.dove-unix@bbs.leenooks.net>
References: <608DE8CF.408.dove-unix@bbs.leenooks.net>
X-FTN-PID: Synchronet 3.19a-Win32 master/901cef17a May 1 2021 MSC 1928
X-FTN-REPLY: 408.dove-unix@10:1/4 24f32067
X-FTN-CHRS: CP437 2
WhenImported: 20210501174731-0700 c1e0
WhenExported: 20210501203663-0700 c1e0
ExportedFrom: VERT dove-lnx 11105
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Digital Man - Sat, 1 May 2021 17:47 UTC

Re: Re: Screen or tmux?
By: deon to Digital Man on Sun May 02 2021 09:48 am

> Re: Re: Screen or tmux?
> By: Digital Man to Gamgee on Fri Apr 30 2021 04:57 pm
>
> DM> Yeah, Ctrl-B doesn't work for me (being a vi/vim user) - so it's the
> DM> first thing I change when using tmux (which admittedly, isn't
> DM> all that often).
>
> What does Ctrl-B do in vi?

Scrolls backward (Ctrl-F for forward).

> (Learning something new about vi every day, and I've only been using it
> since forever..)

Oh, I know there's plenty about vi/vim I still don't know.

One thing my fingers learned long ago though: Ctrl-[ (to exit edit mode) is quicker than reaching for the ESC key.
--
digital man

Rush quote #23:
Plus ca change, plus c'est la meme chose
Norco, CA WX: 70.5°F, 57.0% humidity, 10 mph NE wind, 0.00 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

Re: Screen or tmux?

<608E17BA.413.dove-unix@bbs.leenooks.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=781&group=DOVE-Net.Unix#781

  copy link   Newsgroups: DOVE-Net.Unix
From: deon@VERT/ALTERANT (deon)
To: Digital Man
Subject: Re: Screen or tmux?
Message-ID: <608E17BA.413.dove-unix@bbs.leenooks.net>
Date: Sun, 2 May 2021 06:08:42 +1000
X-Comment-To: Digital Man
Path: rocksolidbbs.com!not-for-mail
Organization: Alterant
Newsgroups: DOVE-Net.Unix
In-Reply-To: <608DF6A3.11105.dove-lnx@vert.synchro.net>
References: <608DF6A3.11105.dove-lnx@vert.synchro.net>
X-FTN-PID: Synchronet 3.19a-Linux master/8f79438d2 Apr 24 2021 GCC 8.3.0
X-FTN-MSGID: 413.dove-unix@10:1/4 24f34f57
X-FTN-REPLY: 410.dove-unix@10:1/4 24f331e4
X-FTN-CHRS: CP437 2
WhenImported: 20210501210250-0700 c1e0
WhenExported: 20210502023707-0700 c1e0
ExportedFrom: VERT dove-lnx 11109
WhenImported: 20210502130842+1000 1258
WhenExported: 20210502140249+1000 1258
ExportedFrom: ALTERANT dove-unix 413
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: deon - Sat, 1 May 2021 20:08 UTC

Re: Re: Screen or tmux?
By: Digital Man to deon on Sat May 01 2021 05:47 pm

>> What does Ctrl-B do in vi?
DM> Scrolls backward (Ctrl-F for forward).

Ahh, ofcourse - I have used it sometimes but not that often.

DM> 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 !

....δεσ∩

.... I used to be an agnostic, but now I'm not so sure.

---
■ Synchronet ■ Alterant | an SBBS in Docker on Pi!

Re: Screen or tmux?

<608E390C.33.dove-unix@gatofueg.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=782&group=DOVE-Net.Unix#782

  copy link   Newsgroups: DOVE-Net.Unix
From: boondock@VERT/GATOFUEG (BoonDock)
To: deon
Subject: Re: Screen or tmux?
Message-ID: <608E390C.33.dove-unix@gatofueg.synchro.net>
Date: Sat, 1 May 2021 17:30:52 -0500
X-Comment-To: deon
Path: rocksolidbbs.com!not-for-mail
Organization: El Gato de Fuego
Newsgroups: DOVE-Net.Unix
In-Reply-To: <608E17BA.413.dove-unix@bbs.leenooks.net>
References: <608E17BA.413.dove-unix@bbs.leenooks.net>
X-FTN-PID: Synchronet 3.18b-Win32 Sep 20 2020 MSC 1927
X-FTN-REPLY: 413.dove-unix@10:1/4 24f34f57
X-FTN-CHRS: CP437 2
WhenImported: 20210501223645-0700 c1e0
WhenExported: 20210502023707-0700 c1e0
ExportedFrom: VERT dove-lnx 11110
WhenImported: 20210502003052-0500 412c
WhenExported: 20210502003628-0500 412c
ExportedFrom: GATOFUEG dove-unix 33
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: BoonDock - Sat, 1 May 2021 22:30 UTC

Re: Re: Screen or tmux?
By: deon to Digital Man on Sun May 02 2021 13:08:42

DM>> One thing my fingers learned long ago though: Ctrl-[ (to exit edit
DM>> mode) is quicker than reaching for the ESC key.

de> 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... ;-)

BoonDock

* El Gato de Fuego * The Fire Cat * Pedasi, Panama

.... The cause of problems are solutions!

---
■ Synchronet ■ El Gato de Fuego - Pedasi, Panama - gatofueg.synchro.net

Re: Screen or tmux?

<608E4175.416.dove-unix@bbs.leenooks.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=783&group=DOVE-Net.Unix#783

  copy link   Newsgroups: DOVE-Net.Unix
From: deon@VERT/ALTERANT (deon)
To: BoonDock
Subject: Re: Screen or tmux?
Message-ID: <608E4175.416.dove-unix@bbs.leenooks.net>
Date: Sun, 2 May 2021 09:06:45 +1000
X-Comment-To: BoonDock
Path: rocksolidbbs.com!not-for-mail
Organization: Alterant
Newsgroups: DOVE-Net.Unix
In-Reply-To: <608E390C.33.dove-unix@gatofueg.synchro.net>
References: <608E390C.33.dove-unix@gatofueg.synchro.net>
X-FTN-PID: Synchronet 3.19a-Linux master/8f79438d2 Apr 24 2021 GCC 8.3.0
X-FTN-MSGID: 416.dove-unix@10:1/4 24f37915
X-FTN-REPLY: 415.dove-unix@10:1/4 24f37839
X-FTN-CHRS: CP437 2
WhenImported: 20210502000244-0700 c1e0
WhenExported: 20210502023707-0700 c1e0
ExportedFrom: VERT dove-lnx 11111
WhenImported: 20210502160645+1000 1258
WhenExported: 20210502170249+1000 1258
ExportedFrom: ALTERANT dove-unix 416
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: deon - Sat, 1 May 2021 23:06 UTC

Re: Re: Screen or tmux?
By: BoonDock to deon on Sun May 02 2021 12:30 am

Howdy,

Bo> 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,
Bo> my ESC key is broken, so other than using an on-screen keyboard, I've had to figure this out lately... ;-)

So you do. Its muscle memory for me and I do it without thinking about it.

....δεσ∩

.... Diplomacy: The patriotic art of lying for one's country.

---
■ Synchronet ■ Alterant | an SBBS in Docker on Pi!

Re: Screen or tmux?

<608F3D3A.11117.dove-lnx@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=789&group=DOVE-Net.Unix#789

  copy link   Newsgroups: DOVE-Net.Unix
From: digital.man@VERT (Digital Man)
To: deon
Subject: Re: Screen or tmux?
Message-ID: <608F3D3A.11117.dove-lnx@vert.synchro.net>
Date: Sun, 2 May 2021 10:00:58 -0700
X-Comment-To: deon
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Unix
In-Reply-To: <608E17BA.413.dove-unix@bbs.leenooks.net>
References: <608E17BA.413.dove-unix@bbs.leenooks.net>
X-FTN-PID: Synchronet 3.19a-Win32 master/5374a1132 May 2 2021 MSC 1928
X-FTN-REPLY: 413.dove-unix@10:1/4 24f34f57
X-FTN-CHRS: CP437 2
WhenImported: 20210502170058-0700 c1e0
WhenExported: 20210502203711-0700 c1e0
ExportedFrom: VERT dove-lnx 11117
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Digital Man - Sun, 2 May 2021 17:00 UTC

Re: Re: Screen or tmux?
By: deon to Digital Man on Sun May 02 2021 01:08 pm

> DM> 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 !

How do you exit edit mode?
--
digital man

This Is Spinal Tap quote #46:
"Not an Exit" - we don't want an exit. Well that's true.
Norco, CA WX: 63.9°F, 66.0% humidity, 6 mph ENE wind, 0.00 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor