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

Re: "Read my lips: no more merges" - aka Linux 2.6.14-rc1

From
CMChristian Meder <chris@absolutegiganten.org>
Date
Sep 15, 2005, 22:08 UTC
Message-ID
<1126822093.27951.74.camel@localhost>
In-Reply-To
<Pine.LNX.4.58.0509151106200.26803@g5.osdl.org>
On Thu, 2005-09-15 at 11:15 -0700, Linus Torvalds wrote:
Show 11 quoted lines
> 
> On Thu, 15 Sep 2005, David Kågedal wrote:
> > 
> > No, you read my message wrong, or I failed to describe it properly.
> 
> No, I did get it.
> 
> It's the Debian people who don't get it.
> 
> Expecting other software projects to make cludges for Debian-specific 
> packages is _insane_.

Actually according to Debian policy, sensible-pager is a cludge which should be used _only_ in the case that the upstream program is hard to adapt to a PAGER environment approach. Only in this case the upstream package should be patched to at least use sensible-pager.

Show 18 quoted lines
> 
> In other word, no sane package will ever use "sensible-pager", because
> it's not a sensible thing to do. Once Debian maintainers are "Big Poo-Bah
> And OverLord of the KnownUniverse" and can force everybody else to have
> "sensible-pager" too, maybe -then- it might make sense, but until then
> it's just an odd-ball Debian thing that makes Debian maintainers either
> (a) maintain stupid patches to teach other programs about it or (b) have 
> normal programs that use the _standard_ pagers in the absense of $PAGER.
> 
> And like it or not, there are two standard pages: "more" and "less". In 
> the immortal words: "To two shall you count. You shall not count to one, 
> except on your way to two. And you shall definitely NOT count to three, 
> not call it 'sensible-pager'".
> 
> The fact is, we HAVE a sensible-pager, and it is called "less".
> 
> And for old programs that assume that sensible-pager is "more", we either 
> install that _too_, or we make a symlink that points to "less".

Debian prefers to call the symlink "pager" and let the sysadmin decide where it should point: less, more, whatever. The e2fsprogs upstream package for instance supports PAGER->/usr/bin/pager->/usr/bin/less. Granted /usr/bin/pager is probably Debian only but every upstream author deciding whether to use PAGER:more or PAGER:less is not _that_ much better.

Just wanted to nitpick. Now you can reignite your flamethrower ;-) 
				Christian
Show 27 quoted lines
> 
> And for people who want something else, everybody already supports the 
> STANDARD way of saying so: "$PAGER".
> 
> In other words, "sensible-pager" buys you absolutely _nothing_. Except for 
> confusion and extra work.
> 
> > The advantage is, I guess, consistency.  Different programs don't have
> > to encode their own default pager.
> 
> No. That's NOT an advantage. It's a disadvantage. Different programs sure 
> as hell will not do silly Debian-only things, so it just means that if 
> Debian tries to enforce this, they're only causing more work for their own 
> maintainers.
> 
> They're also causing more work and discomfort for their users, since now 
> their users will have to live with the fact that they are used to 
> non-standard behaviour.
> 
> And it has _zero_ upsides. Exactly because it's not standard. There's a 
> lot to be said for "do it like others do it".
> 
> 			Linus
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
-- 
Christian Meder, email: chris@absolutegiganten.org

The Way-Seeking Mind of a tenzo is actualized 
by rolling up your sleeves.

                (Eihei Dogen Zenji)
Previous: Linus TorvaldsNext: Theodore Ts'o
Message 8 of 10 in “Re: "Read my lips: no more merges" - aka Linux 2.6.14-rc1”
  1. Linus TorvaldsSep 15, 2005
  2. H. Peter AnvinSep 15, 2005
  3. Junio C HamanoSep 15, 2005
  4. David KågedalSep 15, 2005
  5. Linus TorvaldsSep 15, 2005
  6. David KågedalSep 15, 2005
  7. Linus TorvaldsSep 15, 2005
  8. Christian MederSep 15, 2005
  9. Theodore Ts'oSep 16, 2005
  10. Linus TorvaldsSep 15, 2005

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.