Thread View: news.software.nn
4 messages
4 total messages
Started by Kim Culhan
Tue, 12 Jul 1994 23:55
NN + Pico -How to get cursor to start at beginning of text
Author: Kim Culhan
Date: Tue, 12 Jul 1994 23:55
Date: Tue, 12 Jul 1994 23:55
15 lines
1144 bytes
1144 bytes
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) 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. Any help here is greatly appreciated. regards kim culhan -- kimc@w8hd.org
Re: NN + Pico -How to get cursor to start at beginning of text
Author: Nancy McGough
Date: Thu, 14 Jul 1994 13:21
Date: Thu, 14 Jul 1994 13:21
32 lines
1644 bytes
1644 bytes
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>
Re: NN + Pico -How to get cursor to start at beginning of text
Author: David L Miller
Date: Thu, 14 Jul 1994 18:18
Date: Thu, 14 Jul 1994 18:18
51 lines
2631 bytes
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> > >
Re: NN + Pico -How to get cursor to start at beginning of text
Author: Dave Halliwell
Date: Mon, 18 Jul 1994 17:46
Date: Mon, 18 Jul 1994 17:46
43 lines
2256 bytes
2256 bytes
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) 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.
Others have made a few suggestions. To get your sysadmin to deal with
the question, for once and for all, get them to edit the aux.sh script
that comes with nn so that nn knows about pico. for version 6.4, I used
the following:
--------- mods to aux.sh --------
uemacs )
# micro emacs
$EDITOR -g${ED_LINE} $WORK
;;
pico )
#pico version 1.8 from pine 3.07 distribution
#added by D. Halliwell, 3/9/93
$EDITOR +${ED_LINE} -t $WORK
;;
* )
# Unknown editor
$EDITOR $WORK
;;
esac
---------- end included text
Once this is done, then SET EDITOR PICO will be all that is needed to
use pico in nn, with the characteristics that you desire. (You only need
to add the part that talks about pico. I left in a couple of other bits
so that you'll know where to put it in the file.)
--
Dave Halliwell I don't speak for my employers, and you
Edmonton, Alberta shouldn't expect them to speak for me.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads