Thread View: news.software.nn
4 messages
4 total messages
Started by Bill Irwin
Fri, 29 Jun 1990 23:36
Changing the default editor
Author: Bill Irwin
Date: Fri, 29 Jun 1990 23:36
Date: Fri, 29 Jun 1990 23:36
18 lines
1415 bytes
1415 bytes
I have just installed nn for the first time, and it is working, I think. I have read through all the installation instructions and I haven't seen where you would change the default editor that nn uses. I would like to invoke our local word processor instead of "vi". Also, I think I need detailed instructions on the use of the ":post" command. Where do the patch files need to be located when you invoke this command; what is the proper syntax to use, etc. Thanks for some help. So, far this reader looks fantastic compared to "rn"! -- Bill Irwin - TWG The Westrheim Group - Vancouver, BC, Canada ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uunet!van-bc!twg!bill (604) 431-9600 (voice) | UNIX Systems bill@twg.UUCP (604) 431-4629 (fax) | Integration
Re: Changing the default editor
Author: Kim F. Storm
Date: Mon, 02 Jul 1990 17:43
Date: Mon, 02 Jul 1990 17:43
24 lines
1697 bytes
1697 bytes
bill@twg.UUCP (Bill Irwin) writes: >I have just installed nn for the first time, and it is working, I think. >I have read through all the installation instructions and I haven't >seen where you would change the default editor that nn uses. I would >like to invoke our local word processor instead of "vi". You can set the EDITOR variable in the environment which will affect most programs which will invoke an editor, or you can set the 'editor' variable in nn to define an editor just for nn. >Also, I think I need detailed instructions on the use of the ":post" >command. Where do the patch files need to be located when you >invoke this command; what is the proper syntax to use, etc. Since you refer to "patch files" I suppose you mean the :patch command? In that case you simply enter the command :patch when you are reading the article containing the patch and you supply the directory where you have installed the software package. However, it does require that the 'patch' program is installed. -- Kim F. Storm <storm@texas.dk> No news is good news, Texas Instruments A/S, Denmark but nn is better!
Re: Changing the default editor
Author: Bill Irwin
Date: Sun, 08 Jul 1990 04:51
Date: Sun, 08 Jul 1990 04:51
31 lines
2048 bytes
2048 bytes
In <614@texas.dk> storm@texas.dk (Kim F. Storm) writes: >bill@twg.UUCP (Bill Irwin) writes: >>I have just installed nn for the first time, and it is working, I think. >>I have read through all the installation instructions and I haven't >>seen where you would change the default editor that nn uses. I would >>like to invoke our local word processor instead of "vi". >You can set the EDITOR variable in the environment which will affect >most programs which will invoke an editor, or you can set the 'editor' >variable in nn to define an editor just for nn. ^^^^^^ Since all of the other variables in nn/config.h we upper case, and there was no editor variable already there, I add the line: #define EDITOR "news-uni" /* Uniplex */ "news-uni" is a link to my WP program and is on my search path. Is this nn varable supposed to be as above or: #define editor "news-uni" /* Uniplex */ Defining EDITOR='news-uni' in the /etc/profile gets nn to use it, but the uppercase definition in config.h doesn't work. nn just continues to use vi. -- Bill Irwin - TWG The Westrheim Group - Vancouver, BC, Canada ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uunet!van-bc!twg!bill (604) 431-9600 (voice) | UNIX Systems bill@twg.wimsey.bc.ca (604) 431-4629 (fax) | Integration
Re: Changing the default editor
Author: Peter Andersen
Date: Mon, 09 Jul 1990 10:07
Date: Mon, 09 Jul 1990 10:07
7 lines
1003 bytes
1003 bytes
By "defining the 'editor' variable in nn" I'm sure bill@twg.UUCP (Bill Irwin) means adding the following line to your ~/.nn/init file: set editor /usr/local/bin/news-uni (or whatever) and not in the config.h file, as you seem to think. Try this instead, it should work. Peter Andersen
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