Subject: goto a line number in pico

From: [email-masked] (Tim Mooney)
Date: 29 Jul 1996 17:56:29 -0500

This may be a FAQ, but I've found no way to go to a particular line number
in a file with pico.  I know how to skip to the end of the file using the
Whereis command, but that appears to be about it for precise positioning
capabilities.

Is the feature there and I've just missed it, or can't it be done with the
current version of pico?   I see the `gotoline' function in pico/basic.c,
so it shouldn't be too difficult to add support for `goto line #:' capability,
if it's not already there.

If it can't be done and the pine/pico authors are watching, perhaps you 
might want to add a `line-number' option to the Whereis command of pico.

Tim
-- 
Tim Mooney                              [email-masked]
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Bldg.                 (701) 231-8541 (FAX)
North Dakota State University, Fargo, ND 58105

---

From: Jason Reader <[email-masked]>
Date: Tue, 30 Jul 1996 16:18:50 -0700

> Tim Mooney                              [email-masked]

On Pine version 3.91 there is a jump command.  To run it, enter the 
letter "J".  Then pine will ask you for a number.  That's it.
You can also config Pine so that if a number is entered in the index of 
a folder it will jump to that number.  Check out your Setup menu for this 
command.

				       Jason 
			  [email-masked] / [email-masked]

There once was a lady named Bright,       |     "No matter where you go,
Who traveled much faster then light.      |           there you are."
She departed one day, in a relative way,  |           -From a plaque on the
And returned on the previous night.       |              Starship Excelsior,
			-- Anonymous      |                  in Star Trek VI

---

From: Mike Brudenell <[email-masked]>
Date: Wed, 31 Jul 1996 09:08:43 +0100 (BST)

Ummmmm... The original question was about how to jump to a specific line
within the Pico editor (and hence by implication I suspect also within
Pine's internal composer).

What you suggest is simply to allow you to jump to a particular *message*
within a folder's Index screen.

Cheers,

Mike Brudenell                                         <[email-masked]>
------------------------------------------------------------------------
The Computing Service, University of York, Heslington, York, YO1 5DD, UK
Tel: +44-1904-433811  FAX: +44-1904-433740  http://www.york.ac.uk/~pmb1/

---

From: "Hiram Lester Jr." <[email-masked]>
Date: Wed, 31 Jul 1996 12:43:51 -0500 (CDT)

> Pine's internal composer).

I don't think there is a way to jump once in the editor, but if Pico is
called with a +n where n is a number, it will start with the cursor on
that line.

   +------------------------------------+-------------------------------+
   | Hiram W. Lester, Jr.               | E-Mail: [email-masked]    |
   | Computer Science                   | Homepage:                     |
   | Middle Tennessee State University  |   http://pobox.com/~hwlester/ |
   +------------------------------------+-------------------------------+