version 1.3, 2025/05/19 17:57:20
|
version 1.6, 2025/05/20 16:20:42
|
Line 1
|
Line 1
|
|
|
/* |
/* |
* |
|
* $Id$ |
* $Id$ |
* Implementation of the ZEDIT command |
* Implementation of the ZEDIT command |
* |
* |
Line 26
|
Line 24
|
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
* |
* |
* $Log$ |
* $Log$ |
|
* Revision 1.6 2025/05/20 16:20:42 snw |
|
* Update ROUTINE SSVN after ZEDIT and ZSAVE |
|
* |
|
* Revision 1.5 2025/05/20 14:36:06 snw |
|
* Documentation updates; raise ZCMMND instead of NOSTAND for restricted_mode restrictions |
|
* |
|
* Revision 1.4 2025/05/19 21:29:29 snw |
|
* Add basic tab completion to direct mode |
|
* |
* Revision 1.3 2025/05/19 17:57:20 snw |
* Revision 1.3 2025/05/19 17:57:20 snw |
* Extend ZEDIT to create the specified routine if it does not yet exist |
* Extend ZEDIT to create the specified routine if it does not yet exist |
* |
* |
Line 59 MRESULT cmd_zedit(MACTION *ra)
|
Line 66 MRESULT cmd_zedit(MACTION *ra)
|
|
|
if (restricted_mode) { |
if (restricted_mode) { |
/* we never shell out in restricted mode */ |
/* we never shell out in restricted mode */ |
retval = NOSTAND; |
retval = CMMND; |
goto done; |
goto done; |
} |
} |
|
|
Line 127 MRESULT cmd_zedit(MACTION *ra)
|
Line 134 MRESULT cmd_zedit(MACTION *ra)
|
|
|
system (editor_command); |
system (editor_command); |
|
|
|
ssvn_routine_update (); |
|
|
/* back into mumps */ |
/* back into mumps */ |
set_io (MUMPS); |
set_io (MUMPS); |
sig_attach (SIGUSR1, &oncld); |
sig_attach (SIGUSR1, &oncld); |