Thread View: news.software.nn
3 messages
3 total messages
Started by Kim Culhan
Sat, 20 Nov 1993 22:17
Cursor positioning using nn with U. of Washington's pico editor?
Author: Kim Culhan
Date: Sat, 20 Nov 1993 22:17
Date: Sat, 20 Nov 1993 22:17
15 lines
1110 bytes
1110 bytes
How can the entry in aux.sh be configured to teach nn to position the cursor when using the University of Washington's pico text editor? Since the cursor positioning info for pico is not included in the normal nn aux script, that info must be included in a file aux.sh. Any info on this is greatly appreciated. regards kim culhan -- kimc@w8hd.org
Re: Cursor positioning using nn with U. of Washington's pico editor?
Author: David Halliwell
Date: Mon, 22 Nov 1993 23:17
Date: Mon, 22 Nov 1993 23:17
59 lines
2644 bytes
2644 bytes
kimc@w8hd.org (Kim Culhan) writes:
>How can the entry in aux.sh be configured to teach nn to position the
>cursor when using the University of Washington's pico text editor?
>Since the cursor positioning info for pico is not included in the
>normal nn aux script, that info must be included in a file aux.sh.
>Any info on this is greatly appreciated.
I have been using nn 9.4.16 with pico from release 3.07 of pine. I set
up aux.sh as follows to get nn to use pico with cursor positioning. It
doesn't always seem to get the position exactly correct, but it is an
improvment. The -t option sets pico to automatically save the file on
exit: otherwise it will give a "Modified buffer - save before leaving?"
message. Anyone can use pico by setting their environment string EDITOR to
"pico". Hope it helps.
Oh: I think you have to recompile the script to impliment it. I can't
remeber exactly what I did, but I think I was in the process of rebuilding
nn when I made the change. Not sure how to make just this modification.
------- editor section of aux.sh ---------
# call editor to enter at line $ED_LINE of work file
case `basename "${EDITOR-vi}"` in
vi|emacs|emacsclient )
# Berkeley vi display editor
# GNU emacs disply editor
${EDITOR-vi} +${ED_LINE} $WORK
;;
ded )
# QMC ded display editor
$EDITOR -l${ED_LINE} $WORK
;;
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
--
Dave Halliwell
Department of Geography
University of Alberta
Edmonton, Alberta
Re: Cursor positioning using nn with U. of Washington's pico editor?
Author: Kim Culhan
Date: Thu, 25 Nov 1993 19:48
Date: Thu, 25 Nov 1993 19:48
20 lines
1440 bytes
1440 bytes
dhalliwe@shadow.geog.ualberta.ca (David Halliwell) writes: >kimc@w8hd.org (Kim Culhan) writes: >>How can the entry in aux.sh be configured to teach nn to position the >>cursor when using the University of Washington's pico text editor? > I have been using nn 9.4.16 with pico from release 3.07 of pine. I set >up aux.sh as follows to get nn to use pico with cursor positioning. It >doesn't always seem to get the position exactly correct, but it is an >improvment. I set aux.sh in the nn source as suggested, did a make and ./inst, and as far as I know it has not failed to position correctly yet. I'm using nn 6.4.18 and PICO 2.1 which is supplied with Pine 3.87. kim -- kimc@w8hd.org
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