Subject: Re: NN + Pico -How to get cursor to start at beginning of text

From: Nancy McGough <[email-masked]>
Date: 14 Jul 1994 13:21:45 GMT

[email-masked] (Kim Culhan) writes:
>How can NN be configured to cause the cursor to be placed at the starting point
>of text entry (not at the top of page in the header) 

I don't know how to do this with pico but maybe the folks in comp.mail.pine 
or comp.editors know... 

>and also not ask for y/n on 
>exiting.
>
>If its possible, it would also be nice to cause it to write out the file
>and not ask for verification of the file name to write.

For these you can use pico with the -t flag (tool mode), i.e., for nn put 
the following in ~/.nn/init

   set editor pico -t

Or if you're using csh (or one of its relatives) you can put these two
lines in your .login:

   setenv EDITOR 'pico -t'
   setenv VISUAL $EDITOR

Hope this helps,
Nancy

--
<A HREF="ftp://ftp.ii.com/pub/ii">Nancy McGough, Infinite Ink</A>

---

From: David L Miller <[email-masked]>
Date: Thu, 14 Jul 1994 11:18:20 -0700 (PDT)

You can use the +nn flag to pico to specify what line to position the 
cursor to, but it does not know how to parse for the end of the headers.  
E.g.

	pico +11 file

will open file and position the cursor to line 11.  I will leave it to 
the NN experts to give the aqppropriate magic to compute "+11"...

|\ |  |\/|  David L. Miller    [email-masked]  (206) 685-6240
|/ |_ |  |  Software Engineer, Pine Development Team   (206) 685-4045 (FAX)
University of Washington, Networks & Distributed Computing, JE-20
4545 15th Ave NE, Seattle WA 98105, USA