TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

Up Arrow/Down Arrow and cntrl-s, cntrl-p, cntrl-n

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
haloway13



Joined: 01 Aug 2006
Posts: 35

PostPosted: Sat Apr 28, 2007 12:45 am    Post subject: Up Arrow/Down Arrow and cntrl-s, cntrl-p, cntrl-n Reply with quote

I am unfamiliar with this usage for the previous,next and cntrl-s?

What is cntrl-s doing?

How can i get my keyboard to emulate the up-arrow/down arrow again?

Went from 1.96.3 to 1.97.0

Thanks for the help!
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Sat Apr 28, 2007 1:46 pm    Post subject: Reply with quote

ctrl-s stops all keyboard input which can be undone by ctrl-q.

To get the arrow keys working again type the following in tintin:

#macro {press ctrl-v, press up-arrow} {#cursor history prev}
#macro {press ctrl-v, press down-arrow} {#cursor history next}

If you give me the keycodes the up and down arrow keys generate I'll look into binding those by default.
Back to top
View user's profile Send private message Send e-mail
haloway13



Joined: 01 Aug 2006
Posts: 35

PostPosted: Sat Apr 28, 2007 3:38 pm    Post subject: Reply with quote

From what I can tell:

up,down, left, right arrows give:

\e[A\e[B\e[D\e[C

#MACRO {\e[A} {#cursor HISTORY PREV;#cursor end}
#MACRO {\e[B} {#cursor HISTORY NEXT;#cursor end}
#MACRO {\e[D} {#cursor backward}
#MACRO {\e[C} {#cursor forward}

Did not work for me although using the arrow keys with the above macros doesn't put garbage at the cursor any more so its partially working?


Seem to also be having problems with the dashed line being overwritten with long lines from the mud and 2 lines occasionally overlapping each other. Using Cygwin on a Windoze box... Would this happen to be a problem with Cygwin?

Thanks!

btw I am impressed and grateful for all the latest changes!
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Sun Apr 29, 2007 3:53 am    Post subject: Reply with quote

My mistake, try the following:

#MACRO {\e[A} {#cursor {HISTORY PREV}}
#MACRO {\e[B} {#cursor {HISTORY NEXT}}
#MACRO {\e[D} {#cursor backward}
#MACRO {\e[C} {#cursor forward}

You would want to use puttycyg as your terminal emulator though.

http://web.gccaz.edu/~medgar/puttycyg
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> General Discussion All times are GMT - 5 Hours
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
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group