Thread View: news.software.readers
15 messages
15 total messages
Started by Javier Hernandez
Thu, 08 Feb 1996 00:00
knews problem
Author: Javier Hernandez
Date: Thu, 08 Feb 1996 00:00
Date: Thu, 08 Feb 1996 00:00
44 lines
1773 bytes
1773 bytes
Hi all I did successfully install Knews on my desktop machine. Then I went to my laptop and follow the same process except that after I have installed everything I did copied from my desktop the following files (at the same locations as at the desktop computer because the installation in the laptop was done in the same directory): Configure.h (this one before "make ..." config-news-s01.ny.us.ibm.net .news-s01.ny.us.ibm.net What I was trying to do is to avoid the recharge of all groups in the laptop. My problem is that now each time I got into Knews I got the following message: Warning: Application defaults file not properly installed Warning: Cannot allocate colormap entry for "Red" Warning; Cannot allocate colormap entry for "Medium Blue" Warning: Cannot allocate colormap entry for "#000090" The colormap advice must be because the laptop is a Aero 4/25 mono which only handles 16 colors. I tried to fix those problems editing "/usr/src/knews/src/Knews.ad" but I still got those messages. Is there any solution to fix it or I must reinstall and "charge" all newsgroups ? Thanks, Plesae reply Email -- --------------oOo-------------------- Javi fjherna@ibm.net fj.chicha@p48.europa3.encomix.com Valencia, SPAIN
Re: knews problem
Author: Fabian Ritzmann
Date: Fri, 09 Feb 1996 00:00
Date: Fri, 09 Feb 1996 00:00
36 lines
1741 bytes
1741 bytes
In article <4fc7i4$4mco@news-s01.ny.us.ibm.net>, root@David.lcv.es (Javier Hernandez) writes: >Warning: Application defaults file not properly installed >Warning: Cannot allocate colormap entry for "Red" >Warning; Cannot allocate colormap entry for "Medium Blue" >Warning: Cannot allocate colormap entry for "#000090" > >The colormap advice must be because the laptop is a Aero 4/25 mono >which only handles 16 colors. Correct. >I tried to fix those problems editing "/usr/src/knews/src/Knews.ad" >but I still got those messages. I have got a similar problem with installing the application defaults file and unfortunately I don't find any reason for it. I also get the message that the application defaults file is not properly installed. Apparently the Knews.ad file is not bogus but just not found. I have all the knews file in a directory ~/knews-0.9.5, copied Knews.ad from ~/knews-0.9.5/src to ~/knews-0.9.5, renamed it to Knews and set XAPPLRESDIR to $HOME/knews-0.9.5 I am working on a Sun with Solaris 4.1.3 and am usually using the tcshell. I would appreciate any hints, Fabian -- Fabian Ritzmann -- d92-fgr@nada.kth.se
Re: knews problem
Author: Christoph Gr�ver
Date: Sat, 10 Feb 1996 00:00
Date: Sat, 10 Feb 1996 00:00
15 lines
1250 bytes
1250 bytes
I have written a little shell script to get around this problem.
The point seems to be that I have to change to the directory where
the binary and the app-def. are and then start knews.
There must be another way and I'm pretty sure that it works, but
as it works for me this way I haven't tried anymore.
Ciao
--
********************************************************
* If there is to be a brave new world, our generation *
* is going to have the hardest time living in it *
********************************************************
Christoph Gr�ver grover@uni-muenster.de
Re: knews problem
Author: Jeroen Scheerder
Date: Mon, 12 Feb 1996 00:00
Date: Mon, 12 Feb 1996 00:00
19 lines
1222 bytes
1222 bytes
] I have written a little shell script to get around this problem. ] The point seems to be that I have to change to the directory where ] the binary and the app-def. are and then start knews. Nope, setting en environment var XAPPLRESDIR to a place where a valid, readable 'Knews' setup file can be found should do the trick. Read the docs. Check the filenames. Make sure XAPPLRESDIR is exported. Works. (Anyone using 0.9.5 on Solaris 2.4, by the way? 0.9.5 stopped finding libXmu.a for some reason I can't seem to find out). -- JS -- To err is human...to really foul up requires the root password.
Re: knews problem
Author: Christoph Gr�ver
Date: Tue, 13 Feb 1996 00:00
Date: Tue, 13 Feb 1996 00:00
21 lines
1434 bytes
1434 bytes
In article <DMnr3n.Cs9.0.-s@cs.vu.nl>,
js@cs.vu.nl (Jeroen Scheerder) writes:
[..]
>Nope, setting en environment var XAPPLRESDIR to a place where a valid,
>readable 'Knews' setup file can be found should do the trick.
Definitly not. I export XAPPLRESDIR and it points to the directory where
the config-File is and knews starts up without having read it !!
(Using rs/6000 with AIX 3.2.5 on it)
But don't mind : It works if Knews is in the same dir as the binary.
So why bother ?
Ciao
--
********************************************************
* If there is to be a brave new world, our generation *
* is going to have the hardest time living in it *
********************************************************
Christoph Gr�ver grover@uni-muenster.de
Re: knews problem
Author: JS
Date: Tue, 13 Feb 1996 00:00
Date: Tue, 13 Feb 1996 00:00
12 lines
979 bytes
979 bytes
Scripsit js@cs.vu.nl (Jeroen Scheerder): ] (Anyone using 0.9.5 on Solaris 2.4, by the way? 0.9.5 stopped finding ] libXmu.a for some reason I can't seem to find out). ] To err is human...to really foul up requires the root password. Say that again. I'm an idiot, not setting LD_RUN_PATH while ld'ing the binary. Tsk.
Re: knews problem
Author: Heikki Kantola
Date: Tue, 13 Feb 1996 00:00
Date: Tue, 13 Feb 1996 00:00
17 lines
1419 bytes
1419 bytes
Jeroen Scheerder <js@cs.vu.nl> provided the following for the eyes of news.software.readers: >(Anyone using 0.9.5 on Solaris 2.4, by the way? 0.9.5 stopped finding >libXmu.a for some reason I can't seem to find out). Yep. Compiled quite fine with GCC after using the tricks mentioned on Knews' WWW page and works atleast as well as on HP-UX. Can't remember any problems concerning libXmu.a... -- Heikki Kantola aka Hezu@IRC, /// Ihmisel�m� ei ole ollenkaan Computer Linguistics Student /// niin monimutkaista kuin milt� at the University of Helsinki \\\/// se n�ytt�� - se on paljon E-Mail: Heikki.Kantola@Helsinki.FI\/// monimutkaisempaa.
Re: knews problem
Author: Fabian Ritzmann
Date: Thu, 15 Feb 1996 00:00
Date: Thu, 15 Feb 1996 00:00
31 lines
1765 bytes
1765 bytes
In article <4fquj1$t44@majestix.uni-muenster.de>, grover@barbados.uni-muenster.de (Christoph Gr�ver) writes: >In article <DMnr3n.Cs9.0.-s@cs.vu.nl>, > js@cs.vu.nl (Jeroen Scheerder) writes: >[..] >>Nope, setting en environment var XAPPLRESDIR to a place where a valid, >>readable 'Knews' setup file can be found should do the trick. > >Definitly not. I export XAPPLRESDIR and it points to the directory where >the config-File is and knews starts up without having read it !! >(Using rs/6000 with AIX 3.2.5 on it) >But don't mind : It works if Knews is in the same dir as the binary. >So why bother ? After some extensive reading, I finally found out the reason why it didn't work for me. Probably it explains even Christoph's problem. XAPPLRESDIR is ignored if XUSERFILESEARCHPATH is set to something else than the default. So omitting that XAPPLRESDIR and appending $HOME/knews-0.9.5/%N to XUSERFILESEARCHPATH did it for me. Since XAPPLRESDIR only exists for downwards compatibility with X11R3 I think the recommendation in the Knews.ad file to use XAPPLRESDIR should be completed. /mvh Fabian -- Fabian Ritzmann -- d92-fgr@nada.kth.se
Re: knews problem
Author: J$
Date: Fri, 16 Feb 1996 00:00
Date: Fri, 16 Feb 1996 00:00
14 lines
1457 bytes
1457 bytes
In article <4fvk8m$k1@news.kth.se>, d92-fgr@nada.kth.se (Fabian Ritzmann) wrote: ] After some extensive reading, I finally found out the reason why it ] didn't work for me. Probably it explains even Christoph's problem. ] XAPPLRESDIR is ignored if XUSERFILESEARCHPATH is set to something else ] than the default. So omitting that XAPPLRESDIR and appending ] $HOME/knews-0.9.5/%N to XUSERFILESEARCHPATH did it for me. ] Since XAPPLRESDIR only exists for downwards compatibility with X11R3 ] I think the recommendation in the Knews.ad file to use XAPPLRESDIR ] should be completed. Mumble 'X' mumble blind hate mumble mumble
Re: knews problem
Author: J$
Date: Fri, 16 Feb 1996 00:00
Date: Fri, 16 Feb 1996 00:00
19 lines
1516 bytes
1516 bytes
In article <slrn4i1k2u.4v5.hkantola@karhu.Helsinki.FI>, hkantola@cc.Helsinki.FI (Heikki Kantola) wrote: ] Jeroen Scheerder <js@cs.vu.nl> provided the following ] for the eyes of news.software.readers: ] >(Anyone using 0.9.5 on Solaris 2.4, by the way? 0.9.5 stopped finding ] >libXmu.a for some reason I can't seem to find out). ] ] Yep. Compiled quite fine with GCC after using the tricks mentioned on ] Knews' WWW page and works atleast as well as on HP-UX. Can't remember ] any problems concerning libXmu.a... It might have been a problem connected to a gcc update; after setting LD_RUN_PATH (to /usr/openwin/lib, where the lib* stuff is) while compiling it was peaches & roses. Awesome newsreader, knews. Happy happy joy joy.
Re: knews problem
Author: Karl-Johan Johnsson
Date: Fri, 16 Feb 1996 00:00
Date: Fri, 16 Feb 1996 00:00
15 lines
1041 bytes
1041 bytes
Fabian Ritzmann writes: >XAPPLRESDIR is ignored if XUSERFILESEARCHPATH is set to something else >than the default. I'll put a note about this in the app-def file. -- Karl-Johan Johnsson kjj@matematik.su.se http://www.matematik.su.se/users/kjj/knews.html ftp://ftp.matematik.su.se/pub/kjj/knews-0.9.5.tar.gz
Re: knews problem
Author: Christoph Gr�ver
Date: Sat, 17 Feb 1996 00:00
Date: Sat, 17 Feb 1996 00:00
13 lines
1088 bytes
1088 bytes
Well, after month of irritation and frustration there finally
was somebody who solved my Knews problem.
Thanks and cheers to Fabian Ritzmann !
Ciao
--
********************************************************
* If there is to be a brave new world, our generation *
* is going to have the hardest time living in it *
********************************************************
Christoph Gr�ver grover@uni-muenster.de
Re: knews problem
Author: J$
Date: Sat, 17 Feb 1996 00:00
Date: Sat, 17 Feb 1996 00:00
15 lines
1299 bytes
1299 bytes
In <4g380l$fc8@majestix.uni-muenster.de>, grover@barbados.uni-muenster.de (Christoph Gr�ver) came up with: ] Well, after month of irritation and frustration there finally ] was somebody who solved my Knews problem. Care to share? -- J$ -- [#GOTH CODE 2.0a#] ?GoMa+3CS$4PH++SS!4 TAdYzz)Z( B0/10Bk\^1 ?cBs--L PNiShE]Sa[ V-4s M+3 Z?? C+3P23u ?a30+ naD b+:++ H182 g-3! m+#? w+3! r D+5~ h-3 k- Rz SsNn N0786WPw LnlNL++* HzSp2$
Re: knews problem
Author: Christoph Gr�ver
Date: Sun, 18 Feb 1996 00:00
Date: Sun, 18 Feb 1996 00:00
17 lines
1357 bytes
1357 bytes
If you have the same problem like I had (the application-default wasn't
recognized if it wasn't in the same dir. as the binary), then the solution
might be that you have the environment variable XUSERFILESEARCHPATH set.
So say something like
"export XUSERFILESEARCHPATH=$XUSERFILESEARCHPATH:<the_dir_where_your_Knews_is>/%N"
and your Knews should be found.
If you use csh or tcsh you use setenv, of course.
Ciao
--
********************************************************
* If there is to be a brave new world, our generation *
* is going to have the hardest time living in it *
********************************************************
Christoph Gr�ver grover@uni-muenster.de
Re: knews problem
Author: Rick Hewett
Date: Fri, 23 Feb 1996 00:00
Date: Fri, 23 Feb 1996 00:00
16 lines
1131 bytes
1131 bytes
Recently grover@barbados.uni-muenster.de (Christoph Gr�ver) wrote:
>Definitly not. I export XAPPLRESDIR and it points to the directory where
>the config-File is and knews starts up without having read it !!
Try setting and exporting XUSERFILESEARCHPATH instead...
Mine's set thus: XUSERFILESEARCHPATH=/home/hewett/app-defaults/%N
--
Rick Hewett. (alias: rick@chocky.demon.co.uk)
I EXPECT, he said, THAT YOU COULD MURDER A PIECE OF CHEESE?
-- Death talks to the Death of Rats
(Terry Pratchett, Reaper Man)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads