On Sun, Sep 27, 2026 at 06:50:22AM -0700, Jeffrey Chimene wrote: >I'm guessing most I/O is done via gob-standard C I/O. That will > do most of the grunt work, as DEC C can (finally) handle stream I/O > reasonably well. I doubt that advanced technology like file locking is > properly (i.e. VMS-aware) handled in gForth source, but it'll be a start. > IOW, there are lots of fiddly knobs that VMS file I/O needs, but they're > "probably" not necessary to get a usable executable image.
Gforth does not lock files, and does not provide features (other than the C interface) that allows Gforth programs to lock files. > I haven't looked at console I/O. I'm guessing gForth just reads STDIN and > writes STDOUT; which should work mostly unchanged under DEC C KEY and KEY? (actually KEY-FILE and KEY?-FILE) may be problems; they certainly were challenging in Unix: The terminal has to be switched to raw rather than cooked input without echoing, and for KEY?-FILE has to be non-blocking. Given that the terminals used by Unix and VMS were the same ones (and the terminal emulators of these days emulate these terminals), the problems probably also are the same ones. But the way that the OS supports switching the terminal to raw mode etc. is probably quite different. - anton
