🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Leroy Brown Tue, 27 Feb 1996 00:00
Attaching text files to vi editor
#19607
Author: Leroy Brown
Date: Tue, 27 Feb 1996 00:00
10 lines
681 bytes
I need to know how to attach a text file to a email message using the vi
editor in tin version 1.2. I am using tin through a shell account.
Thanks






Re: Attaching text files to vi editor
#19638
Author: Greg Berigan
Date: Wed, 28 Feb 1996 00:00
15 lines
1134 bytes
macvsog@mercury.gaianet.net (Leroy Brown) wrote:

>I need to know how to attach a text file to a email message using the vi
>editor in tin version 1.2. I am using tin through a shell account.

Use ":r filename" in vi.

-- 
         _-<#)-=# http://cse.unl.edu/~gberigan/ (Greg Berigan)
     ___/___
  _-~_--<###)     $250,000 and two-year prison terms for using "obscene, lewd,
<~c>' __--<       lascivious, filthy, or indecent" language on the Internet in a
 \_--=____#)      manner intended to annoy or harass?  Watch those flames!

Re: Attaching text files to vi editor
#19641
Author: David Sewell
Date: Wed, 28 Feb 1996 00:00
27 lines
1612 bytes
In article <4guqru$3c6@spectator.cris.com>,
Leroy Brown <macvsog@mercury.gaianet.net> wrote:
>I need to know how to attach a text file to a email message using the vi
>editor in tin version 1.2. I am using tin through a shell account.

   1. Move to the line in your message following which you want
      to attach the file.  (e.g. type "G" to go to the end of the
      message)
   2. If you're not in command mode, hit ESC to get there.
   3. Type 
            :r filename
      (you might have to use ~/ or give a full pathname if it's not
      in tin's working directory)

A shortcut for adding a file to the end of the message is, in command
mode, to type
                :$r filename

which will work no matter where your cursor is.

[posted and e-mailed]
-- 
David Sewell  *  dsew@packrat.aml.arizona.edu   | "Upward, downward, the way
Dep't of Geosciences, Univ. of Arizona          |  is one and the same."
 WWW: http://packrat.aml.arizona.edu/~dsew/     |           --Heraclitus

Re: Attaching text files to vi editor
#19684
Author: Leroy Brown
Date: Thu, 29 Feb 1996 00:00
32 lines
1944 bytes
David Sewell (dsew@packrat.aml.arizona.edu) wrote:
: In article <4guqru$3c6@spectator.cris.com>,
: Leroy Brown <macvsog@mercury.gaianet.net> wrote:
: >I need to know how to attach a text file to a email message using the vi
: >editor in tin version 1.2. I am using tin through a shell account.

:    1. Move to the line in your message following which you want
:       to attach the file.  (e.g. type "G" to go to the end of the
:       message)
:    2. If you're not in command mode, hit ESC to get there.
:    3. Type 
:             :r filename
:       (you might have to use ~/ or give a full pathname if it's not
:       in tin's working directory)

: A shortcut for adding a file to the end of the message is, in command
: mode, to type
:                 :$r filename

: which will work no matter where your cursor is.


Well, I tried this and  it didn't work. I got an error:"no such  file or
directory". I am using a shell account and tin is not installed on my 
system. I guess I need to figure out how to place a file in a tin
directory and then attach it to a message.

: David Sewell  *  dsew@packrat.aml.arizona.edu   | "Upward, downward, the way
: Dep't of Geosciences, Univ. of Arizona          |  is one and the same."
:  WWW: http://packrat.aml.arizona.edu/~dsew/     |           --Heraclitus

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