Open TheFausap opened 1 year ago
Echoing is done by sdTerminalEcho(), which is a NOOP in stdio.c. So that should not be causing the echo.
Try entering: ECHO @ . 0 ECHO !
That controls another type of echoing at the level of the outer interpreter.
When you are first typing a line, do you see each character appear as you type?
OpenVMS is interesting. I once wrote a Forth in VAX Assembly code. The VAX was a nice machine.
Look for "echo" in this file: https://vmssoftware.com/docs/VSI_C_RTL_REF_MAN.pdf
Yes, I see the characters as I type them. This is the output from the commands above:
$ run pbfth
PForth V2.0.1, LE/64, built Feb 23 2023 10:40:00 (static)
ECHO @ .
ECHO @ . 0 ok
Stack<10>
0 ECHO !
0 ECHO ! ok
Stack<10>
I will check in the refman for the echo.
thanks!
Hello, I was able to compile pforth under OpenVMS 9.2 (x86_64), but I have only a slight issue with the terminal. I can't use the POSIX io file, because I do not have termios, so I opted for the stdio. What's happening is a sort of problem with the screen buffer, if I understood correctly:
my input is repeated before the ok. I don't exactly where is, in the code, the relevant part, so if I you could point me in the right direction, this will be appreciated.
thanks a lot, Fausto