git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Document how to tell git to not launch a pager

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Jul 19, 2007, 19:14 UTC
Message-ID
<alpine.LFD.0.999.0707191155100.27353@woody.linux-foundation.org>
In-Reply-To
<dbfc82860707191151w3e9571fcu60d113cba6c2f6dd@mail.gmail.com>
On Thu, 19 Jul 2007, Nikolai Weibull wrote:
> 
> I don't want to start a holy war here, but what's wrong with screen?

I actually like screen as a way to keep connections around. But the whole multiplexing is wrong, wrong, wrong. It violates the "do one thing, and do it well" thing. It makes screen do two things, and do them really badly as a result.

So the "session" part makes sense. It's a worthy reason to use screen.

And the "window manager" part is kind of a funny hack, but let's face it, you can do better by using separate windows.

And the multiplexor could have been done (and historically _has_ been done) better, by not limiting it to terminal sessions.

But the *combination* of all three is just evil and stupid. And the choice of ctrl-A as the default command sequence (can you even override it? Don't know, don't care) is just insanity.

It's somewhat sad that screen has made some better projects not as successful.

 - multiplexing. I used better programs back in the 90's to multiplex 
   arbitrary sessions over a single terminal pipe (not just terminal 
   windows). I forget the name, because these days, everybody has real 
   networking, and you'd generally use ssh tunnelling for it and 
   ssh-agent. But screen was never very good at it.
 - "window manager". Quite frankly, I've never needed it. I doubt many 
   people do. graphical environments and virtual terminals are better. And 
   if you really want a virtual terminal on a single terminal, thinking 
   that it should be mixed up with all the other things screen does is 
   just nasty.
 - for session management and moving things around: I think this is the 
   main reason people still use screen. It's a worthy use, but I think 
   it's sad how it's mixed up with the bad features of screen. There was a 
   "detach" program (or something similar) at some point that did just 
   that part of screen. But screen is just widely enough spread that 
   people are used to it, and I don't think it went anywhere.

IOW, I think screen sucks because it tries to do totally independent things, and then mixes them up in nasty ways, and for historical reasons uses a bad break character too.

Oh, well.
			Linus
Previous: Nikolai WeibullNext: Matthieu Moy
Message 8 of 12 in “Document how to tell git to not launch a pager”
  1. Document how to tell git to not launch a pagerSteven Grimm, Jul 19, 2007
  2. martin f krafftJul 19, 2007
  3. Johannes SchindelinJul 19, 2007
  4. Julian PhillipsJul 19, 2007
  5. David KastrupJul 19, 2007
  6. Linus TorvaldsJul 19, 2007
  7. Nikolai WeibullJul 19, 2007
  8. Linus TorvaldsJul 19, 2007
  9. Matthieu MoyJul 19, 2007
  10. Thomas GlanzmannJul 19, 2007
  11. martin f krafftJul 19, 2007
  12. Brian GernhardtJul 19, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.