lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV Query about editing the bookmark file


From: Klaus Weide
Subject: Re: LYNX-DEV Query about editing the bookmark file
Date: Wed, 30 Jul 1997 13:06:37 -0500 (CDT)

On Wed, 30 Jul 1997, T.E.Dickey wrote:

> > -c option, 1: Illegal address: only 914 lines in the file
> > Press Enter to continue: 
> > 
> > I press Enter and I am positioned at line 914 of the file.
> > 
> > Anyone know what's going on?  My default editor is the BSD new vi called
> > nvi.  My bookmark page is writable by me.  I only add entries to the
> > file via Lynx.
> I'd see that symptom when an application tries using the +number option
> to position the editor to the end of file, and doesn't compute the total
> number of lines correctly. (ymmv).

That's what lynx does - it calls (e.g.) vi +N <filename>, where N is based
on the line number of the current link in the *rendered* text.  It's only
an approximate guess, to take you to the vicinity of where you were.
It cannot be more exact because there is no one-to-one correspondence
between lines in the file and lines in the rendered version of it.  For
example a link that occupies one line in the file may need more than one
line on the screen (depending on screen width), and there's no telling how
many lines the intro text will occupy when rendered.

If Larry wants to avoid seeing that message, he can try to stretch that
intro paragraph by spreading it over more lines.  Also keeping less
bookmarks in one file would probably help.


   Klaus

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

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