On Sunday, September 24, 2023 at 6:20:17 AM UTC-4, Udo Munk wrote:
Chip Ling schrieb am Samstag, 23. September 2023 um 18:05:15 UTC+2:
Questions:
1. When connect from my windows host to Coherent VM via telnet, the system prompt echo twice. But the content does not. Is there a way to stop it.
By default putty sends CR and NL for the CR key. The tty driver converts CR to NL and then you have 2 NL for one keypress. Somewhere in the terminal settings you need to change behaviour for CR, so that it sends a single CR or LF.
I play around Putty's configuration, here is the best result I got.
Putty ==> Line discipline options: ==> Local echo = Force off; Local line editing = Force off
Now I have one prompt, type in command is OK, no extra line after the command.
Just notice that I cannot use the backspace key, instead I need to use the old Ctrl+H to erase the previous char. Just remind me of those old teletype terminal.
2. vi is not working properly inside telnet session. vi did work very well in the VirtualBox console so I think I might have miss some telnet settings.
Not working properly is not a good explanation for a problem, so I can only guess a few things. The size of the
putty terminal is essendial, must be 80x24 or termcap/terminfo programs get confused. The xterm terminal
emulation in putty version you are using is not working properly, our you selected the wrong terminal emulation
in the settings. Instead of xterm you could try vt100 (/etc/ttytype), with the putty versions I tested xterm worked
best, but is a few years ago and I don't test all the new putty versions all the time.
For vi, I still do not have much luck. With your recommendation, I force the Putty config to display 80x24 char output.
Then I start vi
$ vi hello.c
vi comes up nicely.
Then I type i to enter insert mode (is still fine at this point)
I can enter the first line with no problem.
#include <stdio.h> /* first line */
However, when I type in the second line "int main() {"
there is no echo back (i.e. the line is blank and I cannot see what I type)
Up until I hit enter, the second line will become a blank line and what I type in appear at the third line.
And the cursor stays at column 2.
I need to use the right arrow key to go to the end of that line and hit enter. then I can go to the next line.
From now on, any text I type will not echo back and it has the same result as above. (i.e. a blank line follow by the text I type in at the next line)
Any idea what is going on.
3. Does Udo's Coherent has the ftpd software installed so that I can start up the ftp server. I want to transfer file between my host and the VM.
No, my VM's are based on original MWC distributions without any networking. For file transfers into the machine
I use serial protocols like kermit, xmodem and uucp.
If I want to use kermit, where can I find it in your VM's version? I tried the command "which kermit" and I cannot find it.
One more question, on the other thread, you mention that your VM version does have the gcc. Where is it? I cannot find gcc nor g++ using the which command.
Rgds,
Chip
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)