[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getting more out of man pages with less(1)
From: |
Steffen Nurpmeso |
Subject: |
Re: getting more out of man pages with less(1) |
Date: |
Sun, 23 May 2021 23:29:03 +0200 |
User-agent: |
s-nail v14.9.22-142-gaff7807ec7 |
Good evening and Hello.
Steffen Nurpmeso wrote in
<20210523004836.gTA8l%steffen@sdaoden.eu>:
...
||> Good idea. I've further changed the Subject: to reflect the flow of the
||> discussion.
| ...
||> I also wonder if the pager wars are basically over and less(1) won them.
||
||That's certainly what I thought...
| ..
|
|Ever since less(1) started supporting OSC 8 "Hyperlinks in
|Terminal Emulators" as of version 566 i wanted to rewrite my
|mdocmx(7) extension to be based upon the OSC 8 sequences that now
|become more and more common.
|
|So the last two days i finally made the great and implemented
|OSC 8 for my mdoxmx macro package extension, as well as for grotty
|v1.22.3 and less v586. Yay.
|grotty was a bit hard because i wanted to implement all sorts of
|OSC 8 things, even those they did not invent there in that github
|repo, like document-local anchors and document-local "URI"s (i
|used the usual "#REF" syntax used by eg HTML).
Ok, so i slept over that and have to say the grotty part was
silly. I was coming from mdocmx thinking. I will rewrite it like
\X'tty osc8 [id ID] [uri URI]'
aka leave the user in charge of just about anything, without any
testing, and without keywords we actually see an end-marker.
This means that macros or converters are in charge of creating
#ANCHORs and links as well as man://NAME.SECTION URLs, but then
again that is the usual thing of doing things, and one cannot
enforce a thing with a too-complicated i-do-it-all-for-you.
Ciao,
--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)
- Re: man-intro, (continued)
- Re: man-intro, Oliver Corff, 2021/05/23
- Re: man-intro, Oliver Corff, 2021/05/23
- Re: man-intro, Peter Schaffter, 2021/05/23
- Re: man-intro, Dave Kemper, 2021/05/27
- Re: man-intro (was: getting more out of man pages with less(1) ), Larry Kollar, 2021/05/29
- Re: getting more out of man pages with less(1), Steffen Nurpmeso, 2021/05/22
- Re: getting more out of man pages with less(1),
Steffen Nurpmeso <=
- Re: getting more out of man pages with less(1), Steffen Nurpmeso, 2021/05/23
- Re: getting more out of man pages with less(1), Steffen Nurpmeso, 2021/05/24
- Re: getting more out of man pages with less(1) (was: [bug #59962] soelim(1) man page uses pic diagram--should it?), Dave Kemper, 2021/05/17
- Re: getting more out of man pages with less(1) (was: [bug #59962] soelim(1) man page uses pic diagram--should it?), Nate Bargmann, 2021/05/17
- Re: getting more out of man pages with less(1) (was: [bug #59962] soelim(1) man page uses pic diagram--should it?), Mike, 2021/05/26