Article View: news.software.nn
Article #682Re: Changing the default editor
From: 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
Technical Details
Message-ID:
<221@twg.wimsey.bc.ca>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!samsung!zaphod.mps.ohio-state.edu!van-bc!twg!billReferences:
<208@twg.UUCP> <614@texas.dk>Show Full Headers
Complete Article Headers
Message-ID: <221@twg.wimsey.bc.ca> Subject: Re: Changing the default editor Date: Sun, 08 Jul 1990 04:51:50 +0000 From: bill@twg.wimsey.bc.ca (Bill Irwin) References: <208@twg.UUCP> <614@texas.dk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!samsung!zaphod.mps.ohio-state.edu!van-bc!twg!bill Newsgroups: news.software.nn Organization: TWG The Westrheim Group, Vancouver, B.C., Canada Lines: 31 Posted: Sun Jul 8 05:51:50 1990