NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: addition to man pages?



On Tue, 17 Sep 2019 11:30:37 +0000
Jay Patel <jaypatel.ani%gmail.com@localhost> wrote:

> can we add such ASCII arts in man pages? :P
> 
> for eg.  man ls
>  __________________________________
> / Within current directory, ls displays the  \
> | names of files contained,As well as any |
> \ requested,Associated information.       /
>  -----------------------------------------
>          \
>           \
>                    ____
>                 _.' :  `._
>             .-.'`.  ;   .'`.-.
>    __      / : ___ ;  /___ ;       __
>  ,'_ ""--.:__;".-.";: :".-.":__;.--"" _`,
>  :' `.t""--.. '<@.`;_  ',@>` ..--""j.' `;
>       `:-.._J '-.-'L__ `-- ' L_..-;'
>         "-.__ ;  .-"  "-.  : __.-"
>             L ' /.------. ' J
>              "-.   "--"   .-"
>             __.l"-:_JL_;-";.__
>          .-j/'.;  ;""""  / .'"-.
>        .' /:`. "-.:     .-" .';  `.
>     .-"  / ;  "-. "-..-" .-"  :    "-.
>  .+"-.  : :      "-.__.-"      ;-._
>  ;   `.; ;                    : : "+. ;
>  :  ;   ; ;                    : ;  : :
>  ;  :   ; :                    ;:   ;  :
> :   ;  :  ;                  : ;  /  ::
> ;  ; :   ; :                  ;   :   ;:m
> :  :  ;  :  ;                : :  ;  : ;
> ;    :   ; :                ; ;     ; ;
> : `."-;   :  ;              :  ;    /  ;
>  ;    -:   ; :              ;  : .-"   :
>  :       :  ;            : .-"      :
>   ;`.      ; :            ;.'_..--  / ;
>   :  "-.  "-:  ;          :/."      .'  :
>              :          ;/  __        :
>            .-`.        /t-""  ":-+.   :
>      `.  .-"    `l    __/ /`. :  ; ;   ;
>           .-" .-"-.-"  .' .'j   /   ;/
>          / .-"   /.     .'.' ;_:'    ;
>          :-""-.`./-.'     /    `.___.'
>                 `t  ._  /
>                 "-.t-._:'

Yes: You would have to 

 o develop the program ,presumably in CURL, which will read the man page and display it in the bubble 
   (so that you can scroll inside the text bubble directly.)

 o add `alias man yodaman' to your .bashrc or wherever.

BTW it would be neat to be able to click on the manpage and navigate to where it refers to (inside the same page or another one. 
Kind of like info in Emacs.)
I understand it may be a challenge in a terminal but it doesn't even do it in xman.



Germain

-- 
Germain Le Chapelain <germain.lechapelain%lanvaux.fr@localhost>
Software Engineer
Lanvaux



Home | Main Index | Thread Index | Old Index