/* * ----------------------------------------------------------------- * Execution of this macro requires a license for uni-XEDIT Extended * for each concurrent user of the macro. * ----------------------------------------------------------------- * * * * SHL.XEDIT * * The SHL.XEDIT macro is used to simulate CMS subset mode. It * takes you to the Unix shell where you may enter numerous commands * before returning to the editor. * * Execute the macro by typing on the command line, * * shl * * To return to the edit session, type QUIT, END, EXIT or RETURN. * You will then be prompted to "Press ENTER to return to the editor." * */ trace o do forever say '(shell subset)==>' /* a prompt to remind you... */ say 'Type QUIT, END, EXIT or RETURN to return to the editor.' parse pull command if (upper(command)='END')|(upper(command)='EXIT')|, (upper(command)='QUIT')|(upper(command)='RETURN') then exit /* exit the macro */ else address unix command end