JED is a freely available text editor for Unix, VMS, MSDOS, OS/2, BeOS, QNX, and win9X/NT platforms (http://www.jedsoft.org/jed). It features a "A variety of programming modes (with syntax highlighting) are available including C, C++, FORTRAN, TeX, HTML, SH, python, IDL, DCL, NROFF..."
Here are some new/updated modes for VMS: DCL, linker options and modparams files.
Unzip the modes, move them to your JED lib directory, adjust bytecomp.sl and site.sl, compile the new modes and use them.
bytecomp.sl: insert vmslinker.sl vmsparams.sl after dcl.sl
--- bytecomp.sl~ 2015-03-18 17:51:02.318886239 +0100 +++ bytecomp.sl 2015-03-18 17:52:04.318546020 +0100 @@ -112,6 +112,8 @@ "man.sl"; "fortran.sl"; "dcl.sl"; +"vmslinker.sl"; +"vmsparams.sl"; "shell.sl"; "most.sl"; "info.sl";
Modes can be associated with file types. The DCL mode is loaded and applied for VMS command procedures, that are .COM files. The association to file types are made in site.sl. The new linker mode is associated with .OPT files. For VMS parameter files the file type is .DAT. As this is a generic file type no association is made for the VMS parameter mode.
site.sl: add the new modes to the autoload list and add a filte type for
--- site.sl~ 2015-03-18 17:57:48.233325472 +0100 +++ site.sl 2015-03-18 18:07:03.260279792 +0100 @@ -749,6 +749,8 @@ "mail_format_buffer", "mail", "dcl_mode", "dcl", "vms_help", "vmshelp", + "vms_linker_mode", "vmslinker", + "vms_params_mode", "vmsparams", #endif #ifdef UNIX OS2 @@ -1807,8 +1809,8 @@ #endif #ifdef VMS UNIX -Mode_List_Exts += ",com,htm,shtml,sgml"; % resource file -Mode_List_Modes += ",dcl,html,html,docbook"; +Mode_List_Exts += ",opt,com,htm,shtml,sgml"; % resource file +Mode_List_Modes += ",vms_linker,dcl,html,html,docbook"; #endif #ifdef UNIX
To use the VMS parameter mode, use M-x and enter vms_params_mode.
Screen shots ...
DCL mode: VMS linker mode: VMS params mode:
In case you want more modes, I do have some Bliss and Macro32 modes, send an email to: jed dash info at vms2linux dot de.