* Re: Can't use vi under "console" mode.
[not found] ` <46oeug$pje@aurora.cs.athabascau.ca>
@ 1995-10-31 5:00 ` Kit-pui Wong
[not found] ` <danpop.815189867@rscernix>
1995-11-09 5:00 ` Justin Mason
[not found] ` <rudi.815088081@speelman>
1 sibling, 2 replies; 8+ messages in thread
From: Kit-pui Wong @ 1995-10-31 5:00 UTC (permalink / raw)
Ross Alexander (rwa@cs.athabascau.ca) wrote:
> That's exactly correct. There is no terminal emulation in console
> mode. No, vi can't be used; ditto pico, fse, emacs, jove, you name
> it.
What a bad news !!!!
> >I become handicapped without vi. To what terminal type should I set
> >in the env variables ?
> You *must* learn to use ex or ed. You can't use an editor that
Well... I have just learn some ed operations.
What a bad experience !
> depends on an addressable display in the absence of an addressable
> display. The contents of the environment are irrelevant to this
> fundamental issue.
We have HP and SUN here, as well.
ALL of them can use vi, even under the single user
(non-X) mode.
How come DEC make such a stupid machine !!!!! ??????
> ps: this is the same situation as prevailed on any of the older VAX
> machines that had printing console terminals, and the same solution.
Luckily (or unluckily) I havn't been a VAX administrator. :)
Cheers,
KiT
^ permalink raw reply [flat|nested] 8+ messages in thread[parent not found: <danpop.815189867@rscernix>]
* Re: Can't use vi under "console" mode.
[not found] ` <danpop.815189867@rscernix>
@ 1995-11-01 5:00 ` Gyula Szokoly
0 siblings, 0 replies; 8+ messages in thread
From: Gyula Szokoly @ 1995-11-01 5:00 UTC (permalink / raw)
>In <474717$2ec@hpg30a.csc.cuhk.hk> kpwong@psy.cuhk.hk (Kit-pui Wong) writes:
>>We have HP and SUN here, as well.
>>ALL of them can use vi, even under the single user
>>(non-X) mode.
>>
>>How come DEC make such a stupid machine !!!!! ??????
They thought that 'single user mode' is for system maintanance AND
disaster recovery, hence they thought that the require the MINIMUM to
work. They think that being able to mount /usr is not necessary. I
totally agree with them. If you want a more convinient environment,
you can start components that you know are OK. You can mount /usr
if you want and use vi.
Suns don't boot if /usr is damaged. Bad IMHO.
Gyula
--
Gyula P. Szokoly (szgyula@skysrv.pha.jhu.edu) -------------------------------\
| When I am weaker than you, I ask you for freedom because that is according|
|to your principles; when I am stronger than you, I take away your freedom|
|because that is according to my principles. -- Frank Herbert|
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Can't use vi under "console" mode.
1995-10-31 5:00 ` Can't use vi under "console" mode Kit-pui Wong
[not found] ` <danpop.815189867@rscernix>
@ 1995-11-09 5:00 ` Justin Mason
1 sibling, 0 replies; 8+ messages in thread
From: Justin Mason @ 1995-11-09 5:00 UTC (permalink / raw)
kpwong@psy.cuhk.hk (Kit-pui Wong) writes:
>Well... I have just learn some ed operations.
>What a bad experience !
What do you mean? Ed is the _standard_ text editor! ;)
(if you don't get it, rtfm!)
--j.
^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <rudi.815088081@speelman>]
* Re: Can't use vi under "console" mode.
[not found] ` <rudi.815088081@speelman>
@ 1995-10-31 5:00 ` Kit-pui Wong
1995-11-02 5:00 ` Brendan Murray
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Kit-pui Wong @ 1995-10-31 5:00 UTC (permalink / raw)
R. K. van Houten (rudi@cc.ruu.nl) wrote:
> In <46oeug$pje@aurora.cs.athabascau.ca> rwa@cs.athabascau.ca (Ross Alexander) writes:
> >You *must* learn to use ex or ed. You can't use an editor that
> >depends on an addressable display in the absence of an addressable
> >display. The contents of the environment are irrelevant to this
> >fundamental issue.
> Not entirely true. You can use the console in vt100 mode
> (not quite, but nearly) and you must make sure that the
> parititions with the vi binary en the tmp-directory are
> available. Then you can declare (Bourne shell):
> TERM=vt100
> export TERM
> and you can use vi, with some quirks.
> Better indeed to know ed, but even then it can be handy to use this
> escape to vi.
Are you sure ?
Does anybody here has the same experience ?
I had checked the env (before I posted the first
"ask-for-help" here) and the "TERM" was already VT-100.
Thanks for information.
KiT
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Can't use vi under "console" mode.
1995-10-31 5:00 ` Kit-pui Wong
@ 1995-11-02 5:00 ` Brendan Murray
1995-11-03 5:00 ` Robert A. Holt
1995-11-05 5:00 ` Jim Wright
2 siblings, 0 replies; 8+ messages in thread
From: Brendan Murray @ 1995-11-02 5:00 UTC (permalink / raw)
Kit-pui Wong (kpwong@psy.cuhk.hk) wrote:
> > and you can use vi, with some quirks.
> > Better indeed to know ed, but even then it can be handy to use this
> > escape to vi.
> Are you sure ?
> Does anybody here has the same experience ?
> I had checked the env (before I posted the first
> "ask-for-help" here) and the "TERM" was already VT-100.
I often use vi in "open mode" on the console. All the same commands
work, but the display is a bit odd. If you're reasonably good with vi
then open mode is fine, it just isn't full screen. Works OK otherwise.
You still really ought to learn a little bit of ed ( insertion,
deletion, movement, substitution and exit are enough ) but you can get
by without it. I did for about 4 years.
to remember where the cursor ought to b
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Can't use vi under "console" mode.
1995-10-31 5:00 ` Kit-pui Wong
1995-11-02 5:00 ` Brendan Murray
@ 1995-11-03 5:00 ` Robert A. Holt
1995-11-05 5:00 ` Jim Wright
2 siblings, 0 replies; 8+ messages in thread
From: Robert A. Holt @ 1995-11-03 5:00 UTC (permalink / raw)
By learning ed/ex you will by default learn to formulate
regular expressions which are helpful when awk-ing or
sed-ing.
Also, learning ed/ex just plain builds character ;)
-robert
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Can't use vi under "console" mode.
1995-10-31 5:00 ` Kit-pui Wong
1995-11-02 5:00 ` Brendan Murray
1995-11-03 5:00 ` Robert A. Holt
@ 1995-11-05 5:00 ` Jim Wright
2 siblings, 0 replies; 8+ messages in thread
From: Jim Wright @ 1995-11-05 5:00 UTC (permalink / raw)
>R. K. van Houten (rudi@cc.ruu.nl) wrote:
>> Then you can declare (Bourne shell):
>> TERM=vt100
>> export TERM
>> and you can use vi, with some quirks.
By "quirks" do you mean "doesn't work in full-screen mode"? I've
gone through all the terminfo definitions distributed by DEC and
none of them work. Closest to working are pccons and pmcons.
Does "console" mode have an addressable display? If so, how could
I go about writing a terminfo capabilities file for it?
--
Jim Wright Keck Center for Integrative Neuroscience
jwright@phy.ucsf.edu Box 0444, Room HSE-802
voice 415-502-4874 513 Parnassus Ave
fax 415-502-4848 UCSF, San Francisco, CA 94143-0444
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Can't use vi under "console" mode.
[not found] <46np7h$m1u@hpg30a.csc.cuhk.hk>
[not found] ` <46oeug$pje@aurora.cs.athabascau.ca>
@ 1995-11-09 5:00 ` John Vestberg
1 sibling, 0 replies; 8+ messages in thread
From: John Vestberg @ 1995-11-09 5:00 UTC (permalink / raw)
Kit-pui Wong (kpwong@harp.psy.cuhk.hk) wrote:
: When our ALPHA 200 4/166 enters single user mode,
: _no_ terminal mode can be recognized, VT-100 or
: whatever. Therefore vi cannot be used.
: I become handicapped without vi. To what terminal
: type should I set in the env variables ?
Well... I can't tell the difference between console mode on a VAX or on
Alpha 200, but this is how I do to use vi in single user mode on a VAX:
> mount /usr
> TERM=vt100�; export TERM
> /usr/ucb/vi <FILE>
/John Vestberg
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1995-11-09 5:00 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <46np7h$m1u@hpg30a.csc.cuhk.hk>
[not found] ` <46oeug$pje@aurora.cs.athabascau.ca>
1995-10-31 5:00 ` Can't use vi under "console" mode Kit-pui Wong
[not found] ` <danpop.815189867@rscernix>
1995-11-01 5:00 ` Gyula Szokoly
1995-11-09 5:00 ` Justin Mason
[not found] ` <rudi.815088081@speelman>
1995-10-31 5:00 ` Kit-pui Wong
1995-11-02 5:00 ` Brendan Murray
1995-11-03 5:00 ` Robert A. Holt
1995-11-05 5:00 ` Jim Wright
1995-11-09 5:00 ` John Vestberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox