Discussion Locked

Using a Text Editor in a Telnet Session

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm in need of a program that will allow me to edit text files in a telnet session. I'm telnetting from Unix Openserver to Windows 2000 workstations and edit.com is not working. Need this ASAP.

All working solutions will earn points.

4 replies

by joseph moore

Boy, you are right, the top menu of Edit doesn't work in a Windows telnet session. I never tried it before!

Well, my only suggestion is that you try and find a different command-line editor for Windows, put that on the Windows server, and then run it to edit text files. I was looking for VI for Windows, but all I can find are GUI versions, and that won't help you with telnet.

The only suggestion I have for that is MultiEdit. It was always the big and fancy command-line text editor out there.
http://www.multiedit.com/

This new v9 of it isa GUI, but older versions were command line based. So, you could contact them and see if you can get a command line version.

There might be freeware versions out there somewhere also....

by joseph moore

The only other option I can think of is to use ECHO to add text to a file.

ECHO Hello World > file.txt

Would make a file called "file.txt" with Hello World in it as text only. You can append multiple text lines with ECHO also, using a >> symbol.

And to read the text files, there is always TYPE. Just run TYPE and the file name, and it will display the file contents. You can use a | MORE to only display 1 screen of text at a time.

This will all work in a Windows telnet session. I know, this is still not the best solution, though. Good luck.

by pauly4190

Thanks for the input. I found a program called vim (VI - Improved) by Bram Moolenaar that worked. It's only advantage was that it was free. When I get time I would like to try MultiEdit though.

Thanks again Joseph.

This discussion is closed to new replies.