From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Sun, 4 Aug 2002 04:35:09 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 293 ************************************************** Saturday 03 August 2002 Number 293 ************************************************** Subjects for today 1 Re: New Lynx : John Poltorak 2 AMP : John Poltorak 3 Re: AMP : John Poltorak 4 Re: New Lynx : Thomas Dickey **= Email 1 ==========================** Date: Sun, 4 Aug 2002 09:27:00 +0100 From: John Poltorak Subject: Re: New Lynx On Sat, Aug 03, 2002 at 02:39:09PM -0400, Thomas Dickey wrote: > On Fri, Aug 02, 2002 at 04:58:06PM +0100, John Poltorak wrote: > > On Fri, Aug 02, 2002 at 05:40:49PM +0100, Michel SUCH wrote: > > > > > > I missed beginning of this thread, but could it be that lynx cannot access > > > terminfo? > > > Check out the terminfo environment variable and see if it points to the > > > right location. > > > > If terminfo can't be found I get this error msg:- > > > > Error opening terminal: ansi-color-2. > > > > Lynx does actually start up OK as well as retrieving and displaying the > > requested URL. > > perhaps it's reading the termcap file instead (when it cannot find terminfo) It's definitely reading terminfo. > > Actually, I've just got it working... I needed to change the screen size > > to mode 80,50. I normally run it in mode 80,70. I've just found that it > > dumps under that mode. > > did you resize the window before or after starting lynx? If I size the window to 80x50 it works, if it's 80x70 it core dumps. I can start it in 80x50 mode and then change it to 80x70 within a shell and it displays correctly, but crashes as soon as I try to navigate the page. Do I need to set the ROWS and COLS variables first before using my preferred mode or should the terminfo information be able to deal with the size of the window inherited on startup? > -- > Thomas E. Dickey > http://invisible-island.net > ftp://invisible-island.net -- John **= Email 2 ==========================** Date: Sun, 4 Aug 2002 10:07:41 +0100 From: John Poltorak Subject: AMP Has anyone come across an OS/2 port of AMP (Audio Mpeg Player) ? It was developed by Tomislav Uzelac and there was a home page for it here:- ftp://ftp.rasip.fer.hr/pub/mpeg/ but it seems to have disappeared. Wonder if WINAMP was originally based on this... -- John **= Email 3 ==========================** Date: Sun, 4 Aug 2002 10:19:25 +0100 From: John Poltorak Subject: Re: AMP On Sun, Aug 04, 2002 at 10:07:41AM +0100, John Poltorak wrote: > > Has anyone come across an OS/2 port of AMP (Audio Mpeg Player) ? > > It was developed by Tomislav Uzelac and there was a > home page for it here:- > > ftp://ftp.rasip.fer.hr/pub/mpeg/ > > but it seems to have disappeared. I have managed to track down the source here:- ftp://ftp.mirror.ac.uk/sites/ftp.slackware.com/pub/slackware/slackware-8.1/source/ap/amp/amp-0.7.6.tar.gz -- John **= Email 4 ==========================** Date: Sun, 4 Aug 2002 12:08:11 -0400 From: Thomas Dickey Subject: Re: New Lynx On Sun, Aug 04, 2002 at 09:27:00AM +0100, John Poltorak wrote: > On Sat, Aug 03, 2002 at 02:39:09PM -0400, Thomas Dickey wrote: > > On Fri, Aug 02, 2002 at 04:58:06PM +0100, John Poltorak wrote: > > > On Fri, Aug 02, 2002 at 05:40:49PM +0100, Michel SUCH wrote: > > > > > > > > I missed beginning of this thread, but could it be that lynx cannot access > > > > terminfo? > > > > Check out the terminfo environment variable and see if it points to the > > > > right location. > > > > > > If terminfo can't be found I get this error msg:- > > > > > > Error opening terminal: ansi-color-2. > > > > > > Lynx does actually start up OK as well as retrieving and displaying the > > > requested URL. > > > > perhaps it's reading the termcap file instead (when it cannot find terminfo) > > It's definitely reading terminfo. I was asking because of the combination of the two messages: first it says it cannot open the terminal, but then you say it does startup. So I'm looking at the possibility that it tried reading the terminfo entry, didn't find that, and then read the termcap - which would tend to lack features. > > > Actually, I've just got it working... I needed to change the screen size > > > to mode 80,50. I normally run it in mode 80,70. I've just found that it > > > dumps under that mode. > > > > did you resize the window before or after starting lynx? > > > If I size the window to 80x50 it works, if it's 80x70 it core dumps. I'm puzzled - still nothing that comes to mind directly for ncurses or lynx. (I just started a 200x90 xterm and lynx seems fine - font's a little hard to read ;-) > I can start it in 80x50 mode and then change it to 80x70 within a shell > and it displays correctly, but crashes as soon as I try to navigate the > page. > > Do I need to set the ROWS and COLS variables first before using my > preferred mode or should the terminfo information be able to deal with the > size of the window inherited on startup? There's more than one answer. ncurses tries to get the actual window size by a system call, failing that, uses $LINES and $COLUMNS and failing that uses the information in the terminfo/termcap entry. (I don't often have to use the last, since one of the other mechanisms almost always works, and 'resize' run from the command-line works around problems where networking gets in the way of the first). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net