Find the answer to your Linux question:
Results 1 to 6 of 6
Issue with telnet backspace/delete I have telnet server code which listens at 23 port. 1) Connect to the telnet server using windows telnet client 2) Enter multi line command(which wrap's ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    10

    Telnet program backspace issue

    Issue with telnet backspace/delete

    I have telnet server code which listens at 23 port.

    1) Connect to the telnet server using windows telnet client
    2) Enter multi line command(which wrap's into more than 1 line).
    3) keep on deleting characters by pressing "Backspace" button.
    4) Unable to move to previous line.

    I the code I noticed that we are issuing /b when backspace (ASCII 0 is pressed.


    Is there any way to position the cursor at previous line end..?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    It really depends upon the term settings you are using, and the client whether or not the cursor will wrap backwards. I did this years ago (about 20) when I wrote a clean-room implementation of telnet (client and server). This problem was solved by building a good terminal emulator to run on top of the telnet client code. Most of the time these days, you run telnet clients in a console window, such as an xterm or whatever. So, the question is, what is the client system? Linux? What command-line window type are you using?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Jan 2011
    Posts
    10
    I'm using Windows Telnet to connect my application.

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Quote Originally Posted by dassudheer View Post
    I'm using Windows Telnet to connect my application.
    Yes, well that isn't a particularly capable terminal emulator, in my experience. You might try a 3rd party tool, such as putty, or install Cygwin and use its telnet client.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Just Joined!
    Join Date
    Jan 2011
    Posts
    10
    from the same windows telnet I connected to UBUNTU Telnet Server(normal system). It's able to move to previous line when i hit backspace.

  6. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Quote Originally Posted by dassudheer View Post
    from the same windows telnet I connected to UBUNTU Telnet Server(normal system). It's able to move to previous line when i hit backspace.
    Ok. On Ubuntu this works. What systems does it NOT work? FWIW, the last time I used Windows telnet was back in early NT days, so it may well have been improved since then (one would hope), given that I did the telnet implementation in the 1991-1992 time frame...
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...