VSI Git and Vim

Talk about commercial or opensource products that already exist for OpenVMS or may be available in the future.

hb
Master
Posts: 152
Joined: Mon May 01, 2023 12:11 pm
Reputation: 0
Status: Offline

Re: VSI Git and Vim

Post by hb » Mon Nov 25, 2024 5:41 am

Maybe I didn't make it clear, I'm interested in the output of "DIRECTORY/FULL" and the line with the trailing "00910" - the line that seems to be overwritten with "error: cannot run vim: no such file or directory". I suspect that there is some information that can help to identify the problem. It is known that 910 is the message code for "%SYSTEM-W-NOSUCHFILE, no such file".

There may be other useful information in the XQP log lines from the last shown "%XQP, Thread #0, Lookup vim.exe;1 (48434,31,0) Status: 00000001" up to the "error: cannot run vim". Seeing more context may also help.

User avatar

Topic author
issinoho
Valued Contributor
Posts: 67
Joined: Wed Apr 05, 2023 9:22 am
Reputation: 0
Location: Glasgow, Scotland
Status: Offline
Contact:

Re: VSI Git and Vim

Post by issinoho » Mon Nov 25, 2024 7:25 am

Code: Select all

$ DIRECTORY/FULL vim$root:vim.exe

Directory DISK$X86SYS:[vim.vim91]

vim.exe;1                     File ID:  (48434,31,0)          
Size:       6.75MB/6.75MB     Owner:    [1,1]
Created:     6-JAN-2024 06:38:00.00
Modified:   19-NOV-2024 16:30:56.31 (1)
Expires:    <None specified>
Backup:     <No backup recorded>
Effective:  <None specified>
Recording:  <None specified>
Accessed:   19-NOV-2024 15:48:32.58
Attr Mod:   19-NOV-2024 16:30:56.31
Data Mod:    6-JAN-2024 06:38:00.00
Linkcount:  1
File organization:  Sequential
Shelved state:      Online 
Caching attribute:  Writethrough
File attributes:    Allocation: 13840, Extend: 16384, Global buffer count: 0
                    No version limit
Record format:      Stream_LF, maximum 0 bytes, longest 0 bytes
Record attributes:  Carriage return carriage control
RMS attributes:     None
Journaling enabled: None
File protection:    System:RWED, Owner:RWD, Group:, World:RWED
Access Cntrl List:  None
Client attributes:  None

Total of 1 file, 6.75MB/6.75MB
Added in 4 minutes 42 seconds:

Code: Select all

%XQP, Thread #0, Lookup vim.exe;1 (48434,31,0) Status: 00000001
%XQP, Thread #0, FIB contents:
     00010000 00000000 000C0000 00000001 00000000 00001003 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00001000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
%XQP, Thread #0, FIB contents:
     00010000 00000000 000C0000 00000001 00000000 00001003 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000001 00001000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
%XQP, Thread #0, Volume protection: Access requested: 00000001, Status: 00000001
, PrvUsd: 00000000
%XQP, Thread #0, File protection (12,1,0): Access requested: 00000004, Status: 0
0000001, PrvUsd: 00000000
%XQP, Thread #0, Read only directory access (12,1,0)
%XQP, Thread #0, Directory scan for: SYS$I18N.;0, Status: 00000000
%XQP, Thread #0, Directory scan for: SYS$I18N.DIR;1, Status: 00000001
%XQP, Thread #0, File protection (6618,1,0): Access requested: 00000004, Status:
 00000001, PrvUsd: 00000000
%XQP, Thread #0, Read attributes: Record attributes SYS$I18N.DIR;1 (6618,1,0)
%XQP, Thread #0, Read attributes: User file characteristics SYS$I18N.DIR;1 (6618
,1,0)
%XQP, Thread #0, Read attributes: Symlink meta-data SYS$I18N.DIR;1 (6618,1,0)
%XQP, Thread #0, Lookup SYS$I18N.DIR;1 (6618,1,0) Status: 00000001
%XQP, Thread #0, FIB contents:
     00010000 000119DA 19DA0000 00000001 00000000 00001003 00000000 00000000
     00000000 00000000 00000000 00007FFF 00000000 00000001 00001000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
%XQP, Thread #0, FIB contents:
     00010000 000119DA 19DA0000 00000001 00000000 00001003 00000000 00000000
     00000000 00000000 00000000 00007FFF 00000000 00000001 00001000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
%XQP, Thread #0, Volume protection: Access requested: 00000001, Status: 00000001
, PrvUsd: 00000000
%XQP, Thread #0, File protection (6618,1,0): Access requested: 00000004, Status:
 00000001, PrvUsd: 00000000
