Results 1 to 3 of 3

Thread: Telnet Command

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Posts
    207

    Post

    As I am close to finishing my telnet server I only have one issue to wrap up, maybee someone here can help. The last part of my program needs, or I would very much like, it to clear the screen of the client. Does anyone know of a telnet command that I can send of the winsock connection that will tell the client to clear the screen. If there is not I guess it wouldn't be then end of the work it would be kind of nice if there was.

    Jeremy

  2. #2
    Lively Member
    Join Date
    Nov 1999
    Location
    Melbourne, Victoria, Australia
    Posts
    126

    Post

    Jeremy,

    Did you want to type in a command when connected to your telnet server via telnet that clears the clients telnet window?

    For example... in telnet I type in...

    "clear"

    without the " " and your telnet server clears the telnet screen. If thats what you are after, I dont know how to do that, all I can think of is when you send a specific keyword, such as 'clear' your server sends say 20 blank lines....

    sckOutbound.senddata vbcrlf & vbcrlf & vbcrlf & vbcrlf & vbcrlf & vbcrlf & vbcrlf & vbcrlf & vbcrlf & vbcrlf & vbcrlf & vbcrlf

    That won't give you the clear screen effect but will give you something somewhat similar...

    Cheers
    Regards,

    Paul Rivoli
    ---------------------
    [email protected]
    http://members.dingoblue.net.au/~privoli

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Posts
    207

    Post

    That is infact what I am looking for, that is when the user sends the command "clear" to the server I want the server to tell the client to clear the screen. I am having the server send like 20 blank lines to the client, which I guess will have to be ok, but I wish there was away just to clear the screen because it just looks kind of funny when text starts scrolling up on a blank page.

    Jeremy

Posting Permissions

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



Click Here to Expand Forum to Full Width