🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
7 messages
7 total messages Started by Danny Iacovou Wed, 15 Aug 1990 23:21
hmmmm
#813
Author: Danny Iacovou
Date: Wed, 15 Aug 1990 23:21
17 lines
1255 bytes
i just set nn up to be used as a client on one of
our machines. problem is that when you go to post
an article (using vi haven't tried emacs) when you
esc shift zz inorder to exit and then proceed to
send it it says the artivle nn.foofoo already
exists and you have to :w! then exit and send.
this is bad. i tried using /tmp and /usr/tmp.
i installed nn on several systems several times 
and never ran into anything like this.

help me please !!!!!!
-- 

neophytos iacovou                                
university of minnesota                      email:  iacovou@cs.umn.edu 
computer science department
Re: hmmmm (is: can't exit vi after editing response)
#821
Author: Gary S. Trujillo
Date: Wed, 29 Aug 1990 00:38
25 lines
1808 bytes
In article <648@texas.dk> storm@texas.dk (Kim F. Storm) writes:
| iacovou@cs.umn.edu (Danny Iacovou) writes:
| 
| >...when you go to post
| >an article (using vi haven't tried emacs) when you
| >esc shift zz inorder to exit and then proceed to
| >send it it says the artivle nn.foofoo already
| >exists and you have to :w! then exit and send.
| 
| I have seen this problem myself in the past, but I never found
| an explanation, and now the problem seems to have gone away...

I believe this "problem" is really just a feature of vi, which
manifests itself not just under conditions of vi being used in
conjunction with nn.  The way the feature seems to operate is
that when some number of lines or characters > n (where n is
some random large number) in a file being edited are modified,
vi sets some internal flag that causes it to issue the warning,
and to require a ":w!" be used to rewrite the file.  The file
permissions are not altered when the flag is set (the "!" can-
not override a lack of write permission on a file).

-- 
Gary S. Trujillo			      gst@gnosys.svle.ma.us
Somerville, Massachusetts		      {wjh12,spdcc,ima,cdp}!gnosys!gst
Re: hmmmm (is: can't exit vi after editing response)
#826
Author: Rob Freyder
Date: Wed, 29 Aug 1990 13:48
31 lines
2114 bytes
In <3851@ursa-major.SPDCC.COM> gst@spdcc.COM (Gary S. Trujillo) writes:

>In article <648@texas.dk> storm@texas.dk (Kim F. Storm) writes:
>| iacovou@cs.umn.edu (Danny Iacovou) writes:
>| 
>| >...when you go to post
>| >esc shift zz inorder to exit and then proceed to
>| >send it it says the artivle nn.foofoo already
>| >exists and you have to :w! then exit and send.
>| 
>I believe this "problem" is really just a feature of vi, which
>manifests itself not just under conditions of vi being used in
>conjunction with nn.  The way the feature seems to operate is

[ ...stuff deleted...]

It will happen if you get an error within vi .. like if you do a :r to
read in a file that doesnt exist or cant be accessed for some reason.  When
you try to save you will have to use the :w! to get out... It happens to me
in elm as well.

Somebody brought this up a month ago although I cant remember all that was said
but I dont think this is a "feature".

-- 
Rob Freyder                                  Core Laboratories a division of
____    ____     ____                        Western Atlas International Inc.
\   \  /   /\   /   /\                       =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 \   \/   /  \ /   /  \                      Humans     (318) 235-9431
  \  /   / \  /   /\   \                     Internet   rob@lafayet.UUCP
   \/___/   \/___/  \___\                    Bang    ...!uunet!rouge!lafayet!rob
Re: hmmmm (is: can't exit vi after editing response)
#833
Author: Kim F. Storm
Date: Thu, 30 Aug 1990 15:07
13 lines
1245 bytes
Thanks to all who have enlightened me on the difference between ZZ and :w!

Of the explanations I have seen, I think the most likely reason why
vi doesn't always like nn is that we have seen 8-bit characters in articles
(specifically the message-id's), and some versions of vi don't like
that (it strips the 8th bit and refuses to exit with ZZ).

This may also explain why the problem went away here, since I have recently
upgraded our vi to a full 8-bit version.

-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  but nn is better!
Re: hmmmm (is: can't exit vi after editing response)
#837
Author: Danny Iacovou
Date: Thu, 30 Aug 1990 21:39
18 lines
1402 bytes
rob@lafayet.UUCP (Rob Freyder) writes:


>It will happen if you get an error within vi .. like if you do a :r to
>read in a file that doesnt exist or cant be accessed for some reason.  When
>you try to save you will have to use the :w! to get out... It happens to me
>in elm as well.

>Somebody brought this up a month ago although I cant remember all that was said
>but I dont think this is a "feature".

  this wasn't the case with me.

-- 

neophytos iacovou                                
university of minnesota                      email:  iacovou@cs.umn.edu 
computer science department
Re: hmmmm (is: can't exit vi after editing response)
#877
Author: Glenn R. Stone
Date: Thu, 06 Sep 1990 01:54
11 lines
1238 bytes
In <651@texas.dk> storm@texas.dk (Kim F. Storm) writes:
>Of the explanations I have seen, I think the most likely reason why
>vi doesn't always like nn is that we have seen 8-bit characters in articles
>(specifically the message-id's),.....

Anything shipping 8-bit characters for message-id's is broke, broke, broke...
'specially when you consider some news goes thru such things as IBM 370's,
which are EBCDIC and aren't going to swallow 8-bit stuff right....

Glenn R. Stone
gs26@prism.gatech.edu
Re: hmmmm (is: can't exit vi after editing response)
#883
Author: Kim F. Storm
Date: Mon, 10 Sep 1990 12:52
19 lines
1547 bytes
gs26@prism.gatech.EDU (Glenn R. Stone) writes:

>Anything shipping 8-bit characters for message-id's is broke, broke, broke...
>'specially when you consider some news goes thru such things as IBM 370's,
>which are EBCDIC and aren't going to swallow 8-bit stuff right....

Sure, but if you *follow-up* to an article with an 8-bit message-id,
the References: line will contain the 8-bit (broken) message-id, and
that may fool vi!

Maybe you can suggest how nn should *modify* the message-id if it is
broken (for inclusion in the references: line).  I feel that leaving
it alone will at least not break *more* things than changing it from
its original (which will probably break everything relying on the
refereces: line.)

-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  but nn is better!
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