%XQP, Thread #0, Read only directory access (6618,1,0)
%XQP, Thread #0, Directory scan for: MESSAGES.;0, Status: 00000000
%XQP, Thread #0, Directory scan for: MESSAGES.DIR;1, Status: 00000000
%XQP, Thread #0, Lookup  (6618,1,0) Status: 00000910
%XQP, Thread #0, FIB contents:
     00010000 00000000 000F0000 00000001 00000000 00001003 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00001000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
%XQP, Thread #0, FIB contents:
     00010000 00000000 000F0000 00000001 00000000 00001003 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000001 00001000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
%XQP, Thread #0, Volume protection: Access requested: 00000001, Status: 00000001
, PrvUsd: 00000000
%XQP, Thread #0, File protection (15,1,0): Access requested: 00000004, Status: 0
0000001, PrvUsd: 00000000
%XQP, Thread #0, Read only directory access (15,1,0)
%XQP, Thread #0, Directory scan for: SYS$I18N.;0, Status: 00000000
%XQP, Thread #0, Directory scan for: SYS$I18N.DIR;1, Status: 00000001
%XQP, Thread #0, File protection (4597,1,0): Access requested: 00000004, Status:
 00000001, PrvUsd: 00000000
%XQP, Thread #0, Read attributes: Record attributes SYS$I18N.DIR;1 (4597,1,0)
%XQP, Thread #0, Read attributes: User file characteristics SYS$I18N.DIR;1 (4597
,1,0)
%XQP, Thread #0, Read attributes: Symlink meta-data SYS$I18N.DIR;1 (4597,1,0)
%XQP, Thread #0, Lookup SYS$I18N.DIR;1 (4597,1,0) Status: 00000001
%XQP, Thread #0, FIB contents:
     00010000 000111F5 11F50000 00000001 00000000 00001003 00000000 00000000
     00000000 00000000 00000000 00007FFF 00000000 00000001 00001000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
%XQP, Thread #0, FIB contents:
     00010000 000111F5 11F50000 00000001 00000000 00001003 00000000 00000000
     00000000 00000000 00000000 00007FFF 00000000 00000001 00001000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
%XQP, Thread #0, Volume protection: Access requested: 00000001, Status: 00000001
, PrvUsd: 00000000
%XQP, Thread #0, File protection (4597,1,0): Access requested: 00000004, Status:
 00000001, PrvUsd: 00000000
%XQP, Thread #0, Read only directory access (4597,1,0)
%XQP, Thread #0, Directory scan for: MESSAGES.;0, Status: 00000000
%XQP, Thread #0, Directory scan for: MESSAGES.DIR;1, Status: 00000001
%XQP, Thread #0, File protection (65374,1,0): Access requested: 00000004, Status
: 00000001, PrvUsd: 00000000
%XQP, Thread #0, Read attributes: Record attributes MESSAGES.DIR;1 (65374,1,0)
%XQP, Thread #0, Read attributes: User file characteristics MESSAGES.DIR;1 (6537
4,1,0)
%XQP, Thread #0, Read attributes: Symlink meta-data MESSAGES.DIR;1 (65374,1,0)
%XQP, Thread #0, Lookup MESSAGES.DIR;1 (65374,1,0) Status: 00000001
%XQP, Thread #0, FIB contents:
     00010000 0001FF5E FF5E0000 00000001 00000000 00001003 00000000 00000000
     00000000 00000000 00000000 00007FFF 00000000 00000001 00001000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
%XQP, Thread #0, FIB contents:
     00010000 0001FF5E FF5E0000 00000001 00000000 00001003 00000000 00000000
     00000000 00000000 00000000 00007FFF 00000000 00000001 00001000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
%XQP, Thread #0, Volume protection: Access requested: 00000001, Status: 00000001
, PrvUsd: 00000000
%XQP, Thread #0, File protection (65374,1,0): Access requested: 00000004, Status
: 00000001, PrvUsd: 00000000
%XQP, Thread #0, Read only directory access (65374,1,0)
%XQP, Thread #0, Directory scan for: USER.;0, Status: 00000000
%XQP, Thread #0, Directory scan for: USER.DIR;1, Status: 00000001
%XQP, Thread #0, File protection (65537,1,0): Access requested: 00000004, Status
: 00000001, PrvUsd: 00000000
%XQP, Thread #0, Read attributes: Record attributes USER.DIR;1 (65537,1,0)
%XQP, Thread #0, Read attributes: User file characteristics USER.DIR;1 (65537,1,
0)
%XQP, Thread #0, Read attributes: Symlink meta-data USER.DIR;1 (65537,1,0)
%XQP, Thread #0, Lookup USER.DIR;1 (65537,1,0) Status: 00000001
%XQP, Thread #0, FIB contents:
     00010000 00010001 00010100 01000001 00000000 00001003 00000000 00000000
     00000000 00000000 00000000 00007FFF 00000000 00000001 00001000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
