🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Christopher Lusardi Mon, 14 Jun 1993 19:11
Within trn, and rn, I Want to Use the Full-screen Editor!
#4507
Author: Christopher Lusardi
Date: Mon, 14 Jun 1993 19:11
17 lines
1321 bytes
When I use vi with mail, tin, and rn, I get the line editor. I don't 
get the screen editor. How can I use the vi full screen editor with mail,
trn, et cetera?

(This has been annoying me for years.)

This is how I set the variable EXINIT in my .login:
 
		setenv EXINIT 'set nu sm smt=500 wrapmargin=1' 

                                                Any help appreciated,
						Christopher Lusardi
-- 
|  ..   .            ##|
| /    /  __  . .    ##|        Fun things for information
| \_)_/ )_)(_/_/)_     |        xarchie, xgopher, or xwais.
|_               14214_|          
Re: Within trn, and rn, I Want to Use the Full-screen Editor!
#4518
Author: Bruce Lilly
Date: Tue, 15 Jun 1993 13:31
19 lines
1478 bytes
In article <C8MLBJ.GKM@acsu.buffalo.edu>,
 posted to news.software.readers,
 lusardi@cs.buffalo.edu (Christopher Lusardi) wrote:
> How can I use the vi full screen editor with mail,
>trn, et cetera?

Make sure that you have appropriate values set for the
environment variable(s) EDITOR (and possibly VISUAL).

Generally, this is best done from your .profile file, e.g:
EDITOR=vi VISUAL=vi export EDITOR VISUAL

Of course if you're using some bizarre shell that doesn't use
.profile, you may need to put commands with a different syntax
into a different file. In that case, you'll have to consult the
manual for the particular bizarre shell that you're using.

-- 
	Bruce Lilly		...uupsi!monymsys!sonyd1!blilly!bruce
Re: Within trn, and rn, I Want to Use the Full-screen Editor!
#4528
Author: Christopher Lusardi
Date: Tue, 15 Jun 1993 20:00
47 lines
2205 bytes
>When I use vi with mail, tin, and rn, I get the line editor. I don't 
>get the screen editor. How can I use the vi full screen editor with mail,
>trn, et cetera?
>
>(This has been annoying me for years.)
>
>This is how I set the variable EXINIT in my .login:
> 
>		setenv EXINIT 'set nu sm smt=500 wrapmargin=1' 
>
>                                                Any help appreciated,
>						Christopher Lusardi

I tried setting in both my .login and .cshrc file:

setenv EDITOR=vi
setenv VISUAL=vi 

and then I tried:

setenv EDITOR vi
setenv VISUAL vi

but neither of these worked!

----------------------------------------------------------------------------
Better Description of Problem:

The problem is that if I use vi within rn, trn, mail, or elm then the keys
"j", "k", et cetera move up and down the edited file, but kind of it's 
screwed up.

I can use "j" to look nicely at the contents of the file, but then using "k" 
will give results like "doubling" a line on the screen!

So, I can use "j", and "k" et cetera to work on the current line, but they 
start the desired line always at the same point on the screen.


						Thanks again,
						Christopher Lusardi
-- 
|  ..   .            ##|
| /    /  __  . .    ##|        Fun things for information
| \_)_/ )_)(_/_/)_     |        xarchie, xgopher, or xwais.
|_               14214_|          
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