🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #6119

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

#6119
From: David L Miller
Date: Thu, 14 Jul 1994 18:18
51 lines
2631 bytes
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    dlm@cac.washington.edu  (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

On 14 Jul 1994, Nancy McGough wrote:

> kimc@w8hd.org (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>
> 
> 
Technical Details
Message-ID: <Pine.3.90.940714111556.25838P-100000@shiva1.cac.washington.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.editors.mbox.zip!bga.com!news.sprintlink.net!sun.cais.com!ionews.io.org!winternet.com!mr.net!umn.edu!zip.eecs.umich.edu!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!vixen.cso.uiuc.edu!news.uoregon.edu!netnews.nwnet.net!news.u.washington.edu!news
References: <2vvai8$k3v@w8hd.w8hd.org> <303e59$pn0@nwfocus.wa.com>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.3.90.940714111556.25838P-100000@shiva1.cac.washington.edu>
Subject: Re: NN + Pico -How to get cursor to start at beginning of text
Date: Thu, 14 Jul 1994 18:18:20 +0000
From: David L Miller <dlm@cac.washington.edu>
References: <2vvai8$k3v@w8hd.w8hd.org> <303e59$pn0@nwfocus.wa.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.editors.mbox.zip!bga.com!news.sprintlink.net!sun.cais.com!ionews.io.org!winternet.com!mr.net!umn.edu!zip.eecs.umich.edu!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!vixen.cso.uiuc.edu!news.uoregon.edu!netnews.nwnet.net!news.u.washington.edu!news
Newsgroups: news.software.nn,comp.mail.pine,comp.editors
Organization: University of Washington
Lines: 50
Distribution: inet
NNTP-Posting-Host: shiva1.cac.washington.edu
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
In-Reply-To: <303e59$pn0@nwfocus.wa.com>