%XQP, Thread #0, FIB contents:
     00010000 00010001 00010100 01000001 00000000 00001003 00000000 00000000
     00000000 00000000 00000000 00007FFF 00000000 00000001 00001000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
%XQP, Thread #0, Volume protection: Access requested: 00000001, Status: 00000001
, PrvUsd: 00000000
%XQP, Thread #0, File protection (65537,1,0): Access requested: 00000004, Status
: 00000001, PrvUsd: 00000000
%XQP, Thread #0, Read only directory access (65537,1,0)
%XQP, Thread #0, Directory scan for: C.;0, Status: 00000000
%XQP, Thread #0, Directory scan for: C.DIR;1, Status: 00000000
%XQP, Thread #0, Lookup  (65537,1,0) Status: 00000910
%XQP, Thread #0, FIB contents:
     00010000 00000000 19DA0000 00000001 00000000 00001003 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00001000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
%XQP, Thread #0, FIB contents:
     00010000 00000000 19DA0000 00000001 00000000 00001003 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000001 00001000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
%XQP, Thread #0, Volume protection: Access requested: 00000001, Status: 00000001
, PrvUsd: 00000000
%XQP, Thread #0, File protection (6618,1,0): Access requested: 00000004, Status:
 00000001, PrvUsd: 00000000
%XQP, Thread #0, Read only directory access (6618,1,0)
%XQP, Thread #0, Directory scan for: MESSAGES.;0, Status: 00000000
%XQP, Thread #0, Directory scan for: MESSAGES.DIR;1, Status: 00000000
%XQP, Thread #0, Lookup  (0,0,0) Status: 00000910
%XQP, Thread #0, FIB contents:
     00010000 00000000 FF5E0000 00000001 00000000 00001003 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00001000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
%XQP, Thread #0, FIB contents:
     00010000 00000000 FF5E0000 00000001 00000000 00001003 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000001 00001000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
%XQP, Thread #0, Volume protection: Access requested: 00000001, Status: 00000001
, PrvUsd: 00000000
%XQP, Thread #0, File protection (65374,1,0): Access requested: 00000004, Status
: 00000001, PrvUsd: 00000000
%XQP, Thread #0, Read only directory access (65374,1,0)
%XQP, Thread #0, Directory scan for: SYSTEM.;0, Status: 00000000
%XQP, Thread #0, Directory scan for: SYSTEM.DIR;1, Status: 00000001
%XQP, Thread #0, File protection (65376,1,0): Access requested: 00000004, Status
: 00000001, PrvUsd: 00000000
%XQP, Thread #0, Read attributes: Record attributes SYSTEM.DIR;1 (65376,1,0)
%XQP, Thread #0, Read attributes: User file characteristics SYSTEM.DIR;1 (65376,
1,0)
%XQP, Thread #0, Read attributes: Symlink meta-data SYSTEM.DIR;1 (65376,1,0)
%XQP, Thread #0, Lookup SYSTEM.DIR;1 (65376,1,0) Status: 00000001
%XQP, Thread #0, FIB contents:
     00010000 0001FF60 FF600000 00000001 00000000 00001003 00000000 00000000
     00000000 00000000 00000000 00007FFF 00000000 00000001 00001000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
%XQP, Thread #0, FIB contents:
     00010000 0001FF60 FF600000 00000001 00000000 00001003 00000000 00000000
     00000000 00000000 00000000 00007FFF 00000000 00000001 00001000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
%XQP, Thread #0, Volume protection: Access requested: 00000001, Status: 00000001
, PrvUsd: 00000000
%XQP, Thread #0, File protection (65376,1,0): Access requested: 00000004, Status
: 00000001, PrvUsd: 00000000
%XQP, Thread #0, Read only directory access (65376,1,0)
%XQP, Thread #0, Directory scan for: C.;0, Status: 00000000
%XQP, Thread #0, Directory scan for: C.DIR;1, Status: 00000000
error: cannot run vim: no such file or directory00910
error: unable to start editor 'vim'
Please supply the message using either -m or -F option.
%XQP, Thread #0, FIB contents:
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
%XQP, Thread #0, FIB contents:
     00000000 00199B2A 00000000 00000000 00000000 00000000 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000001 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
%XQP, Thread #0, Deaccess (39722,25,0) Reads: 1, Writes: 0, Status: 00000001
%XQP, Thread #0, FIB contents:
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
%XQP, Thread #0, FIB contents:
     00000000 003D741E 00000000 00000000 00000000 00000000 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000001 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
