[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Re: suggestions for new features
From: |
Jan Hlavacek |
Subject: |
Re: lynx-dev Re: suggestions for new features |
Date: |
Thu, 23 Apr 1998 05:02:28 -0400 |
On Thu, Apr 23, 1998 at 03:34:06AM -0400, Egon Ipse wrote:
> On Thu, Apr 23, 1998 at 02:50:52AM -0400, John wrote:
> >
> > On Thu, 23 Apr 1998, Jan Hlavacek wrote: ... in part ...
> >
> > > Incidentaly, I would like to report a minor bug in the
> > > externals support. When you press `.' on a page with no
> > > links on it, lynx dumps core. I wanted to look at the
> > > source before reporting it, but I will be extremely busy
> > > for next couple of weeks, so if somebody wants to try it
> > > first, go ahead.
> >
> > It's not a bug ... it's a feature. If you are unix literate
Well, this seems to fix the feature:
--- LYMainLoop.c Wed Mar 25 08:58:54 1998
+++ lynx2-8/src/LYMainLoop.c Thu Apr 23 04:56:10 1998
@@ -4594,8 +4594,11 @@
#ifdef USE_EXTERNALS
case LYK_EXTERN: /* use external program on url */
- run_external(links[curdoc.link].lname);
- refresh_screen = TRUE;
+ if ((nlinks > 0) && (links[curdoc.link].lname != NULL))
+ {
+ run_external(links[curdoc.link].lname);
+ refresh_screen = TRUE;
+ }
break;
#endif /* USE_EXTERNALS */
It wasn't that painfull after all.
--
Jan Hlav\'{a}\v{c}ek
address@hidden (Blind Carbon Copies will bounce)
www: http://www.math.ohio-state.edu/~lahvak/
- lynx-dev suggestions for new features, Mitja Sarp, 1998/04/22
- lynx-dev Re: suggestions for new features, Louis-David Mitterrand, 1998/04/22
- Re: lynx-dev Re: suggestions for new features, Jacob Poon, 1998/04/22
- Re: lynx-dev Re: suggestions for new features, Jan Hlavacek, 1998/04/23
- Re: lynx-dev Re: suggestions for new features, John, 1998/04/23
- Re: lynx-dev Re: suggestions for new features, Jan Hlavacek, 1998/04/23
- Re: lynx-dev Re: suggestions for new features,
Jan Hlavacek <=
- Re: lynx-dev Re: suggestions for new features, Larry W. Virden, x2487, 1998/04/23
- Re: lynx-dev Re: suggestions for new features, Doug Kaufman, 1998/04/23
- Re: lynx-dev Re: suggestions for new features, Jason F. McBrayer, 1998/04/23
- Re: lynx-dev Re: suggestions for new features, T.E.Dickey, 1998/04/23
- Re: lynx-dev Re: suggestions for new features, Al Gilman, 1998/04/23
Re: lynx-dev suggestions for new features, Jason F. McBrayer, 1998/04/22