Code Monkey home page Code Monkey logo

phudbase's People

Watchers

 avatar

phudbase's Issues

Telnet Connections Simply Don't Work

What steps will reproduce the problem?
1. Open Telnet
2. Type Text
3. Only first character of input is read

What is the expected output? What do you see instead?

You expect to be able to input text until a carriage return from the 
keyboard

What version of the product are you using? On what operating system?

1.21 on Telnet from Windows XP

Please provide any additional information below.

I know why it's happening -- You are using recv() and with telnet, the data 
is transmitted by keystroke which means recv() is receiving the single 
character and processing it immediately not waiting for a complete input 
string, since it's receiving the input character-by-character. This error 
does not appear in WebSockets because a browser sends the entire message 
all at once. To fix it you need to cache your input buffer for telnet 
connections until a carriage return is received and then process the input.

Alternatively you could come help me work on Kusht! (^^,)

Original issue reported on code.google.com by [email protected] on 1 Apr 2010 at 1:34

ANSI codes not being parsed the way it should

What steps will reproduce the problem?
1. Any MOO using ANSI

ANSI codes are not parsed as you would expect them to be.

   Example:  [red]Red will become [blue]blue, will become[normal]black.
-> Output:   [red]Red will become [blue]blue, will become[normal][red]black.  
<- Last part shouldn't be red! It stays red (over several lines of text) until 
a new color code is found.
-> Expected: [red]Red will become [normal][blue]blue, will become[normal]black

I have attached a working ansi-parser writen in PHP what I have once used for a 
webclient. I hope you can put it to good use within this wonderful project!

Regards,

Tim van Dijen

Original issue reported on code.google.com by [email protected] on 27 Aug 2012 at 4:23

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.