From: Steffen Nurpmeso <steffen@sdaoden.eu>
To: Bakul Shah <bakul@iitbombay.org>
Cc: The Unix Heritage Society mailing list <tuhs@tuhs.org>
Subject: Re: [TUHS] Origins and life of the pg pager
Date: Tue, 23 Jun 2020 00:43:01 +0200 [thread overview]
Message-ID: <20200622224301.kdouj%steffen@sdaoden.eu> (raw)
In-Reply-To: <0F78CB9D-870B-4008-B975-23756EFC6F83@iitbombay.org>
Bakul Shah wrote in
<0F78CB9D-870B-4008-B975-23756EFC6F83@iitbombay.org>:
|$ PAGER="col -b" git log
|
|33mcommit fe147581ff1c5b0571a40369cd257fe60bfee58cm33m (m1;36mHEAD \
|-> m1;32mmasterm33m, m1;31morigin/masterm33m)m
|
|...
|
|$ git log | cat
|
|commit fe147581ff1c5b0571a40369cd257fe60bfee58c
|
|There is probably a way to turn off syntax coloring but I haven't bothered \
|to learn.
|
|$ man git-log | wc
|
|2512 14056 127024
Hihihi. I wanted to reply
Rob Pike wrote in
<CAKzdPgzR_pdZLKeGrYTNAXyyXR_=iXtJTEa3TFkOFra6e8b8+g@mail.gmail.com>:
|There is only one correct way.
|
|% grep PAGER .bashrc
|
|export PAGER='col -b'
As long as groff(1) is used for manual display i assume you also
have "export GROFF_NO_SGR=1".
The source of
#?0|kent:steffen$ pkginfo -o `command -v col`
Package File
util-linux usr/bin/col
util-linux usr/bin/colcrt
util-linux usr/bin/colrm
util-linux usr/bin/column
#?0|kent:steffen$ prt-get info util-linux
Name: util-linux
Path: /usr/ports/core
Version: 2.35.2
Release: 1
Description: Miscellaneous system utilities
URL: https://www.kernel.org/pub/linux/utils/util-linux/
Maintainer: CRUX System Team, core-ports at crux dot nu
Dependencies: eudev,ncurses,zlib
states
/*
* This command is deprecated. The utility is in maintenance mode,
* meaning we keep them in source tree for backward compatibility
* only. Do not waste time making this command better, unless the
* fix is about security or other very critical issue.
*
* See Documentation/deprecated.txt for more information.
*/
Plan9port has a version, though. And i searched in golang/cmd,
but did not find a copy.
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
next prev parent reply other threads:[~2020-06-22 23:00 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-14 22:52 [TUHS] Fwd: " Warren Toomey
2020-06-14 23:37 ` Mary Ann Horton
2020-06-14 23:52 ` [TUHS] " David Barto
2020-06-15 0:06 ` George Michaelson
2020-06-15 0:31 ` Alan D. Salewski
2020-06-15 0:35 ` Alan D. Salewski
2020-06-15 1:38 ` Warner Losh
2020-06-15 1:47 ` Larry McVoy
2020-06-15 2:38 ` Alec Muffett
2020-06-15 2:46 ` Alec Muffett
2020-06-15 2:26 ` Charles H. Sauer
2020-06-15 14:03 ` Mary Ann Horton
2020-06-15 20:19 ` Greg A. Woods
2020-06-15 20:50 ` Mary Ann Horton
2020-06-15 0:32 ` [TUHS] Fwd: " Nemo Nusquam
2020-06-15 5:41 ` Lars Brinkhoff
2020-06-15 13:56 ` Clem Cole
2020-06-15 14:15 ` Mary Ann Horton
2020-06-15 14:56 ` Clem Cole
2020-06-15 15:04 ` Richard Salz
2020-06-15 16:14 ` Clem Cole
2020-06-15 15:45 ` Lars Brinkhoff
2020-06-15 19:08 ` Lars Brinkhoff
2020-06-21 18:49 ` Michael Siegel
2020-06-22 0:35 ` Greg A. Woods
2020-06-22 16:24 ` Derek Fawcus
2020-06-22 21:33 ` Rob Pike
2020-06-22 21:58 ` Kurt H Maier
2020-06-22 21:59 ` [TUHS] " Bakul Shah
2020-06-22 22:43 ` Steffen Nurpmeso [this message]
2020-06-25 1:50 ` Theodore Y. Ts'o
2020-06-25 21:31 ` Steffen Nurpmeso
2020-07-05 1:34 ` Dave Horsfall
2020-06-18 12:49 ` [TUHS] Fwd: " Michael Siegel
2020-06-15 2:26 [TUHS] " Doug McIlroy
2020-06-15 2:41 ` Bakul Shah
2020-06-15 2:55 ` Larry McVoy
2020-06-15 4:26 ` Rob Pike
2020-06-15 4:27 ` Bakul Shah
2020-06-15 4:38 ` George Michaelson
2020-06-15 7:40 ` Ed Carp
2020-06-15 8:17 ` Rob Pike
2020-06-15 7:12 ` Thomas Paulsen
2020-06-15 20:25 Norman Wilson
2020-06-15 21:36 ` Rob Pike
2020-06-15 22:55 ` Henry Bent
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200622224301.kdouj%steffen@sdaoden.eu \
--to=steffen@sdaoden.eu \
--cc=bakul@iitbombay.org \
--cc=tuhs@tuhs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).