FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-28-2008, 07:31 PM
 
Default lynx upgrade issue?

so in fixing my pine issue (see pine thread), i
reinstalled/upgraded lynx. the new lynx removed lynx-ssl & installed
lynx-cur. the problem there is that it completely ignores my color
preferences, which are fairly important considering i generally hate
graphics & color & spent some time coming up with a nice lynx layout
that doesn't make me insane. i checked both local & system .cfg, &
while it retained my color settings, it just ignores them. new lynx is
primarily green & horrible.

so i downgraded back to lynx/stable, & the color was restored.
however, lynx-ssl no longer exists. so i'm having trouble seeing secure
sites (same as many years ago before i realized i needed lynx-ssl).
plus it's also doing something else odd - SOME sites, not all, won't
just load, but repeatedly cause lynx to pause, with a "Using
/tmp/whatever/whatever.9834014" message at the bottom. for some unknown
reason, lynx is cache'ing everything on SOME sites, & it's taking extra
time to load everything because it's stopping to tell me about all the
cache'ing.

i'm happy with either upgrading & keeping my colors, or
downgrading & keeping my colors. any ideas? change is scary. TIA
again.

lish
crank@got.net


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-28-2008, 10:36 PM
Cameron Hutchison
 
Default lynx upgrade issue?

crank@got.net (i'll teach you to turn away.) writes:

> so in fixing my pine issue (see pine thread), i
>reinstalled/upgraded lynx. the new lynx removed lynx-ssl & installed
>lynx-cur. the problem there is that it completely ignores my color
>preferences, which are fairly important considering i generally hate
>graphics & color & spent some time coming up with a nice lynx layout
>that doesn't make me insane. i checked both local & system .cfg, &
>while it retained my color settings, it just ignores them. new lynx is
>primarily green & horrible.

The lynx-cur config is the /etc/lynx-cur directory for system wide stuff
and ~/.lynx for per-user stuff.

One of the per-user files is ~/.lynx/colors where you can put your
color preferences. I have added this file myself and have been able to
change the colors.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-29-2008, 04:15 AM
 
Default lynx upgrade issue?

Cameron Hutchison <lists@xdna.net> wrote:
CH> crank@got.net (i'll teach you to turn away.) writes:
>> so in fixing my pine issue (see pine thread), i
>>reinstalled/upgraded lynx. the new lynx removed lynx-ssl & installed
>>lynx-cur. the problem there is that it completely ignores my color
>>preferences, which are fairly important considering i generally hate
>>graphics & color & spent some time coming up with a nice lynx layout
>>that doesn't make me insane. i checked both local & system .cfg, &
>>while it retained my color settings, it just ignores them. new lynx is
>>primarily green & horrible.
CH> The lynx-cur config is the /etc/lynx-cur directory for system wide stuff
CH> and ~/.lynx for per-user stuff.
CH> One of the per-user files is ~/.lynx/colors where you can put your
CH> color preferences. I have added this file myself and have been able to
CH> change the colors.

ok, so i added the directory ~/.lynx & i dumped the color settings
into ~/.lynx/colors but it's still green. however, i did find that
/etc/lynx-cur has a .lss file in it which apparently controls color in a
totally different layout than old lynx. wow, that's irritating. time to
edit manually for a half hour i guess.

thanks for your help.

lish
crank@got.net


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-29-2008, 06:32 AM
Cameron Hutchison
 
Default lynx upgrade issue?

crank@got.net (i'll teach you to turn away.) writes:

> ok, so i added the directory ~/.lynx & i dumped the color settings
>into ~/.lynx/colors but it's still green. however, i did find that
>/etc/lynx-cur has a .lss file in it which apparently controls color in a
>totally different layout than old lynx. wow, that's irritating. time to
>edit manually for a half hour i guess.


The contents of my ~/.lynx/colors are:
COLOR:0:lightgray:black
COLOR:1:cyan:black
COLOR:2:yellow:blue
COLOR:3:green:black
COLOR:4:green:black
COLOR:5:brightcyan:black
COLOR:6:red:black
COLOR:7:black:white

I think I just copied and pasted that from my old config, but that was a
while ago, so I might be wrong.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-31-2008, 04:49 AM
 
Default lynx upgrade issue?

Cameron Hutchison <lists@xdna.net> wrote:
CH> crank@got.net (i'll teach you to turn away.) writes:
>> ok, so i added the directory ~/.lynx & i dumped the color settings
>>into ~/.lynx/colors but it's still green. however, i did find that
>>/etc/lynx-cur has a .lss file in it which apparently controls color in a
>>totally different layout than old lynx. wow, that's irritating. time to
>>edit manually for a half hour i guess.
CH> The contents of my ~/.lynx/colors are:
CH> COLOR:0:lightgray:black
CH> COLOR:1:cyan:black
CH> COLOR:2:yellow:blue
CH> COLOR:3:green:black
CH> COLOR:4:green:black
CH> COLOR:5:brightcyan:black
CH> COLOR:6:red:black
CH> COLOR:7:black:white
CH> I think I just copied and pasted that from my old config, but that was a
CH> while ago, so I might be wrong.

right, i tried putting exactly that in ~/.lynx/colors, but it
ignored me. only editing /etc/lynx-cur/lynx.lss changes the colors - &
they're laid out ENTIRELY differently from my old lynx color entries,
which match what you've dumped here (except for the exact colors
themselves). what's going on with my system?! heh.

lish
crank@got.net


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-31-2008, 05:57 AM
Cameron Hutchison
 
Default lynx upgrade issue?

crank@got.net (i'll teach you to turn away.) writes:

> right, i tried putting exactly that in ~/.lynx/colors, but it
>ignored me. only editing /etc/lynx-cur/lynx.lss changes the colors - &
>they're laid out ENTIRELY differently from my old lynx color entries,
>which match what you've dumped here (except for the exact colors
>themselves). what's going on with my system?! heh.

Aha, found it.

I also have:
COLOR_STYLE:
in /etc/lynx-cur/local.cfg

It looks like it defaults to
COLOR_STYLE: lynx.lss

so by turning that off, it looks like thats how I got it to pay
attention to my ~/.lynx/colors file.

Hopefully there was nothing else I changed - it was a while ago so I've
forgotten all about it.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-31-2008, 05:31 PM
 
Default lynx upgrade issue?

Cameron Hutchison <lists@xdna.net> wrote:
CH> crank@got.net (i'll teach you to turn away.) writes:
>> right, i tried putting exactly that in ~/.lynx/colors, but it
>>ignored me. only editing /etc/lynx-cur/lynx.lss changes the colors - &
>>they're laid out ENTIRELY differently from my old lynx color entries,
>>which match what you've dumped here (except for the exact colors
>>themselves). what's going on with my system?! heh.
CH> Aha, found it.
CH> I also have:
CH> COLOR_STYLE:
CH> in /etc/lynx-cur/local.cfg

ok. this is the entirity of my /etc/lynx-cur/local.cfg:

# local overides for lynx-cur configuration
STARTFILE:http://www.debian.org/
NNTPSERVER:cis.dfn

there's nothing in there about color_style. in fact, the only
thing in the entire directory about color_style is in
/etc/lynx-cur/lynx.cfg.dpkg-dist, whatever that is. & it's already
commented out:

#COLOR_STYLE: lynx.lss

CH> It looks like it defaults to
CH> COLOR_STYLE: lynx.lss
CH> so by turning that off, it looks like thats how I got it to pay
CH> attention to my ~/.lynx/colors file.
CH> Hopefully there was nothing else I changed - it was a while ago so I've
CH> forgotten all about it.

so anyway, taking the Logical Next Step, i added this to
/etc/lynx-cur/local.cfg:

COLOR_STYLE: ~/.lynx/colors

...& lynx still totally ignores it. i hate the new colors, i
can't get them to do exactly what old lynx did, & it's making me crazy.
any other suggestions?

lish
crank@got.net


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-05-2008, 12:26 PM
Thomas Dickey
 
Default lynx upgrade issue?

On Thu, Jul 31, 2008 at 08:00:21PM +0200, i'll teach you to turn away. wrote:
> # local overides for lynx-cur configuration
> STARTFILE:http://www.debian.org/
> NNTPSERVER:cis.dfn
>
> there's nothing in there about color_style. in fact, the only
> thing in the entire directory about color_style is in
> /etc/lynx-cur/lynx.cfg.dpkg-dist, whatever that is. & it's already
> commented out:
>
> #COLOR_STYLE: lynx.lss

The commented-out values correspond (or should...) to the default values
compiled into lynx.

> so anyway, taking the Logical Next Step, i added this to
> /etc/lynx-cur/local.cfg:
>
> COLOR_STYLE: ~/.lynx/colors

The data in the COLOR_STYLE file is organized differently from lynx.cfg

>
> ...& lynx still totally ignores it. i hate the new colors, i
> can't get them to do exactly what old lynx did, & it's making me crazy.
> any other suggestions?

The "oldlynx" script (which may be part of the package) suppresses the
color-style file, which makes it look very close to the old version.

For reference (the script):

#!/bin/sh
# invoke lynx built with color-style, overriding the color options to use the
# non-color-style scheme -TD

my_cfg=${TMPDIR:-/tmp}/lynxcfg$$
trap "rm -f $my_cfg" 0 1 2 5 15

rm -f "$my_cfg"
echo "DEFAULT_COLORSff" >>$my_cfg
if test -n "$LYNX_CFG" ; then
echo "include:$LYNX_CFG" >>$my_cfg
fi
echo "COLOR_STYLE:" >>$my_cfg
echo "NESTED_TABLESff" >>$my_cfg

LYNX_CFG=$my_cfg
export LYNX_CFG
unset LYNX_LSS

${LYNX_PROG-lynx} "$@"

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
 
Old 08-05-2008, 08:43 PM
 
Default lynx upgrade issue?

Thomas Dickey <dickey@radix.net> wrote:
TD> On Thu, Jul 31, 2008 at 08:00:21PM +0200, i'll teach you to turn away. wrote:
>> there's nothing in there about color_style. in fact, the only
>> thing in the entire directory about color_style is in
>> /etc/lynx-cur/lynx.cfg.dpkg-dist, whatever that is. & it's already
>> commented out:
>> #COLOR_STYLE: lynx.lss
TD> The commented-out values correspond (or should...) to the default values
TD> compiled into lynx.

...but i don't want the default values. isn't that the point?

>> COLOR_STYLE: ~/.lynx/colors
TD> The data in the COLOR_STYLE file is organized differently from lynx.cfg

yes, i agree... so how do i get them to relate?

TD> The "oldlynx" script (which may be part of the package) suppresses the
TD> color-style file, which makes it look very close to the old version.

ok, but how do i make it recognize this, or...? my apologies, i'm
a bit lost on what to do next.

TD> For reference (the script):
TD>
TD> #!/bin/sh
TD> # invoke lynx built with color-style, overriding the color options to use the
TD> # non-color-style scheme -TD
TD>
TD> my_cfg=${TMPDIR:-/tmp}/lynxcfg$$
TD> trap "rm -f $my_cfg" 0 1 2 5 15
TD>
TD> rm -f "$my_cfg"
TD> echo "DEFAULT_COLORSff" >>$my_cfg
TD> if test -n "$LYNX_CFG" ; then
TD> echo "include:$LYNX_CFG" >>$my_cfg
TD> fi
TD> echo "COLOR_STYLE:" >>$my_cfg
TD> echo "NESTED_TABLESff" >>$my_cfg
TD>
TD> LYNX_CFG=$my_cfg
TD> export LYNX_CFG
TD> unset LYNX_LSS
TD>
TD> ${LYNX_PROG-lynx} "$@"

lish
crank@got.net


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 08-07-2008, 12:12 AM
Thomas Dickey
 
Default lynx upgrade issue?

On Tue, Aug 05, 2008 at 11:10:17PM +0200, i'll teach you to turn away. wrote:
> Thomas Dickey <dickey@radix.net> wrote:
> TD> On Thu, Jul 31, 2008 at 08:00:21PM +0200, i'll teach you to turn away. wrote:
> >> there's nothing in there about color_style. in fact, the only
> >> thing in the entire directory about color_style is in
> >> /etc/lynx-cur/lynx.cfg.dpkg-dist, whatever that is. & it's already
> >> commented out:
> >> #COLOR_STYLE: lynx.lss
> TD> The commented-out values correspond (or should...) to the default values
> TD> compiled into lynx.
>
> ...but i don't want the default values. isn't that the point?

yes (that's what the replies to your posting are addressing).

The commented-out values are part of the documentation,
to show what the default values are as well as to illustrate
the syntax.

> >> COLOR_STYLE: ~/.lynx/colors
> TD> The data in the COLOR_STYLE file is organized differently from lynx.cfg
>
> yes, i agree... so how do i get them to relate?

If lynx thinks there's no color-style file, it'll construct a style from
the "COLOR" settings that mimics the non-color-style. (It's done that
way intentionally, to let most of the people who want the old style to
use it).

> TD> The "oldlynx" script (which may be part of the package) suppresses the
> TD> color-style file, which makes it look very close to the old version.
>
> ok, but how do i make it recognize this, or...? my apologies, i'm
> a bit lost on what to do next.

The original text (removing the "> TD> " for instance) is a shell script
named "oldlynx" in the samples directory of lynx, e.g.,

http://lynx.isc.org/lynx2.8.6/lynx2-8-6/samples/oldlynx

The script constructs a temporary copy of lynx.cfg, overrides a few
settings to produce a screen that looks much like the non-color-style
lynx.

> TD> For reference (the script):
...

I named it "oldlynx" to make it very simple; with some minor tinkering it
could be named "lynx" and told to run "lynx.cur", for example.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
 

Thread Tools




All times are GMT. The time now is 07:00 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org