🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by john pollock Wed, 28 Feb 1996 00:00
Help, please: Why can't I post?
#7503
Author: john pollock
Date: Wed, 28 Feb 1996 00:00
153 lines
5958 bytes
I obtained a shell account on Netcom last November, and soon after
I successfully posted a test message using nn and Pico.  Since then,
I've been unable to post, f)ollow or r)eply.  I've spent three months
trying to figure out why, without success; now I humbly beg your aid.

Background:  I'm  a near total newbie.  Used a Commodore 64 for 11
years for word processing only; was given this 286 laptop last April;
bought _DOS for Dummies_ and _The Internet for Dummies_ and some
magazines; chose Delphi last August, and quickly became mail- and
Usenet-dependent.  Got the Netcom account when it appeared Delphi
might soon go belly-up (still looks that way).  No academic or business
experience with computers or the net.

As mentioned above, my first attempt to post was successful; however,
I unknowingly committed a breach of netiquette by posting a test
message to a non-test group.  I received a single, polite email note
from a regular on the group asking me not to do that again, and I
haven't; however, I haven't been able to post *anything* from the
Netcom account since then.  I don't know if this is because of something
I typed inadvertently (a fairly frequent occurrence), or if someone
with root access or well-developed hacking skills took umbrage at
my sin...In my efforts to pin down the problem, I bought a copy of _Unix
Made Easy_ (Lurnix), found this group and comp.unix.questions and read
them religiously, downloaded the nn man pages and Nancy McGough's _Getting
Started with News and the NN Newsreader_, but still no joy.      

Symptoms:  When I type :post (or :f or :F or :r or :R, from the appro-
priate 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

a)bort e)dit h)old m)ail r)eedit s)end v)iew w)rite
Action: (post article)

prompt.  Instead, all I see is a terse

Article not posted.

Obviously, I have something improperly configured--but I can't figure
out where!  Is it a problem with nn, Pico, shell (I use C shell) or
Unix?  In an effort to find out, I tried using Pnews to post a message.
I did succeed in posting a header, but the message did not accompany
it.  (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.)

Here are the files/directories I believe to be relevant:

more .login
#Netcom - Online Communication Services
#Default .login for csh users

set ignoreeof# don't let control-d logout
set path = (/usr/ucb /usr/bin /usr/5bin /usr/local/bin $home/bin .)# execution
search path set noglob

set term = (`tset -m vt100:vt100 -m :\?vt100 -r -S -Q`)
unset term noglob
#The following lines modify your prompt
# Uncomment this one for a   {Netcom:} prompt
set prompt=\{`hostname`\:!\}\ 
# Uncomment this one for a   {Netcom:} prompt
#set prompt=(`pwd `)

set history=50
#setenv VISUAL /usr/ucb/vi
setenv VISUAL /usr/local/bin/pico
setenv EDITOR $VISUAL
setenv FCEDIT $VISUAL
/usr/5bin/tabs
alias lologout
alias rm        rm -i
umask 077

{netcom8:3} more .cshrc

#Netcom - Online Communication Services
#Default .cshrc for csh users
#
# Commands here are executed each time csh starts up.
#
#
set noclobber# don't allow '>' to overwrite
set history=20# save last 20 commands
limit coredumpsize 0# limits the core file to 0K
umask 077

{netcom8:4} cd .nn
{netcom8:5} ls -la
total 24
drwx------  2 syrynx       4096 Feb 20 04:24 .
drwx------  5 syrynx       4096 Feb 20 02:21 ..
-rw-------  1 syrynx        370 Feb 20 02:17 .param
-rw-------  1 syrynx         31 Feb 20 00:27 LAST
-rw-------  1 syrynx          9 Feb 20 04:24 NEXTG
-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


This .param file is from my most recent unsuccessful attempt to post
a message to alt.test.  I suspect there may be a clue or two here,
but I don't know enough to spot it:

{netcom8:6} more .param
FIRST_ACTION='edit'
RECORD=''
WORK='/usr/tmp/nn.a07034'
ED_LINE=4
NOVICE=true
EMPTY_CHECK=true
APPEND_SIG=false
QUERY_SIG=false
SPELL_CHECKER=''
ALIAS_EXPANDER=''
PAGER='/usr/ucb/more'
MAILER='/usr/lib/sendmail -t'
MAILER_PIPE=true
WAIT_PERIOD=0
DFLT_ANSW='send'
POST='/usr/lib/news/inews -h'
POST_PIPE=true
MMDF_SEP=''
G='alt.test'
export G
A=''
export A
POSTER_ADR=''

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:

{netcom8:8} more init.variables
set enter-last-read-mode 0
set show-purpose-mode 2
set default-save-file +$L
setenv EDITOR "pico -t"
setenv VISUAL "$EDITOR"

However, this file seems to be completely ignored.  I *think* the syntax
within the file is correct, but have my doubts about the filename itself.
Should this be   .nn.init.variables   ?

I'm deeply grateful for any assistance.

John Pollock     <johnpollock@delphi.com>     <syrynx@netcom.com>



Re: Help, please: Why can't I post?
#7508
Author: Sven Guckes
Date: Thu, 29 Feb 1996 00:00
76 lines
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

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