lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Any way to pass a literal ESC to the terminal?


From: Henry Nelson
Subject: Re: lynx-dev Any way to pass a literal ESC to the terminal?
Date: Mon, 18 Oct 1999 17:23:55 +0900 (JST)

> One way would be to
>   - give those files a special file suffix.  Let's say ".mytxt".
>   - invent a MIME type for them. Let's say "text/x-mytxt".
>   - associate suffix with MIME type.  For example put
>        text/x-mytxt            mytxt
>     in your ~/.mime.types or /etc/mime.types.  You could also use
>     SUFFIX in lynx.cfg.
>   - define a VIEWER in lynx.cfg, like
>        VIEWER:text/x-mytxt:less -r %s

Undoubtedly the "smoothest" way to go, but if it is not something you
do frequently, setting up a DOWNLOADER in lynx.cfg might be simpler:

DOWNLOADER:Full color!:/usr/local/bin/less -r %s:TRUE

__Henry

reply via email to

[Prev in Thread] Current Thread [Next in Thread]