🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #15171

Re: Posting in Tin

#15171
From: Marcio Watanabe
Date: Thu, 09 Feb 1995 17:19
58 lines
3679 bytes
Lynda S. Schiff (lynda@max.tiac.net) wrote:
> Gregory O'Dea (godea@cecasun.utc.edu) wrote:
> : There are, in the tin documentation, instructions for changing the default 
> : text editor (on my system, vi).  I should be able to make the default 
> : editor pico (the pine editor) "by the $VISUAL environment variable."  
> : Apparently this is done by editing the tinrc directory directly, but 
> : every time I try, I get an "access denied" kind of message from the 
> : powers that be.
> : 	Can anyone address this problem?  It seems that Lynda's problem 
> : would be solved by the ability to post in pine, as well as many other 
> : problems encountered in the default editor.	
> : 	(By the way, you can use pine to read and post to newsgroups -- I 
> : always switch to pine for posting -- but, pine doesn't thread postings to 
> : the groups for reading, so I have to switch back to tin for reading)
> : 	Lynda, does that help at all??? I hope I haven't muddled things 
> : further -- let me know if you want instructions for setting up pine for 
> : the usenet.
> : 					---Alice W. O'Dea
> Alice, 
> It sounds like you have the answer to my question.  How do you post from pine?

Lynda, 
It is a pain (IMHO) to use pine as a newsreader.
---
Alice,
you don't edit tinrc to change the editor.  you change the environmental 
variable VISUAL.  I can't tell you how to do this since it depends on the 
shell you are using.  Examples (anybody, please jump in, if I'm giving a 
wrong example for a certain shell: 
for csh: setenv VISUAL pico
for sh: VISUAL=pico
for bash: set VISUAL=pico
Include (or replace if there is a similar one) the above line in your .login 
file (or .cshrc or .bash_profile depending on your shell).
Oh yeah, I just used pico on the example above.  I'm assuming pico is in 
your path. otherwise, you need the complete path (e.g. VISUAL=/usr/bin/pico)
---
Lynda,
I think you don't even have to change the editor you're using.  Any editor 
you're using should probably be able to do what you want.  Somebody 
posted the example for the emacs.  If your editor is vi, just press <ESC> 
(to get to command mode), then type
:read <filename>
this should appear on the last line of your screen.  <filename> is the 
file you want to include.
if your editor is pico, press [Ctrl]+R, then type the <filename>
In any case, <filename> needs to be in your News directory.

Hope that helps,
E-mail me if you have any questions (I am not very clear sometimes).
Marcio
--
                      _    
  __ _  ___ _________(_)__    If you had half as much fun reading this
 /  ' \/ _ `/ __/ __/ / _ \              as I had writing it
/_/_/_/\_,_/_/  \__/_/\___/   I had twice as much fun as you!!   ,,,  
                                                                (o o)  
-- marcio@primenet.com --------------------------------------ooO-(_)-Ooo--
Technical Details
Message-ID: <3hdir3$hjs@news.primenet.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!swrinde!cs.utexas.edu!news.sprintlink.net!news.primenet.com!marcio
References: <3h10m8$3mh@sundog.tiac.net> <3h2spt$ivm@sundog.tiac.net> <Pine.SOL.3.91.950205222912.18001A-100000@cecasun.utc.edu> <3h4cq3$dv3@sundog.tiac.net>

Show Full Headers
Complete Article Headers
Message-ID: <3hdir3$hjs@news.primenet.com>
Subject: Re: Posting in Tin
Date: Thu, 09 Feb 1995 17:19:31 +0000
From: marcio@primenet.com (Marcio Watanabe)
References: <3h10m8$3mh@sundog.tiac.net> <3h2spt$ivm@sundog.tiac.net> <Pine.SOL.3.91.950205222912.18001A-100000@cecasun.utc.edu> <3h4cq3$dv3@sundog.tiac.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!swrinde!cs.utexas.edu!news.sprintlink.net!news.primenet.com!marcio
Newsgroups: news.software.readers
Organization: Primenet
Lines: 59
NNTP-Posting-Host: usr3.primenet.com
X-Newsreader: TIN [version 1.2 PL2]