lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev cfg help sought


From: pAb-032871
Subject: Re: lynx-dev cfg help sought
Date: Thu, 8 Jun 2000 16:06:30 -0700

Reading some later notes, I'm thinking maybe your problems are
solved, or were specific to this later version of Lynx.  But I
wanted to reply anyway in case this is some help.  Island.net
uses Lynx 2.8.1pre.9.

In "lynx-dev cfg help sought"
[08/Jun/2000 Thu 09:05:49]
Larry W. Virden wrote:

> What can I type so that I see a list of the current config values of lynx?

I haven't found a direct route, but there are a few simple links
you can follow from any "=" document-info page [more below].


> which really doesn't tell me the _values_ of all the configuration parameters.
> 
> Is there an option which shows me the current values of everything?

Well, there probably *is* something a lot simpler than what I'm
describing here, but it works.  Links to follow are highlighted
**like this**

         Lynx 2.8.1pre.9 (10 Oct 1998) (development version) - **compile time 
settings**

File that you are currently viewing

   Linkname: Welcome to Red Hat Linux
        URL: file://localhost/usr/doc/HTML/index.html


<0> Following this link takes you to:

                     Configuration Definitions (Lynx Version 2.8.1pre.9)

See also your **lynx.cfg** for run-time options

<0> and then:

                        Lynx.cfg Information (Lynx Version 2.8.1pre.9)

This is read from your lynx.cfg file,
please "read" distribution's **lynx.cfg** for more comments.

    #Your primary configuration /etc/lynx.cfg
STARTFILE:file:/usr/doc/HTML/index.html
HELPFILE:file://localhost/usr/doc/lynx-2.8.1/lynx_help/lynx_help_main.html
DEFAULT_INDEX_FILE:http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html
MINIMAL_COMMENTS:TRUE


<0> and then:


# lynx.cfg file.
# The default placement for this file is /usr/local/lib/lynx.cfg (Unix)
#                                     or Lynx_Dir:lynx.cfg (VMS)
#
#
# Definition pairs are of the form  VARIABLE:DEFINITION
# NO spaces are allowed between the pair items.
...

Viola!  Once you're there, a simple thing to do is use the p)rint
command to save your *own* copy to your login directory, editable
in Pico or whatever you prefer.  To make Lynx load settings from
your cfg instead of the server's default file, you have to invoke
Lynx with:

lynx -cfg=~/lynx.cfg

After that, you don't have to run through a maze just to find
your settings either; it's right there in your login directory.

Personally, I like using Pico as an editor, because when viewing
a page of lynx.cfg *in* Lynx, choosing e)dit causes Pico to scroll
down *to the page you were viewing*.  No need to search for a specific
definition if you've already found the page in Lynx.

Or maybe I just like Pico because I'm a little new to UNIX, shells,
and so forth; favouring the *simplest* editor I can find. . .


Another "tips & tricks" kind of thing: since many terminal emulators
support copying and pasting using your local system's Copy command
[on Mac; Command-C], and since Pico uses it's *own* cut+paste
buffer [Control-K for Cut, Control-U for Uncut, aka Paste], you
can in effect have two clipboards going at once, with different
text in each one.  This came in handy when I redid some of the
definitions in my lynx.cfg, putting "TRUE" in one clipboard and
"FALSE" in another, allowing me to paste either one depending
on which Paste command I used.


Seth Brundle:
        "Computers are dumb, they only know what you tell them."
                                -- from The Fly


                          Patrick
                <mailto:address@hidden>
 

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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