Congratulations!
BTW, I'm close behind ;-)
On Oct 1, 2025 at 9:13:00 AM CDT, "Hans Bezemer" <the.beez.speaks@gmail.com>
wrote:
Congratulations!
BTW, I'm close behind ;-)
Is anyone else having problems saving .scr files using the built-in SED editor?
Steps to reproduce:
1. USING HELLO -> Successfully creates HELLO.SCR
2. 0 SED -> Goes to SED editor
3. Type in some code and hit CTRL-U to save
4. Back to Forth interactive prompt with "ok"
5. 0 LIST -> Nothing you typed was saved. Everything is blank.
This seems to occur on every version of DX-FORTH I've tried, both CP/M and DOS
versions. Am I doing something wrong?
Eric N.
On 28/11/2025 3:09 pm, ECNeilson wrote:
On Oct 1, 2025 at 9:13:00 AM CDT, "Hans Bezemer" <the.beez.speaks@gmail.com>
wrote:
Congratulations!
BTW, I'm close behind ;-)
Is anyone else having problems saving .scr files using the built-in SED
editor?
Steps to reproduce:
1. USING HELLO -> Successfully creates HELLO.SCR
2. 0 SED -> Goes to SED editor
3. Type in some code and hit CTRL-U to save
4. Back to Forth interactive prompt with "ok"
5. 0 LIST -> Nothing you typed was saved. Everything is blank.
This seems to occur on every version of DX-FORTH I've tried, both CP/M and DOS
versions. Am I doing something wrong?
Eric N.
CTRL-U only exits the editor (you don't want to save any changes)
From SED.TXT:
Ctrl-K Update all changes made to the screen
So the procedure is CTRL-K CTRL-U to Save and Exit. Perhaps there should be a single command ... but it's never occurred to me in over 30 years and I use screens exclusively.
On Nov 27, 2025 at 11:55:55 PM CST, "dxf" <dxforth@gmail.com> wrote:
...
Is anyone else having problems saving .scr files using the built-in SED
editor?
Steps to reproduce:
1. USING HELLO -> Successfully creates HELLO.SCR
2. 0 SED -> Goes to SED editor
3. Type in some code and hit CTRL-U to save
4. Back to Forth interactive prompt with "ok"
5. 0 LIST -> Nothing you typed was saved. Everything is blank.
This seems to occur on every version of DX-FORTH I've tried, both CP/M and DOS
versions. Am I doing something wrong?
Eric N.
CTRL-U only exits the editor (you don't want to save any changes)
From SED.TXT:
Ctrl-K Update all changes made to the screen
So the procedure is CTRL-K CTRL-U to Save and Exit. Perhaps there should be >> a single command ... but it's never occurred to me in over 30 years and I use
screens exclusively.
Holy cow! Thank you! That did the trick. I'm old hat with CP/M and software development but brand new to FORTH, and DX-FORTH. I couldn't find any documentation on using CTRL-K prior to CTRL-U.
You've made my day, and perhaps someone else will find this thread useful one day.
On 29/11/2025 1:16 am, ECNeilson wrote:
On Nov 27, 2025 at 11:55:55 PM CST, "dxf" <dxforth@gmail.com> wrote:CP/M and DOS
...
Is anyone else having problems saving .scr files using the built-in SED >>>> editor?
Steps to reproduce:
1. USING HELLO -> Successfully creates HELLO.SCR
2. 0 SED -> Goes to SED editor
3. Type in some code and hit CTRL-U to save
4. Back to Forth interactive prompt with "ok"
5. 0 LIST -> Nothing you typed was saved. Everything is blank.
This seems to occur on every version of DX-FORTH I've tried, both
versions. Am I doing something wrong?
Eric N.
CTRL-U only exits the editor (you don't want to save any changes)
From SED.TXT:
Ctrl-K Update all changes made to the screen
So the procedure is CTRL-K CTRL-U to Save and Exit. Perhaps there should be
a single command ... but it's never occurred to me in over 30 years and I use
screens exclusively.
Holy cow! Thank you! That did the trick. I'm old hat with CP/M and software >> development but brand new to FORTH, and DX-FORTH. I couldn't find any
documentation on using CTRL-K prior to CTRL-U.
You've made my day, and perhaps someone else will find this thread useful one
day.
I've updated SED.TXT in the DX-Forth distribution to read:
Ctrl-K Update all changes made to the current screen. Note:
This must be done before moving to another screen or
exiting the editor else the changes will be lost.
Thanks for the report. Writing docs for raw beginners can be a challenge and >feedback like this helps.
In article <692a35e1$1@news.ausics.net>, dxf <dxforth@gmail.com> wrote:
...
I've updated SED.TXT in the DX-Forth distribution to read:
Ctrl-K Update all changes made to the current screen. Note:
This must be done before moving to another screen or
exiting the editor else the changes will be lost.
The tradition with screens was that you keep screens in cache,
because writing all the time was too expensive.
If you handle too much at once, the oldest screen was written to
disk. My MSDOS editor copies a screen to video memory, and
after finishing I do an UPDATE from the screen, marking it as to-be-written. (another screen is about to be copied to video memory)
With fast disk mass storage you can implement UPDATE as write
immediately. FLUSH then becomes the same as EMPTY-BUFFERS.
So I don't think ^K is sensible. It is too easy to forget.
Instead have e.g. ESCAPE-Q that abandons the edits and ESCAPE-X to
normal exit.
..
I had become so used to doing CTRL-K that I never noticed (S) doesn't actually save. I'll need to look into this further...
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,089 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 153:53:37 |
| Calls: | 13,921 |
| Calls today: | 2 |
| Files: | 187,021 |
| D/L today: |
3,760 files (944M bytes) |
| Messages: | 2,457,163 |