<html>
<font size=3>Did you get any help on running vim from DSM. I may be able
to help with this if you are still having trouble, let me know.<br><br>
By the way, I did not like having to define a vms logical name TMP in
order to use vim so I ended up patching vim.exe (using vim -b) to change
the logical name to<br>
TM_&nbsp; !<br><br>
David<br><br>
At 09:53 AM 4/19/2002 +0200, zoltan.arpadffy@essnet.se wrote:<br>
<blockquote type=cite class=cite cite>hi,<br><br>
2. vim does create temp files at $TMP as tmp:vimXXXXXXX.txt (example:
VIMP649D30.TXT;1), and it usually deletes later on... but sys$login
should be user for .rc files, viminfo, viminfo-tmp, tags etc...<br><br>
3. unfortunately I've never worked with DSM, but hopefully somebody from
the vim-vms list did, and can help you.<br><br>
Regards, Z<br><br>
&gt; -----Original Message-----<br>
&gt; From: MIME :Mario.Macias@med.va.gov &gt; Sent: Thursday, April 18,
2002 5:58 PM<br>
&gt; To: Arpadffy Zoltan<br>
&gt; Subject: RE: Help with VIM on VMS/DSM<br>
&gt; &gt; &gt; Zoltan,<br>
&gt; &gt; Thanks for answering back on my email; I love vi(m) and would
like to<br>
&gt; replace it totally on our VMS/DSM system here.&nbsp; Do you know
&gt; the answer to<br>
&gt; Problems 2 and 3 (I am<br>
&gt;
assu============================================================<br>
&gt; -(PROBLEM (2)) My Tmp files are not being created in Tmp but &gt; in
my login<br>
&gt; directory.<br>
&gt; -(PROBLEM (2): QUESTION) Should they not be forming in the &gt; Tmp
directory as<br>
&gt; I point to in my login file above?<br>
&gt; &gt; &gt;
============================================================<br>
&gt; -(PROBLEM (3))&nbsp; I cannot figure out how to put Vi in the DSM
&gt; environment to<br>
&gt; get it to be my default editor in DSM as it already now is in &gt;
VMS.&nbsp; (We use<br>
&gt; DSM as our interpreter to create Mumps code, and it would be &gt;
nice to have<br>
&gt; this working in DSM also.&nbsp; (VI is working fairly well already
&gt; in VMS, and it<br>
&gt; would be a much better editor than EDT that is currently &gt;
running in DSM.<br>
&gt; (EDT is very primitive compared to VI and is the default &gt; editor
that comes<br>
&gt; with DSM)).<br>
&gt; -(PROBLEM (3): QUESTION)&nbsp; How do I import the Vi(m) editor &gt;
into the DSM<br>
&gt; environment.&nbsp; (DSM runs in VMS as the an interpreter and all
&gt; routines in DSM<br>
&gt; are in ASCII, as compilation occurs behind the scenes as code &gt;
is written).<br>
&gt; ming that your answer was for Problem 1?)<br>
&gt; &gt;
============================================================<br>
&gt; -(PROBLEM (2)) My Tmp files are not being created in Tmp but &gt; in
my login<br>
&gt; directory.<br>
&gt; -(PROBLEM (2): QUESTION) Should they not be forming in the &gt; Tmp
directory as<br>
&gt; I point to in my login file above?<br>
&gt; &gt; &gt;
============================================================<br>
&gt; -(PROBLEM (3))&nbsp; I cannot figure out how to put Vi in the DSM
&gt; environment to<br>
&gt; get it to be my default editor in DSM as it already now is in &gt;
VMS.&nbsp; (We use<br>
&gt; DSM as our interpreter to create Mumps code, and it would be &gt;
nice to have<br>
&gt; this working in DSM also.&nbsp; (VI is working fairly well already
&gt; in VMS, and it<br>
&gt; would be a much better editor than EDT that is currently &gt;
running in DSM.<br>
&gt; (EDT is very primitive compared to VI and is the default &gt; editor
that comes<br>
&gt; with DSM)).<br>
&gt; -(PROBLEM (3): QUESTION)&nbsp; How do I import the Vi(m) editor &gt;
into the DSM<br>
&gt; environment.&nbsp; (DSM runs in VMS as the an interpreter and all
&gt; routines in DSM<br>
&gt; are in ASCII, as compilation occurs behind the scenes as code &gt;
is written).<br>
&gt; &gt; &gt; Thanks again for your help,<br>
&gt; Mario<br>
&gt; ====<br>
&gt; &gt; &gt; &gt; -----Original Message-----<br>
&gt; &gt;
From:<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>zoltan.arpadffy@essnet.se
&gt; [SMTP:zoltan.arpadffy@essnet.se]<br>
&gt; &gt;
Sent:<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>Thursday,
April 18, 2002 12:45 AM<br>
&gt; &gt; To:<x-tab>&nbsp;</x-tab>sandor.kopanyi@essnet.se<br>
&gt; &gt; Cc:<x-tab>&nbsp;</x-tab>Mario.Macias@med.va.gov<br>
&gt; &gt; Subject:<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>RE: Help with
VIM on VMS/DSM<br>
&gt; &gt;<br>
&gt; &gt; hi,<br>
&gt; &gt;<br>
&gt; &gt; Unfortunately, this problem is an issue...<br>
&gt; &gt; actually all interwindow regex related commads has this
problem.<br>
&gt; &gt; Between Vim versions 5.8 and 6.0 OpenVMS specific source &gt;
code had been<br>
&gt; &gt; merged with into Unix one to improve compatibility and &gt;
maintenance time<br>
&gt; &gt; for OpenVMS leaving os_vms.c just a non portable part of &gt;
OpenVMS code.<br>
&gt; &gt; With this solution OpenVMS get automatically all Unix &gt;
features and does<br>
&gt; &gt; not need any VMS specific port for every each improvement, &gt;
but it uses<br>
&gt; &gt; heavily Unix C compatibility library, that, seems to have &gt;
some problems on<br>
&gt; &gt; versions 7.1 and below.<br>
&gt; &gt; Vim does not have this behaviour on systems 7.1-2 and
above.<br>
&gt; &gt; on vim-vms list it has been discussed a lot and we decided &gt;
(together with<br>
&gt; &gt; Bram) to leave it as it is.<br>
&gt; &gt; So, it is a known problem, that will disappear by time as &gt;
you upgrade your<br>
&gt; &gt; OpenVMS environment.<br>
&gt; &gt;<br>
&gt; &gt; Regards, Z<br>
&gt; &gt;<br>
&gt; &gt; &gt; -----Original Message-----<br>
&gt; &gt; &gt; From: Kopányi Sándor &gt; Sent: Thursday, April 18, 2002
9:23 AM<br>
&gt; &gt; &gt; To: Arpadffy Zoltan<br>
&gt; &gt; &gt; Subject: FW: Help with VIM on VMS/DSM<br>
&gt; &gt; &gt; &gt; &gt; Szia,<br>
&gt; &gt; &gt; &gt; Van vmi otleted?<br>
&gt; &gt; &gt; &gt; udvS.<br>
&gt; &gt; &gt; &gt; &gt; -----Original Message-----<br>
&gt; &gt; &gt; &gt; From: MIME :Mario.Macias@med.va.gov &gt; &gt; Sent:
Monday, &gt; April 15, 2002<br>
&gt; &gt; 8:02 PM<br>
&gt; &gt; &gt; &gt; To: Kopányi Sándor<br>
&gt; &gt; &gt; &gt; Subject: RE: Help with VIM on VMS/DSM<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; Sandor,<br>
&gt; &gt; &gt; &gt; &gt; &gt; I put the runtine files onto our VMS system
and &gt; when I am in &gt; &gt;<br>
&gt; &gt; &quot;vi&quot; on a file<br>
&gt; &gt; &gt; &gt; (such as &quot;vi filename&quot;) and do &quot;help
sort&quot; (or any &gt; other &gt; &gt; help), I<br>
&gt; &gt; get the<br>
&gt; &gt; &gt; &gt; following error:<br>
&gt; &gt; &gt; &gt; &quot;Vim: Caught deadly signal BUS&quot; and VMS
session freezes up.<br>
&gt; &gt; &gt; &gt; &gt; &gt; But if I just do: &quot;vi&quot; with no
file name listed, &gt; then I can &gt; &gt; do<br>
&gt; &gt; &quot;help sort&quot;<br>
&gt; &gt; &gt; &gt; (or any other help feature) and it works OK.<br>
&gt; &gt; &gt; &gt; I downloaded the zip file from polarfax.com: &gt;
vim-61-alpha.zip &gt; &gt;<br>
&gt; &gt; 3772 KB<br>
&gt; &gt; &gt; &gt; &gt; &gt; I set up the following directory structure
for VIM:<br>
&gt; &gt; &gt; &gt; &gt; &gt; Directory TUSER$:[MARIO.VIM]<br>
&gt; &gt; &gt; &gt;
CTAGS.EXE;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
530&nbsp;&nbsp; 7-FEB-2002 16:36:48.30&nbsp; &gt; &gt;<br>
&gt; &gt; (RWED,RWED,RE,RE)<br>
&gt; &gt; &gt; &gt;
GVIMRC.;2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
4&nbsp;&nbsp; 3-APR-2002 17:33:00.72&nbsp; &gt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VIMRUNTIME.DIR;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1&nbsp; 13-MAR-2002 15:49:17.76&nbsp; &gt; &gt;<br>
&gt; &gt; (RWE,RWED,RWE,RWE)<br>
&gt; &gt; &gt; &gt;&nbsp;&nbsp; Directory
TUSER$:[MARIO.VIM.VIMRUNTIME]<br>
&gt; &gt; &gt; &gt;
---DOC.DIR;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
8&nbsp; 13-MAR-2002 15:49:56.26&nbsp; &gt; &gt;<br>
&gt; &gt; (RWE,RWED,RE,RE)<br>
&gt; &gt; &gt; &gt;
---SYNTAX.DIR;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
16&nbsp; 13-MAR-2002 15:50:02.68&nbsp; &gt; &gt;<br>
&gt; &gt; (RWE,RWED,RE,RE)<br>
&gt; &gt; &gt; &gt;
XXD.EXE;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
30&nbsp;&nbsp; 7-FEB-2002 16:36:50.81&nbsp; &gt; &gt;<br>
&gt; &gt; (RWED,RWED,RE,RE)<br>
&gt; &gt; &gt; &gt; &gt; &gt; I have the following vim references in my
login.com:<br>
&gt; &gt; &gt; &gt; ED ==&quot;VIM&quot;<br>
&gt; &gt; &gt; &gt; $ define VIM TUSER$:[MARIO.VIM]<br>
&gt; &gt; &gt; &gt; $ define TMP TUSER$:[MARIO.VIM.TMP]<br>
&gt; &gt; &gt; &gt; $ define VIMRUNTIME
TUSER$:[MARIO.VIM.VIMRUNTIME]<br>
&gt; &gt; &gt; &gt; $ ! vi starts Vim in chr. mode<br>
&gt; &gt; &gt; &gt; $ vi*m&nbsp; :== mcr&nbsp;&nbsp;
TUSER$:[MARIO.VIM]VIM.EXE<br>
&gt; &gt; &gt; &gt; &gt; &gt; Also, the Tmp files are not being created
in Tmp &gt; but in my &gt; &gt;<br>
&gt; &gt; login directory;<br>
&gt; &gt; &gt; &gt; should they not be forming in the Tmp directory
above?<br>
&gt; &gt; &gt; &gt; &gt; &gt; **(I could not use the one of size: 4930 KB
from &gt; the complete &gt; &gt;<br>
&gt; &gt; download; I<br>
&gt; &gt; &gt; &gt; would get an error and vi would not work)<br>
&gt; &gt; &gt; &gt; &gt; &gt; -Any Ideas or is that the way the help is
supposed &gt; to work: &gt; &gt;<br>
&gt; &gt; you can only use<br>
&gt; &gt; &gt; &gt; help in the vi with no file name listed?<br>
&gt; &gt; &gt; &gt; &gt; &gt; Thanks,<br>
&gt; &gt; &gt; &gt; Mario<br>
&gt; &gt; &gt; &gt; =====<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; -----Original
Message-----<br>
&gt; &gt; &gt; &gt; &gt;
From:<x-tab>&nbsp;</x-tab>sandor.kopanyi@essnet.se
[SMTP:sandor.kopanyi@essnet.se]<br>
&gt; &gt; &gt; &gt; &gt; Sent:<x-tab>&nbsp;</x-tab>Wednesday, April 03,
2002 11:53 PM<br>
&gt; &gt; &gt; &gt; &gt;
To:<x-tab>&nbsp;&nbsp;&nbsp;</x-tab>Mario.Macias@med.va.gov<br>
&gt; &gt; &gt; &gt; &gt;
Subject:<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>RE: Help with
VIM on VMS/DSM<br>
&gt; &gt; &gt; &gt; &gt; &gt; Hi Mario,<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; We are using Open VMS Version
V7.2-1&nbsp; and vim.exe &gt; seems &gt; &gt; to &gt;<br>
&gt; &gt; work on<br>
&gt; &gt; &gt; &gt; &gt; this one.<br>
&gt; &gt; &gt; &gt; &gt; &gt; The only thing I found was that the down
and up &gt; keys on &gt; &gt; Vim<br>
&gt; &gt; work one<br>
&gt; &gt; &gt; &gt; &gt; &gt; keytouch behind when I hit the keypad at
the 1st &gt; position &gt; &gt; of &gt;<br>
&gt; &gt; the file<br>
&gt; &gt; &gt; &gt; &gt; (in<br>
&gt; &gt; &gt; &gt; &gt; &gt; cursor mode).<br>
&gt; &gt; &gt; &gt; &gt; &gt; You can try to re-map those keys (see :map
command).<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; Also, do you know who might know
how to put &gt; vim.exe &gt; &gt; into<br>
&gt; &gt; the &gt; DSM<br>
&gt; &gt; &gt; &gt; &gt; interpreter<br>
&gt; &gt; &gt; &gt; &gt; &gt; of VMS?<br>
&gt; &gt; &gt; &gt; &gt; Unfortunately I have no ideea, I have never been
working with<br>
&gt; &gt; &gt; &gt; &gt; DSM. Sorry...<br>
&gt; &gt; &gt; &gt; &gt; &gt; Best regards,<br>
&gt; &gt; &gt; &gt; &gt; Sandor<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; <br>
_______________________________________________<br>
Vim-vms mailing list<br>
Vim-vms@polarhome.com<br>
<a href="http://www.polarhome.com/mailman/listinfo/vim-vms" eudora="autourl">http://www.polarhome.com/mailman/listinfo/vim-vms</a>
</font></blockquote></html>