🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
6 messages
6 total messages Started by Doug Peterson Mon, 30 Jan 1995 05:39
need help with posting files
#7060
Author: Doug Peterson
Date: Mon, 30 Jan 1995 05:39
6 lines
939 bytes
OK, I have a simple (I hope) question for you all.  I have a file
sitting in the home directory of my account, and I want to post
it.  How do I go about this?  

Of course when I type :post, it takes me directly to my editor.
How can I bring up the file I want?  Thanks for the help.
Re: need help with posting files
#7054
Author: Mark McLeod
Date: Mon, 30 Jan 1995 16:50
21 lines
1782 bytes
dougp@alumni.caltech.edu (Doug Peterson) writes:

> OK, I have a simple (I hope) question for you all.  I have a file
> sitting in the home directory of my account, and I want to post it.
> How do I go about this?

> Of course when I type :post, it takes me directly to my editor.  How
> can I bring up the file I want?  Thanks for the help.

     When you type ":post" and you go into your editor, `nn' actually
has used your editor to create a new file that will contain your
message.  For example, when I began this message to you, `nn' started
`emacs' so that I am editing a file with the name of "nn.a005aE" (the
name looks like gibberish to me, too :>).
     If the file that you want to insert is ASCII-text, you use your
editor's "insert" command to insert the file.  If the file is binary
data, you should encode it using `uuencode' and then insert the
encoded file.
     
-- 
Mark McLeod (mmcleod@clark.net)
Re: need help with posting files
#7057
Author: Greg
Date: Tue, 31 Jan 1995 01:14
25 lines
1683 bytes
dougp@alumni.caltech.edu (Doug Peterson) writes:

>OK, I have a simple (I hope) question for you all.  I have a file
>sitting in the home directory of my account, and I want to post
>it.  How do I go about this?  

>Of course when I type :post, it takes me directly to my editor.
>How can I bring up the file I want?  Thanks for the help.

What editor are you using?  Hopefully it's vi and you haven't been
converted to the Temple of Emacs.  Also, hopefully you're working on
a UNIX box and not Windows or something.

Anyway, if the answer is "yes, vi" and "yes, UNIX", then once nnpost
puts you in the editor, type:

	:r <filename>

That's right: "colon", "r", a space, and then type the name of your file
and hit return.  If you're new to vi, make sure to spend at least 10 or
15 minutes looking at the man page or getting help from someone, since
it's cruicial that you learn to use your editor!
--

greg barish / mailto:gbarish@us.oracle.com
Re: need help with posting files
#7058
Author: Sven Guckes
Date: Tue, 31 Jan 1995 15:01
14 lines
1387 bytes
dougp@alumni.caltech.edu (Doug Peterson) writes:
>I have a file sitting in the home directory of my account,
>and I want to post it.  How do I go about this?  
>Of course when I type :post, it takes me directly to my editor.
>How can I bring up the file I want?

As soon as you are in the editor, you can read the file into the temporary
file you are editing.  I'm sure your editor has this ability.

As you did not give any info about the editor you use we cannot help you
further.  But in case your editor is "vi" (or any similar editor) then the
coammand is ":r file".

Sven
Re: need help with posting files
#7068
Author: Tony Leung
Date: Sat, 04 Feb 1995 21:29
13 lines
1344 bytes
In article <3ghu32$rek@gap.cco.caltech.edu>,
dougp@alumni.caltech.edu (Doug Peterson) wrote:
> OK, I have a simple (I hope) question for you all.  I have a file
> sitting in the home directory of my account, and I want to post
> it.  How do I go about this?  
> 
> Of course when I type :post, it takes me directly to my editor.
> How can I bring up the file I want?  Thanks for the help.
> 
You should try to UUENCODE the files and include it in your mail.
You may need to get a copy of uuencoder. You may try ftp.cdrom.com.

Tony Leung from Hong Kong<tonyl@asiaonline.net>
Re: need help with posting files
#7076
Author: Milt Epstein
Date: Tue, 07 Feb 1995 05:33
24 lines
1819 bytes
tonyl@asiaonline.net (Tony Leung) writes:

>In article <3ghu32$rek@gap.cco.caltech.edu>,
>dougp@alumni.caltech.edu (Doug Peterson) wrote:
>> OK, I have a simple (I hope) question for you all.  I have a file
>> sitting in the home directory of my account, and I want to post
>> it.  How do I go about this?  
>> 
>> Of course when I type :post, it takes me directly to my editor.
>> How can I bring up the file I want?  Thanks for the help.
> 
>You should try to UUENCODE the files and include it in your mail.
>You may need to get a copy of uuencoder. You may try ftp.cdrom.com.

You will only need to do that if it's a binary file.  In either case,
the file then needs to be read into the editor after nn throws you
into your editor (the command to do this is "C-x i file" in emacs, ":r
file" in vi, I don't know about other editors).

-- 
Milt Epstein
Visiting Research Programmer    National Animal Poison Control Center (NAPCC)
epstein@napcc-hp.cvm.uiuc.edu            College of Veterinary Medicine (CVM)
(or mepstein@uiuc.edu)      University of Illinois at Urbana-Champaign (UIUC)
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