%XQP, Thread #0, Deaccess (29726,61,0) Reads: 220, Writes: 0, Status: 00000001
%XQP, Thread #0, FIB contents:
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
%XQP, Thread #0, FIB contents:
     00000000 00023806 00000000 00000000 00000000 00000000 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000001 00000000 00000000
     00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
%XQP, Thread #0, Deaccess (14342,2,0) Reads: 41, Writes: 0, Status: 00000001
DEC technology veteran since 1990


craigberry
Active Contributor
Posts: 42
Joined: Fri Nov 17, 2023 11:27 am
Reputation: 1
Status: Offline

Re: VSI Git and Vim

Post by craigberry » Mon Nov 25, 2024 8:43 am

issinoho wrote:
Mon Nov 25, 2024 7:30 am

Code: Select all

   
Record format:      Stream_LF, maximum 0 bytes, longest 0 bytes
Record attributes:  Carriage return carriage control

An image file that is not fixed-length 512-byte records doesn't smell right to me.


hb
Master
Posts: 152
Joined: Mon May 01, 2023 12:11 pm
Reputation: 0
Status: Offline

Re: VSI Git and Vim

Post by hb » Mon Nov 25, 2024 9:20 am

craigberry wrote:
Mon Nov 25, 2024 8:43 am
issinoho wrote:
Mon Nov 25, 2024 7:30 am

Code: Select all

   
Record format:      Stream_LF, maximum 0 bytes, longest 0 bytes
Record attributes:  Carriage return carriage control

An image file that is not fixed-length 512-byte records doesn't smell right to me.
It depends. If "only" the record format is different, then it is OK for image activation. But if the image was "converted", then it is not. However, in the latter case the error message is different, at least in my attempt to reproduce this:

Code: Select all

$ dir/full git$root:[git_core]vim.exe;

Directory GIT$ROOT:[GIT_CORE]

vim.exe;2                     File ID:  (7873,27,0)           
Size:           20/32         Owner:    [SYSTEM]
Created:    25-NOV-2024 14:49:27.00
Modified:   25-NOV-2024 14:49:27.01 (1)
Expires:    <None specified>
Backup:     <No backup recorded>
Effective:  <None specified>
Recording:  <None specified>
Accessed:   25-NOV-2024 14:49:27.00
Attr Mod:   25-NOV-2024 14:49:27.01
Data Mod:   25-NOV-2024 14:49:27.00
Linkcount:  1
File organization:  Sequential
Shelved state:      Online 
Caching attribute:  Writethrough
File attributes:    Allocation: 32, Extend: 0, Global buffer count: 0, No version limit
Record format:      Stream_LF, maximum 0 bytes, longest 512 bytes
Record attributes:  Carriage return carriage control
RMS attributes:     None
Journaling enabled: None
File protection:    System:RWED, Owner:RWED, Group:RE, World:RE
Access Cntrl List:  None
Client attributes:  None

Total of 1 file, 20/32 blocks.
$ git commit --allow-empty
hint: Waiting for your editor to close the file... 
%DCL-W-ACTIMAGE, error activating image GIT$ROOT:[GIT_CORE]vim.exe
-CLI-E-IMGNAME, image file HBX$DKB400:[SYS0.SYSCOMMON.GIT.][GIT_CORE]vim.exe;2
-LOADER-E-BAD_DYNTBL, image format error - illformed dynamic table^Merror: There was a problem with the editor 'vim'.
Please supply the message using either -m or -F option.
$ 
And yes, I took a log to ensure I see what the CRTL overwrites.

But then, it does not explain why the same image works if the OP puts it into GIT$ROOT:[GIT_CORE]. Or, is it not the "same" image?

Code: Select all

%XQP, Thread #0, Directory scan for: C.DIR;1, Status: 00000000
error: cannot run vim: no such file or directory00910
error: unable to start editor 'vim'
Nothing new. But I assume the last lines are

Code: Select all

%XQP, Thread #0, Directory scan for: C.DIR;1, Status: 00000000
%XQP, Thread #0, Lookup  (65537,1,0) Status: 00000910
error: cannot run vim: no such file or directory
What I do not see in my attempts to reproduce this, is the lookup of files/directories in SYS$I18N. I have no idea what triggers this and whether it is related. If vim.exe is in GIT$ROOT:[GIT_CORE] these directories/files would need to be looked up as well. But that's only my poor understanding of the I18N feature.

User avatar

Topic author
issinoho
Valued Contributor
Posts: 67
Joined: Wed Apr 05, 2023 9:22 am
Reputation: 0
Location: Glasgow, Scotland
Status: Offline
Contact:

Re: VSI Git and Vim

Post by issinoho » Mon Nov 25, 2024 9:26 am

Or, is it not the "same" image?
Yes, it's a straight copy of that same file.
DEC technology veteran since 1990

Post Reply