|
|
| version 1.22, 2025/05/05 14:53:17 | version 1.25, 2025/05/18 18:15:38 |
|---|---|
| Line 24 | 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.25 2025/05/18 18:15:38 snw | |
| * Add ZEDIT command for editing routines | |
| * | |
| * Revision 1.24 2025/05/14 12:22:04 snw | |
| * Further work on shared memory | |
| * | |
| * Revision 1.23 2025/05/06 16:10:06 snw | |
| * Add extra blank before readline call on NetBSD | |
| * | |
| * Revision 1.22 2025/05/05 14:53:17 snw | * Revision 1.22 2025/05/05 14:53:17 snw |
| * Modify rpm spec to include documentation TODO | * Modify rpm spec to include documentation TODO |
| * | * |
| Line 258 next_line: /* entry point for n | Line 267 next_line: /* entry point for n |
| if (debug_mode) { | if (debug_mode) { |
| debug_mode = debugger (DEBENTRY_LINE, entryref); | debug_mode = debugger (DEBENTRY_LINE, entryref); |
| } | } |
| job_set_status (pid, JSTAT_INTERPRETER); | job_set_status (pid, JSTAT_INTERPRETER); |
| if (then_ctr > 0) { | if (then_ctr > 0) { |
| Line 5286 halt: | Line 5295 halt: |
| break; | break; |
| /* Z-COMMANDS */ | /* Z-COMMANDS */ |
| case ZEDIT: | |
| merr_raise (cmd_zedit (&ra)); | |
| MRESCHECK(ra); | |
| break; | |
| case ZGO: | case ZGO: |
| /* ZGO with arguments: same as GOTO but with BREAK on */ | /* ZGO with arguments: same as GOTO but with BREAK on */ |
| Line 7287 direct_mode: | Line 7301 direct_mode: |
| set_io (UNIX); | set_io (UNIX); |
| job_set_status (pid, JSTAT_DIRECTMODE); | job_set_status (pid, JSTAT_DIRECTMODE); |
| #if defined(__NetBSD__) | |
| printf ("\r\n"); | |
| #endif | |
| /* readline() does its own malloc() */ | /* readline() does its own malloc() */ |
| fmrl_buf = readline (fmrl_prompt); | fmrl_buf = readline (fmrl_prompt); |
| Line 7298 direct_mode: | Line 7316 direct_mode: |
| goto halt; | goto halt; |
| } | } |
| if (strlen (fmrl_buf) > 0) { | if (strlen (fmrl_buf) > 0) { |
| add_history (fmrl_buf); | add_history (fmrl_buf); |