Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
MrTabby
Newbie


Joined: 14 Jan 2002
Posts: 4
Location: United Kingdom

PostPosted: Mon Jan 14, 2002 5:21 pm   

Disabling Tab completion/mapping Tab?
 
Is it possible to disable the use of the <Tab> key for completing tab commands, and instead bind it to another macro/alias etc?

I am attempting to write an slightly more intelligent completer, which takes into account what you have already typed, and then completes from a list of possibles.

For example:
typing "spe<TAB>fireb<TAB>monkey" would complete to "cast fireball on monkey", but only if there was a monkey in the room, etc.

Similar to the Bash Shell in some respects.
(I suspect it could be done mostly using tab completion as it is, and dynamically adding and removing possible commands, but I think this way would be nicer if its possible)

Cheers
--
MrTabby
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net