Article View: news.software.nn
Article #7508Re: Help, please: Why can't I post?
From: Sven Guckes
Date: Thu, 29 Feb 1996 00:00
Date: Thu, 29 Feb 1996 00:00
76 lines
3408 bytes
3408 bytes
johnpollock@delphi.com (john pollock) writes:
>When I type :post (or :f or :F or :r or :R, from the appropriate places), nn
>invokes Pico, I compose normally, and get the save prompt when I type ^X.
>If I choose to save, the file is saved as it should be; however, whether or
>not I save, I never see the "post prompt".
>Instead, all I see is a terse "Article not posted."
This message is all you get? No more?
At my place we get a mail with an error line and the post attached.
It also tells me that a copy of the post was saved to "$HOME/dead.letter".
I think netcom should be able to easily adapt this!
>The editor invoked by Pnews was Pico; I've since concluded that my use of nn
>and the pine mailer caused Pico to be set in my login as the default editor.
Exactly! The editor is set via the "login file" ($HOME/.login):
setenv VISUAL /usr/local/bin/pico
setenv EDITOR $VISUAL
The first line sets the environment variable "VISUAL" to the "path/file" or
pico. Then the environment variable takes the value of VISUAL.
NN uses the value of EDITOR to use as the program for editing. So that is ok.
>{netcom8:4} cd .nn
>{netcom8:5} ls -la
Hint: "ls -la .nn" is quicker. :-)
>-rw------- 1 syrynx 126 Feb 20 00:26 init.variables
>-rw------- 1 syrynx 69 Feb 20 04:21 select
>-rw------- 1 syrynx 50 Feb 20 04:21 select.bak
>-rw------- 1 syrynx 316 Feb 20 03:18 seq
"init.variables"?
>I've also been totally unsuccessful in setting Pico to "tool mode."
>I tried putting setenv EDITOR "pico -t" in .login, but when I
>login the shell tells me "setenv: too many arguments".
>So I tried creating an init.variables file with that language and a few other
>things:
It's "init" - not "init.variables"!
Rename the file "init.variables" to "init":
mv $HOME/.nn/init.variables $HOME/.nn/init
>{netcom8:8} more init.variables
>setenv EDITOR "pico -t"
>setenv VISUAL "$EDITOR"
No, you don't use "setenv" here. "setenv" is a command which works for the csh.
With nn you set variables with "set". Always!
The correct command for nn is "set editor pico -t".
Anyway, I think you should consider asking for help *locally* first until
your are sure that you can get help via Usenet.
Besides, when you ask questions about a program then you should *always* state
the version number! You can get nn's version number with the command ":ver"
from within nn. HTH!
A question to the netcom admins:
Why does the .login set the shell history to 50 lines while the cshrc sets it
to 20 lines?
Sven
Cc: johnpollock@delphi.com (john pollock)
--
Sven Guckes@math.fu-berlin.de
[960101] NN - Usenet's greatest newsreader
WWW: "NN Pages"
Home Page: http://www.math.fu-berlin.de/~guckes/nn/index.html
Technical Details
Message-ID:
<4h564a$2op@fu-berlin.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mailReferences:
<9602280553593.DLITE.johnpollock@delphi.com>Show Full Headers
Complete Article Headers
Message-ID: <4h564a$2op@fu-berlin.de> Subject: Re: Help, please: Why can't I post? Date: Thu, 29 Feb 1996 00:00:00 +0000 From: Sven Guckes <guckes@math.fu-berlin.de> References: <9602280553593.DLITE.johnpollock@delphi.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail X-Deja-AN: 141631426 Organization: Freie Universitaet Berlin X-access: 16 17 19 Newsgroups: news.software.nn