🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.microport
5 messages
5 total messages Started by Per Andersson Sun, 29 Jul 1990 14:16
ksh / emacsmode ???
#428
Author: Per Andersson
Date: Sun, 29 Jul 1990 14:16
12 lines
852 bytes
As Microport was about to disappear I never upgraded to V/AT 2.4, but
I got the Korn shell for it. I just picked installed V/AT again, and
I just can't remember how to switch on emacs editing in ksh. Anybody
got advice ? Also, if anyone from Microport is listening - can I still
upgrade from 2.3 to 2.4 ?

Per
-- 
---
Per Andersson
Royal Institute of Technology, Stockholm, Sweden
perand@admin.kth.se, @nada.kth.se 
Re: ksh / emacsmode ???
#429
Author: Jay "you ignorant splut!" Maynar...
Date: Mon, 30 Jul 1990 04:46
19 lines
1429 bytes
In article <1990Jul29.141650.26386@kth.se> perand@admin.kth.se (Per Andersson) writes:
>I just picked installed V/AT again, and
>I just can't remember how to switch on emacs editing in ksh. Anybody
>got advice ?

You don't.

Apparently, ksh is big enough that it needs large model to fit everything
in; the only problem is that ksh apparently does the usual nasty things
that make it not work in large model. Microport did about the only thing
they could short of a total rewrite, or buying a working version from
Mortice Kern Systems: they made two versions, one with vi mode only, and
one with emacs mode only. If you have the vi-mode one, you're stuck.

-- 
Jay Maynard, EMT-P, K5ZC, PP-ASEL   | Never ascribe to malice that which can
jay@splut.conmicro.com       (eieio)| adequately be explained by stupidity.
"It's a hardware bug!" "It's a      +----------------------------------------
software bug!" "It's two...two...two bugs in one!" - _Engineer's Rap_
Re: ksh / emacsmode ???
#431
Author: Doug Blair
Date: Mon, 30 Jul 1990 16:02
20 lines
1432 bytes
In article <1990Jul29.141650.26386@kth.se>, perand@admin.kth.se (Per Andersson) writes:
> I just can't remember how to switch on emacs editing in ksh. Anybody
> got advice ? Also, if anyone from Microport is listening - can I still

Per:

Another posting from Jay Maynard details the two versions of ksh for uport's
286 unix.  I got both of these when I ordered the set of Microport BBS
disks, which contains the "best of" the various files that used to be
(and might still be) on Microport's BBS.

Microport IS still in business and quite healthy these days.  You can reach
them at (US) 408-425-8649.  The set of 8 BBS software disks is product
number 086-000-111-9, cost was $20.00 US plus shipping as of 03-01-90.

Doug
 ___  _           _  _             _    
|   || |_  ___  _| ||_| ___  __  _| |_  Doug Blair    Obedient Software Corp.
| | ||  .\/ ._\/.  || |/ ._\|  \|_   _| 1007 Naperville Rd, Wheaton IL  60187 
|___||___/\___/\___||_|\___/|_|_| |_|   708-653-5527  blair@obdient.chi.il.us
Re: ksh / emacsmode ???
#430
Author: Per Andersson
Date: Mon, 30 Jul 1990 20:23
22 lines
1278 bytes
In article <5KV&Z9C@splut.conmicro.com> jay@splut.conmicro.com (Jay "you ignorant splut!" Maynard) writes:
>In article <1990Jul29.141650.26386@kth.se> perand@admin.kth.se (Per Andersson) writes:
>>I just can't remember how to switch on emacs editing in ksh.
>
>You don't.

Yes, I do. I do have the emacs version, so that wasn't the problem. For others
that might be in the same situation, 
EDITOR=emacs;export EDITOR
VISUAL=emacs;export VISUAL
FCEDIT=emacs;export FCEDIT

in your .profile does the trick. It's probably the FCEDIT that does the trick.
Also if the shell is already started 'set -o emacs' turns it on immediatly.
Thanks to everyone responding!

Per
-- 
---
Per Andersson
Royal Institute of Technology, Stockholm, Sweden
perand@admin.kth.se, @nada.kth.se 
Re: ksh / emacsmode ???
#432
Author: Jay "you ignorant splut!" Maynar...
Date: Wed, 01 Aug 1990 10:16
30 lines
2047 bytes
In article <1990Jul30.202358.11116@kth.se> perand@admin.kth.se (Per Andersson) writes:
>In article <5KV&Z9C@splut.conmicro.com> jay@splut.conmicro.com (Jay "you ignorant splut!" Maynard) writes:
>>In article <1990Jul29.141650.26386@kth.se> perand@admin.kth.se (Per Andersson) writes:
>>>I just can't remember how to switch on emacs editing in ksh.
>>You don't.
>Yes, I do. I do have the emacs version, so that wasn't the problem.

Sorry about that; I made an unwarranted assumption - that you were using
the vi version.

>For others that might be in the same situation, 
>EDITOR=emacs;export EDITOR
>VISUAL=emacs;export VISUAL
>FCEDIT=emacs;export FCEDIT
>in your .profile does the trick. It's probably the FCEDIT that does the trick.
>Also if the shell is already started 'set -o emacs' turns it on immediatly.
>Thanks to everyone responding!

The VISUAL variable isn't necessary, but having the other two set
probably is. I seem to remember that the manpage says that it's EDITOR
that it looks at, but I think FCEDIT is needed, too. Note that the shell
looks at the last part of the variable value, and as long as it ends in
emacs, it's OK; my FCEDIT contains the full path name of the emacs
program.

-- 
Jay Maynard, EMT-P, K5ZC, PP-ASEL   | Never ascribe to malice that which can
jay@splut.conmicro.com       (eieio)| adequately be explained by stupidity.
"It's a hardware bug!" "It's a      +----------------------------------------
software bug!" "It's two...two...two bugs in one!" - _Engineer's Rap_
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