🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Peter Feszczur Tue, 06 Dec 1994 13:52
Help with TIN editor PLEASE 8-}
#13506
Author: Peter Feszczur
Date: Tue, 06 Dec 1994 13:52
30 lines
1909 bytes
The default editor in TIN is the "vi" and try as I may I cannot get the
hang of it... I know that the "ce" of "pico" can be used and set to be the
default editor BUT HOW ???????

I have read TWO previous postings and the TIN Man that by changing the 
$VISUAL variable other editors can be used !! I have been told that our
system does not support TIN.

CAN anybody out there in INTERNET LAND please give this SIMPLE MINDED
used step by step instructions on how it's done ??

The default shell on our system is the standard Korn shell and I have tried
the following in the both the .login and .profile files (only in one or the
other but not at the same time)

setenv VISUAL /usr/local/bin/pico (and have followed the path to make sure
that the "pico" editor is there)
setenv EDITOR $VISUAL
setenv FCEDIT $VISUAL

This was of NO help and I still only had access to the "vi" editor.

PLEASE can somebody help, I would love to be able to reply to the postings
"live"

Thanks & Regards Fezzy......
:h


-- 
Re: Help with TIN editor PLEASE 8-}
#13507
Author: Rod B. Nussbaumer
Date: Tue, 06 Dec 1994 16:14
29 lines
2005 bytes
Peter Feszczur (fezzy@perth.DIALix.oz.au) wrote:
>The default editor in TIN is the "vi" and try as I may I cannot get the
>hang of it... I know that the "ce" of "pico" can be used and set to be the
>default editor BUT HOW ???????

>The default shell on our system is the standard Korn shell and I have tried
>the following in the both the .login and .profile files (only in one or the
>other but not at the same time)

>setenv VISUAL /usr/local/bin/pico (and have followed the path to make sure
>that the "pico" editor is there)
>setenv EDITOR $VISUAL
>setenv FCEDIT $VISUAL

I don't know about the Korn shell, but in the Bash shell, you would also
have to 'export' the environment variables.
eg. 
export VISUAL
export EDITOR
export FCEDIT

Don't ask me why, I just remember someone pointing to this as a solution
to a similar problem.  Hope this helps.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Rod Nussbaumer, Programmer/Technologist     Internet: rodn@sundae.triumf.ca  
 TRIUMF --- University of British Columbia,     Phone: (604)222-7449
 Vancouver, BC, Canada.                           FAX: (604)222-7307
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Re: Help with TIN editor PLEASE 8-}
#13512
Author: Tony Eva
Date: Tue, 06 Dec 1994 17:11
23 lines
1448 bytes
fezzy@perth.DIALix.oz.au (Peter Feszczur) wrote:

> The default shell on our system is the standard Korn shell and I have tried
> the following in the both the .login and .profile files (only in one or the
> other but not at the same time)
> 
> setenv VISUAL /usr/local/bin/pico (and have followed the path to make sure
> that the "pico" editor is there)
> setenv EDITOR $VISUAL
> setenv FCEDIT $VISUAL

These are csh commands.  If you have a Korn shell (ksh) then the
syntax is

export VISUAL=/usr/local/bin/pico
export EDITOR=$VISUAL
export FCEDIT=$VISUAL

and they must go in your .profile file.

-- 
Tony Eva       | BNR Europe Ltd, Maidenhead, Berkshire, United Kingdom
tonyeva@bnr.ca |             My opinions only, not BNR's
Re: Help with TIN editor PLEASE 8-}
#13659
Author: irish
Date: Sun, 11 Dec 1994 00:30
40 lines
2079 bytes
In Article <3c1qba$mqp$1@perth.DIALix.oz.au> Peter Feszczur (fezzy@perth.DIALix.oz.au) wrote:

: The default editor in TIN is the "vi" and try as I may I cannot get the
: hang of it... I know that the "ce" of "pico" can be used and set to be the
: default editor BUT HOW ???????

Ah.... the mystery of "vi" :)

: I have read TWO previous postings and the TIN Man that by changing the 
: $VISUAL variable other editors can be used !! I have been told that our
: system does not support TIN.

: CAN anybody out there in INTERNET LAND please give this SIMPLE MINDED
: used step by step instructions on how it's done ??

: The default shell on our system is the standard Korn shell and I have tried
: the following in the both the .login and .profile files (only in one or the
: other but not at the same time)

: setenv VISUAL /usr/local/bin/pico (and have followed the path to make sure
: that the "pico" editor is there)
: setenv EDITOR $VISUAL
: setenv FCEDIT $VISUAL

: This was of NO help and I still only had access to the "vi" editor.

: PLEASE can somebody help, I would love to be able to reply to the postings
: "live"


Try the following in your .profile -

VISUAL=pico
export VISUAL

Also make sure that the pico directory is in your path.

That should do it... you need to "export" :)

irish
Re: Help with TIN editor PLEASE 8-}
#13767
Author: irish
Date: Wed, 14 Dec 1994 22:59
30 lines
1685 bytes
In Article <3c25vd$r7f@bmdhh222.bnr.ca> Tony Eva (tonyeva@bnr.ca) wrote:
: fezzy@perth.DIALix.oz.au (Peter Feszczur) wrote:

: > The default shell on our system is the standard Korn shell and I have tried
: > the following in the both the .login and .profile files (only in one or the
: > other but not at the same time)
: > 
: > setenv VISUAL /usr/local/bin/pico (and have followed the path to make sure
: > that the "pico" editor is there)
: > setenv EDITOR $VISUAL
: > setenv FCEDIT $VISUAL

: These are csh commands.  If you have a Korn shell (ksh) then the
: syntax is

: export VISUAL=/usr/local/bin/pico
: export EDITOR=$VISUAL
: export FCEDIT=$VISUAL

: and they must go in your .profile file.

Actually it's simpler than that... tin uses the VISUAL variable by
default so

VISUAL=pico
export VISUAL

will do the same job if put in the .profile file (or .profile.default)

irish
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