On Fri, Nov 26, 2021 at 09:23:05PM -0500, Steve Litt wrote:
> Olaf Meeuwissen said on Fri, 26 Nov 2021 18:40:37 +0900
>
> >Hi,
> >
> >Steve Litt writes:
> >
> >> What could possibly be easier than vim /var/log/messages, or
> >> vi /var/log/messages, or emacs /var/log/messages, or
> >> nano
Hi,
wirelessduck--- via Dng writes:
>> On 27 Nov 2021, at 14:24, Olaf Meeuwissen wrote:
>>
>> Looking at the lesspipe manual page[1] (don't have less installed ;-),
>> it seems that it doesn't support on-the-fly encoding switching but as
>> far as dealing with compressed files, I guess there is
> On 27 Nov 2021, at 14:24, Olaf Meeuwissen wrote:
>
> Looking at the lesspipe manual page[1] (don't have less installed ;-),
> it seems that it doesn't support on-the-fly encoding switching but as
> far as dealing with compressed files, I guess there is no or not much
> difference.
>
> [1]:
Hi,
wirelessduck--- via Dng writes:
>> On 26 Nov 2021, at 20:40, Olaf Meeuwissen via Dng wrote:
>>
>> # On my own machines `lv` makes a fine `pager` for me. On the fly
>> # decompression and handling of many different encodings. So for me,
>> # it's just
>> #
>> # pager /var/log/syslog.2.gz
Olaf Meeuwissen said on Fri, 26 Nov 2021 18:40:37 +0900
>Hi,
>
>Steve Litt writes:
>
>> What could possibly be easier than vim /var/log/messages, or
>> vi /var/log/messages, or emacs /var/log/messages, or
>> nano /var/log/messages? And notice with the old way, you have a
>> choice, rather than
> On 26 Nov 2021, at 20:40, Olaf Meeuwissen via Dng wrote:
>
> # On my own machines `lv` makes a fine `pager` for me. On the fly
> # decompression and handling of many different encodings. So for me,
> # it's just
> #
> # pager /var/log/syslog.2.gz
> #
> # without any `zmore` or `zcat`
Personally, if I want to look at a file without editing it, if it's
small, I'll use view - which gives me the vi interface with the file in
read-only mode. It means I get the same interface and facilities that I
use when actually editing files, and it's easy to remember and (usually)
automatic. If
> > What could possibly be easier than vim /var/log/messages, or
> > vi /var/log/messages, or emacs /var/log/messages, or
> > nano /var/log/messages? And notice with the old way, you have a choice,
> > rather than having to look at log output with the vendor's proprietary
> > tool.
>
> Maybe I'm