🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Andy DeFaria Mon, 13 Feb 1995 18:28
Tin HP-UX editor vuepad
#15268
Author: Andy DeFaria
Date: Mon, 13 Feb 1995 18:28
67 lines
3040 bytes
[ Article crossposted from hp.windows.vue ]
[ Author was Andy DeFaria ]
[ Posted on Fri, 10 Feb 1995 00:10:19 GMT ]

David Mears (mears@cup.hp.com) wrote:
>The following article was found in the news.software.readers news
>group.  Maybe someone here can help this person.

>[ Article reposted from news.software.readers ]
>[ Author was Dominique Marant ]
>[ Posted on 7 Feb 1995 10:50:38 GMT ]

>My editor is /usr/vue/bin/vuepad and when I use this editor, my posted article
>is empty.

>(tin do a "vuepad +6", I think that is this "+6" that become the buffer and
>so, the buffer .article is empty)

>How can use vuepad with tin ?

Well I use epoch with tin and what I've done is create two scripts in my ~/bin
directory. One called tin and one called tinpost:

File: ~/bin/tin:
----------------
#!/bin/ksh
# tin: Wrapper script to run the tin newsreader configured to use Epoch as
#      a response poster.
# parameters:
#	none?

# Set VISUAL to tinpost as this is what tin uses for posting responses then
# envoke the real tin off the applications server
export VISUAL=tinpost 
exec /app/tin

File: ~/bin/tinpost
-------------------
#!/bin/ksh
# tinpost: Script called when posting from tin
# parameters:
#	$1:	Indentation level?
#	$2:	Filename

# Call appropriate editor to edit article.  If X_UP = True then we are at work
# on X and can call gnuclient to have Epoch put up a buffer with this file, 
# otherwise we'll just use vi
if [ "$X_UP" = "True" ]
then
   gnuclient $2
else
   vi $2
fi
                    _________________________________________
	           /Andrew DeFaria (defaria@cup.hp.com)      \
	           |Hewlett Packard, California Language Lab |
	           |Phone: (408)-447-5741                    |
	           |WWW: http://hpcll50.cup.hp.com/~defaria  |
	           \_________________________________________/

--
                    _________________________________________
	           /Andrew DeFaria (defaria@cup.hp.com)      \
	           |Hewlett Packard, California Language Lab |
	           |Phone: (408)-447-5741                    |
	           |WWW: http://hpcll50.cup.hp.com/~defaria  |
	           \_________________________________________/
Re: Tin HP-UX editor vuepad
#15302
Author: Tim Pierce
Date: Wed, 15 Feb 1995 00:45
46 lines
2305 bytes
In article <D3yBBL.KoD@cup.hp.com>, Andy DeFaria <defaria@cup.hp.com> wrote:

>[ Article crossposted from hp.windows.vue ]
>[ Author was Andy DeFaria ]
>[ Posted on Fri, 10 Feb 1995 00:10:19 GMT ]

Please note that the proper method of crossposting an
article to several newsgroups is to post it only once, with
all newsgroups named on the "Newsgroups" header line.  For
example:

	Newsgroups: comp.fish,misc.sheep,talk.ketchup

would cause an article to be posted to comp.fish,
misc.sheep, and talk.ketchup simultaneously.

If you are using TIN, please do not use the "crosspost"
function to accomplish this.  This is a misleadingly named
command that really should be called "repost."

>>(tin do a "vuepad +6", I think that is this "+6" that become the buffer and
>>so, the buffer .article is empty)
>
>Well I use epoch with tin and what I've done is create two scripts in my ~/bin
>directory. One called tin and one called tinpost:
>
>[...shell scripts deleted...]

That's a clever solution, but it's overkill for this
particular problem.

In TIN 1.2 PL2, the tinrc file specifies the editing command
to use in the "default_editor_format" variable.  The default
value for this is:

  default_editor_format=%E +%N %F

where %N is the number of the first line of your article's
body.  If you're using an editor which doesn't understand
this notation, change this line to:

  default_editor_format=%E %F

-- 
Unsolicited commercial electronic mail sent to this address will be
proofread at a cost of $200/hour (one half-hour minimum).
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