<html><div style='background-color:'><P>Hi all,</P>
<P>I had tested reported problem on my OpenVMS 7.3.1 (with latest patches - Install rating 1) and it runs well (I can't reproduce crash). </P>
<P>look at</P>
<P>$ prod sho hist<BR>----------------------------------- ----------- ----------- --------------------<BR>PRODUCT KIT TYPE OPERATION DATE AND TIME<BR>----------------------------------- ----------- ----------- --------------------<BR>DEC AXPVMS VMS731_ACRTL V3.0 Patch Install 08-JAN-2004 18:57:06<BR>DEC AXPVMS VMS731_SYS V5.0 Patch Install 08-JAN-2004 18:15:15<BR>DEC AXPVMS VMS731_UPDATE V2.0 Patch Install 08-JAN-2004 17:44:41</P>
<P>....</P>
<P><FONT color=#003366>Don't you miss some critical fix? (with description like)</FONT></P>
<P><FONT color=#003366>KIT DESCRIPTION:<BR><BR> 2.1 Installation Rating:<BR><BR> INSTALL_1 : To be installed by all customers.<BR></P></FONT>
<P>Better CRTL library can also help, but now I can't say which one helps.</P>
<P><A href="http://www4.itrc.hp.com/service/patch/mainPage.do">http://www4.itrc.hp.com/service/patch/mainPage.do</A></P>
<P>(be sure to use just propper ones for your VMS version)</P>
<P>Tomas</P>
<P> </P>
<P>>Hi all, </P>
<DIV></DIV>>
<DIV></DIV>>For the vim-dev readers:
<DIV></DIV>>Does the file name expansion use vim's regexp code?
<DIV></DIV>>Can you tell me which function or source file does the file name expansion?
<DIV></DIV>>
<DIV></DIV>>That's rather direct, but I'm a bit worried that you will all stop
<DIV></DIV>>reading after the word "VMS" ;-)
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>I think I found a new bug in vim/VMS 6.2.106 (I use the downloaded
<DIV></DIV>>binary from http://www.polarfox.com/vim/).
<DIV></DIV>>The following actions consistently crash vim:
<DIV></DIV>>In the VIM directory, start vim and type:
<DIV></DIV>> :n syntax/<CTRL-D>
<DIV></DIV>>For a few moments the prompt will show
<DIV></DIV>> :n syntax/...
<DIV></DIV>>and finally
<DIV></DIV>> :n \[.syntax]2html.vim
<DIV></DIV>>If you now press <CTRL-D>or <TAB>, vim will crash:
<DIV></DIV>> Vim: Caught deadly signal BUS
<DIV></DIV>>
<DIV></DIV>> Vim: Finished.
<DIV></DIV>>
<DIV></DIV>>In short, the command:
<DIV></DIV>> :n \[.syntax]<CTRL-D>
<DIV></DIV>>crashes vim on VMS.
<DIV></DIV>>
<DIV></DIV>>I do not understand how/why/where vim inserts the '\' before the '[' and
<DIV></DIV>>not before the ']'. I don't think that vim needs it to understand VMS
<DIV></DIV>>path names.
<DIV></DIV>>AFAIK, escaping '[' to '\[' is only necessary in regular expressions.
<DIV></DIV>>Does the file name expansion use vim's regexp code?
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>The function vms_unix_mixed_filespec() in os_vms.c expands pathnames
<DIV></DIV>>from Unix to VMS format, but it does not seem to insert a '\'.
<DIV></DIV>>The line
<DIV></DIV>> *out++ = '['; /* Yes, denote a Vms subdirectory */
<DIV></DIV>>looked suspicious to me, but I think the *out++ should correctly write
<DIV></DIV>>'[' before incrementing 'out' (see e.g.
<DIV></DIV>>http://www.eskimo.com/~scs/C-faq/q4.3.html)
<DIV></DIV>>
<DIV></DIV>>Does anybody know what's happening?
<DIV></DIV>>
<DIV></DIV>>Thanks in advance,
<DIV></DIV>>
<DIV></DIV>>Coen
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>--__--__--
<DIV></DIV>>
<DIV></DIV>>Message: 2
<DIV></DIV>>To: Coen Engelbarts <COEN.ENGELBARTS@CMG.NL>
<DIV></DIV>>Cc: vim-vms@polarhome.com, Vim development mailing list <VIM-DEV@VIM.ORG>
<DIV></DIV>>From: Bram Moolenaar <BRAM@MOOLENAAR.NET>
<DIV></DIV>>Date: Tue, 13 Jan 2004 17:09:33 +0100
<DIV></DIV>>Subject: [Vim-vms] Re: Vim 6.2 crash
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>Coen Engelbarts wrote:
<DIV></DIV>>
<DIV></DIV>> > For the vim-dev readers:
<DIV></DIV>> > Does the file name expansion use vim's regexp code?
<DIV></DIV>> > Can you tell me which function or source file does the file name expansion?
<DIV></DIV>>
<DIV></DIV>>Yes, the regexp engine is used for finding matching file names. Except
<DIV></DIV>>when a machine-specific function should be used. gen_expand_wildcards()
<DIV></DIV>>is the central function.
<DIV></DIV>>
<DIV></DIV>> > I think I found a new bug in vim/VMS 6.2.106 (I use the downloaded
<DIV></DIV>> > binary from http://www.polarfox.com/vim/).
<DIV></DIV>> > The following actions consistently crash vim:
<DIV></DIV>> > In the VIM directory, start vim and type:
<DIV></DIV>> > :n syntax/<CTRL-D>
<DIV></DIV>> > For a few moments the prompt will show
<DIV></DIV>> > :n syntax/...
<DIV></DIV>> > and finally
<DIV></DIV>> > :n \[.syntax]2html.vim
<DIV></DIV>> > If you now press <CTRL-D>or <TAB>, vim will crash:
<DIV></DIV>> > Vim: Caught deadly signal BUS
<DIV></DIV>> >
<DIV></DIV>> > Vim: Finished.
<DIV></DIV>> >
<DIV></DIV>> > In short, the command:
<DIV></DIV>> > :n \[.syntax]<CTRL-D>
<DIV></DIV>> > crashes vim on VMS.
<DIV></DIV>> >
<DIV></DIV>> > I do not understand how/why/where vim inserts the '\' before the '[' and
<DIV></DIV>> > not before the ']'. I don't think that vim needs it to understand VMS
<DIV></DIV>> > path names.
<DIV></DIV>> > AFAIK, escaping '[' to '\[' is only necessary in regular expressions.
<DIV></DIV>> > Does the file name expansion use vim's regexp code?
<DIV></DIV>>
<DIV></DIV>>Using [] is a generic thing in filenames, just like using "*" and "?".
<DIV></DIV>>Therefore a backslash is needed for a literal "[". It's not needed for
<DIV></DIV>>the "]", because it only has a special meaning after a "[".
<DIV></DIV>>
<DIV></DIV>> > The function vms_unix_mixed_filespec() in os_vms.c expands pathnames
<DIV></DIV>> > from Unix to VMS format, but it does not seem to insert a '\'.
<DIV></DIV>> > The line
<DIV></DIV>> > *out++ = '['; /* Yes, denote a Vms subdirectory */
<DIV></DIV>> > looked suspicious to me, but I think the *out++ should correctly write
<DIV></DIV>> > '[' before incrementing 'out' (see e.g.
<DIV></DIV>> > http://www.eskimo.com/~scs/C-faq/q4.3.html)
<DIV></DIV>> >
<DIV></DIV>> > Does anybody know what's happening?
<DIV></DIV>>
<DIV></DIV>>The escaping is done in ExpandEscape().
<DIV></DIV>>
<DIV></DIV>>Anyway, even when inserting a backslash is not appropriate (which I
<DIV></DIV>>still think is right), Vim should not crash. I hope you can find out
<DIV></DIV>>where the crash happens.
<DIV></DIV>>
<DIV></DIV>>--
<DIV></DIV>>hundred-and-one symptoms of being an internet addict:
<DIV></DIV>>269. You receive an e-mail from the wife of a deceased president, offering
<DIV></DIV>> to send you twenty million dollar, and you are not even surprised.
<DIV></DIV>>
<DIV></DIV>> /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
<DIV></DIV>>/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
<DIV></DIV>>\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
<DIV></DIV>> \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
<DIV></DIV>>
<DIV></DIV>>--__--__--
<DIV></DIV>>
<DIV></DIV>>Message: 3
<DIV></DIV>>From: Arpadffy Zoltan <ZOLTAN.ARPADFFY@ESSNET.SE>
<DIV></DIV>>To: vim-vms@polarhome.com, Vim development mailing list <VIM-DEV@VIM.ORG>
<DIV></DIV>>Subject: RE: [Vim-vms] Vim 6.2 crash
<DIV></DIV>>Date: Wed, 14 Jan 2004 09:31:24 +0100
<DIV></DIV>>
<DIV></DIV>>hi,
<DIV></DIV>>
<DIV></DIV>>VMS had problems with regex and filenames regarding syntax earlier as well,
<DIV></DIV>>that had been corrected (or at least made an attempt to correct) somewhere
<DIV></DIV>>in 6.1 level.
<DIV></DIV>>
<DIV></DIV>>If you have time I would suggest you to trace/debug the code.
<DIV></DIV>>I will not have time during next few weeks, but later on I can take care
<DIV></DIV>>about it.
<DIV></DIV>>
<DIV></DIV>>Regards,
<DIV></DIV>>Z
<DIV></DIV>>
<DIV></DIV>>-----Original Message-----
<DIV></DIV>>From: Coen Engelbarts [mailto:coen.engelbarts@cmg.nl]
<DIV></DIV>>Sent: den 13 januari 2004 16:47
<DIV></DIV>>To: vim-vms@polarhome.com; Vim development mailing list
<DIV></DIV>>Subject: [Vim-vms] Vim 6.2 crash
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>Hi all,
<DIV></DIV>>
<DIV></DIV>>For the vim-dev readers:
<DIV></DIV>>Does the file name expansion use vim's regexp code?
<DIV></DIV>>Can you tell me which function or source file does the file name expansion?
<DIV></DIV>>
<DIV></DIV>>That's rather direct, but I'm a bit worried that you will all stop
<DIV></DIV>>reading after the word "VMS" ;-)
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>I think I found a new bug in vim/VMS 6.2.106 (I use the downloaded
<DIV></DIV>>binary from http://www.polarfox.com/vim/).
<DIV></DIV>>The following actions consistently crash vim:
<DIV></DIV>>In the VIM directory, start vim and type:
<DIV></DIV>> :n syntax/<CTRL-D>
<DIV></DIV>>For a few moments the prompt will show
<DIV></DIV>> :n syntax/...
<DIV></DIV>>and finally
<DIV></DIV>> :n \[.syntax]2html.vim
<DIV></DIV>>If you now press <CTRL-D>or <TAB>, vim will crash:
<DIV></DIV>> Vim: Caught deadly signal BUS
<DIV></DIV>>
<DIV></DIV>> Vim: Finished.
<DIV></DIV>>
<DIV></DIV>>In short, the command:
<DIV></DIV>> :n \[.syntax]<CTRL-D>
<DIV></DIV>>crashes vim on VMS.
<DIV></DIV>>
<DIV></DIV>>I do not understand how/why/where vim inserts the '\' before the '[' and
<DIV></DIV>>not before the ']'. I don't think that vim needs it to understand VMS
<DIV></DIV>>path names.
<DIV></DIV>>AFAIK, escaping '[' to '\[' is only necessary in regular expressions.
<DIV></DIV>>Does the file name expansion use vim's regexp code?
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>The function vms_unix_mixed_filespec() in os_vms.c expands pathnames
<DIV></DIV>>from Unix to VMS format, but it does not seem to insert a '\'.
<DIV></DIV>>The line
<DIV></DIV>> *out++ = '['; /* Yes, denote a Vms subdirectory */
<DIV></DIV>>looked suspicious to me, but I think the *out++ should correctly write
<DIV></DIV>>'[' before incrementing 'out' (see e.g.
<DIV></DIV>>http://www.eskimo.com/~scs/C-faq/q4.3.html)
<DIV></DIV>>
<DIV></DIV>>Does anybody know what's happening?
<DIV></DIV>>
<DIV></DIV>>Thanks in advance,
<DIV></DIV>>
<DIV></DIV>>Coen
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>_______________________________________________
<DIV></DIV>>Vim-vms mailing list
<DIV></DIV>>Vim-vms@polarhome.com
<DIV></DIV>>http://www.polarhome.com/mailman/listinfo/vim-vms
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>--__--__--
<DIV></DIV>>
<DIV></DIV>>_______________________________________________
<DIV></DIV>>Vim-vms mailing list
<DIV></DIV>>Vim-vms@polarhome.com
<DIV></DIV>>http://www.polarhome.com/mailman/listinfo/vim-vms
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>End of Vim-vms Digest
<DIV></DIV></div><br clear=all><hr>Podelte se o sve skvele myslenky se svymi kolegy - MSN Messenger 6.1! <a href="http://g.msn.com/8HMAENCZ/2746??PS=">Kliknete zde pro stazeni!</a> </html>