Server Autocomplete

A.C. kynshny at hotmail.com
Thu Jun 24 09:57:31 EDT 2010


Hi everyone,

I'm currently working on a telnet server that takes in user input.
Everything is working great and netty is working out perfectly.  I'm
wondering if there's a way for netty to autocomplete commands. I've
seen this implemented on other remote telnet servers before, but I
haven't been able to figure out a way to do it yet.

For example, if a user types: [ch ]

when the space is typed, the server goes through the command list and
if it sees a match, it will change the [ch ] to [change ], for
example, sort of similar to filename completion when you're at the
command prompt and you press [tab].

I don't mind working it out myself if someone can give me a starting
point to look at.

Thank you in advance for your time,
k


More information about the netty-users mailing list