Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #223887

Re: from screen to tmux

From Victor Sudakov <vas@sibptus.ru>
Newsgroups linux.debian.user
Subject Re: from screen to tmux
Date 2020-06-22 18:50 +0200
Message-ID <AkxNT-3Jc-7@gated-at.bofh.it> (permalink)
References <Aksbv-jy-3@gated-at.bofh.it> <AktAB-1im-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Brian wrote:
> On Mon 22 Jun 2020 at 17:46:40 +0700, Victor Sudakov wrote:
> 
> > Dear Colleagues,
> > 
> > I'm trying to switch from screen to tmux and for the life of me cannot
> > make it work the way I like. I have screen create multiple windows on
> > startup, by the following lines in ~/screenrc:
> > 
> > screen -t localhost 0
> > screen -t foo 1
> > screen -t bar 2
> > screen -t mail 3
> > select 0
> > 
> > I've tried multiple variants of ~/.tmux.conf and cannot make it start
> > with 4 windows. Tried different combinations of new-session, new-window,
> > attach-session, select-window and whatever, but when I run tmux, I just
> > see a single window.
> > 
> > What would be the equivalent of the above screen commands?
> 
> A search with
> 
>   tmux start three windows

It is not news for me that Google exists :-)

> brings up items that look like they would be useful.

They look so but in fact they are not. They are mostly about starting
several tmux windows from a wrapper script like in
https://stackoverflow.com/questions/5609192/how-to-set-up-tmux-so-that-it-starts-up-with-specified-windows-opened#5752901
and https://gist.github.com/todgru/6224848 and others.

I'm sure this should be possible from ~/.tmux.conf but the limited
variants I've found online did not work for me.

If from personal experience you have a working solution, I'd be most
grateful.


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

from screen to tmux Victor Sudakov <vas@sibptus.ru> - 2020-06-22 12:50 +0200
  Re: from screen to tmux Kenneth Parker <sea7kenp@gmail.com> - 2020-06-22 13:20 +0200
  Re: from screen to tmux Brian <ad44@cityscape.co.uk> - 2020-06-22 14:20 +0200
    Re: from screen to tmux Victor Sudakov <vas@sibptus.ru> - 2020-06-22 18:50 +0200
  Re: from screen to tmux davidson <davidson@freevolt.org> - 2020-06-23 01:10 +0200
    Re: from screen to tmux Victor Sudakov <vas@sibptus.ru> - 2020-06-23 07:20 +0200
      Re: from screen to tmux davidson <davidson@freevolt.org> - 2020-06-24 00:20 +0200
        Re: from screen to tmux Victor Sudakov <vas@sibptus.ru> - 2020-06-24 06:20 +0200
          Re: from screen to tmux Victor Sudakov <vas@sibptus.ru> - 2020-06-24 09:40 +0200
          terminfo descriptions (was: from screen to tmux) Vincent Lefevre <vincent@vinc17.net> - 2020-09-09 11:20 +0200

csiph-web