[Info-vax] Installing and using GNV - some feedback and questions

Craig A. Berry craigberry at nospam.mac.com
Sun Oct 23 14:45:22 EDT 2016


On 10/23/16 1:02 AM, John E. Malmberg wrote:
> I have figured out how to run the VMS editors under GNV Bash for most
> common use.  I have not had time to produce a new kit with the DCL
> utility and also an "EDIT" utility that would be able to run a VMS editor.
>
> Editors need to be launched with the system() call, and the launcher
> needs to have something to convert the paths from Unix to VMS for them.

If you felt like making "edit" a built-in in bash, here's an example of
callable TPU that converts the incoming parameter to VMS format first:

<https://github.com/FreeTDS/freetds/blob/master/vms/edit.c>

It would probably have the same issues with SYS$INPUT that spawning
EDIT/TPU would have, but that sounds like it could be handled by adding
a call to LIB$SET_LOGICAL to make SYS$INPUT point to TT:.



More information about the Info-vax mailing list