Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Click here to Register


This is a discussion on "Telnet Options?" in the Top Mud Sites MUD Coding forum :

Hi everyone, I've been tinkering around with SocketMUD to study ways sockets work. The C++ version of the program is nothing more than a simple program that echoes messages back to the client. While I am unsure if it was caused by the program, I did encounter strange behaviors when using a simple terminal to test it. I am unsure if this is specific to the code in use or if it happens regularly with any terminal. When I'm connected to the server, I can type a message -- but when I attempt to use backspace the output gets ...



You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our MUD community today!

If you have any problems with the registration process or your account login, please contact us.

If you are a registered member of the old TMS forums, please click here
Reply
 
LinkBack Thread Tools
Old 02-04-2006, 11:33 PM   #1
Raewyn
New Member
 
Join Date: Feb 2005
Location: Chicago, Illinois
Posts: 8
Raewyn is on a distinguished road
Hi everyone,

I've been tinkering around with SocketMUD to study ways sockets work. The C++ version of the program is nothing more than a simple program that echoes messages back to the client.

While I am unsure if it was caused by the program, I did encounter strange behaviors when using a simple terminal to test it. I am unsure if this is specific to the code in use or if it happens regularly with any terminal. When I'm connected to the server, I can type a message -- but when I attempt to use backspace the output gets garbled.. example:

Hi there!
Hi there^R
Hi ther^R

That's what gets placed on the screen when I type "Hi there!" and hit the backspace key two times.

What causes this? Are there ways of preventing this from happening, and if so, what other things should I look out for if I want to create an intuitive interface?

Thanks,

Rae
Raewyn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-05-2006, 09:58 AM   #2
Smith
Member
 
Join Date: Dec 2005
Posts: 33
Smith is on a distinguished road
When coding a mud you need to handle the backspace character to delete previous input characters yourself, as if the telnet client which connects is in character mode rather then line mode, it is the servers responsibility to handle this correctly.
However, the situation you have sounds almost like you are using a client which is in line mode, but is automatically typing ctrl-R for you each time you press delete. In a unix-like console running in line mode ctrl-R refreshes the current line to the screen incase you have become confused because of other text received while you were typing. It can be paticually confusing while backspacing, so a console may 'help you out' by typing Ctrl-R each time you press delete.
Smith is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools


Telnet Options? - Similar Threads
Thread Thread Starter Forum Replies Last Post
Beyond Telnet Rathik Advanced MUD Concepts 52 09-01-2006 01:21 AM
Coding, Codebases, and Other Options Shane MUD Coding 42 06-03-2006 04:30 PM
Telnet Negotiations Khadgar MUD Coding 6 01-09-2006 09:02 AM
MUD Storage Options Vopisk MUD Coding 1 03-25-2005 07:43 AM
Interactive configuration options Yui Unifex Advanced MUD Concepts 8 05-31-2002 02:51 PM

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -4. The time now is 08:58 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Style based on a design by Essilor
Copyright Top Mud Sites.com 2007