Re: [DNG] Viewing file content (was Re: system administration of non-systemd distros and releases)

2021-11-28 Thread Hendrik Boom
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

Re: [DNG] Viewing file content (was Re: system administration of non-systemd distros and releases)

2021-11-27 Thread Olaf Meeuwissen via Dng
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

Re: [DNG] Viewing file content (was Re: system administration of non-systemd distros and releases)

2021-11-27 Thread wirelessduck--- via Dng
> 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]:

Re: [DNG] Viewing file content (was Re: system administration of non-systemd distros and releases)

2021-11-26 Thread Olaf Meeuwissen via Dng
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

Re: [DNG] Viewing file content (was Re: system administration of non-systemd distros and releases)

2021-11-26 Thread Steve Litt
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

Re: [DNG] Viewing file content (was Re: system administration of non-systemd distros and releases)

2021-11-26 Thread wirelessduck--- via Dng
> 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`

Re: [DNG] Viewing file content (was Re: system administration of non-systemd distros and releases)

2021-11-26 Thread Peter Duffy
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

Re: [DNG] Viewing file content (was Re: system administration of non-systemd distros and releases)

2021-11-26 Thread marc
> > 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