🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #4

Re: VI on VMS

#4
From: Tony Jewell
Date: Tue, 27 Oct 1992 14:18
26 lines
1418 bytes
In article <_zyph8_@lynx.unm.edu>, hamjavar@carina.unm.edu (Farid
Hamjavar) writes:
|>
|>Hello VI Users on VMS :
|>
|>  In UNIX you can customize the hell out of your VI session in $HOME/.exrc
|>  why can't one do it in VMS? (if possible, please give me some pointers).

I have managed to persuade my vi on VMS to read ".exrc" files on start up.
The magic incantations are:
 
1)      Create your vi symbol as follows:
                vi              :==             EDIT/TPU/COM=sys$login:ex.rc
        OR:     DEFINE/JOB      TPU$COMMAND     sys$login:ex.rc
 
2)      Put the following sort of things in your "sys$login:ex.rc"
                vi$do_command("set ai sm");
                vi$do_command("set sw=4");
                vi$do_command("set report=1")
 
Then whenever you use vi it will read your ".exrc" file and hey-presto
you have a customised edit session.
 
Tony Jewell
 
BTW This assumes that you are using TPU with the same VI TPU$SECTION as I.
Technical Details
Message-ID: <1992Oct27.141804.2987@micrognosis.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!unipalm!uknet!miclon!miclon!tjewell
References: <_zyph8_@lynx.unm.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!unipalm!uknet!miclon!miclon!tjewell
From: tjewell@micrognosis.co.uk (Tony Jewell)
Newsgroups: comp.editors
Subject: Re: VI on VMS
Message-ID: <1992Oct27.141804.2987@micrognosis.co.uk>
Date: 27 Oct 92 14:18:04 GMT
References: <_zyph8_@lynx.unm.edu>
Sender: news@micrognosis.co.uk (News account)
Reply-To: tjewell@micrognosis.co.uk (Tony Jewell)
Organization: Micrognosis, London, UK.
Lines: 26