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

What about Home and End keys?

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



Joined: 13 Jan 2005
Posts: 5
Location: Astrakhan, Russia

PostPosted: Sun Dec 25, 2005 1:12 pm    Post subject: What about Home and End keys? Reply with quote

When i press "Home" key -- it's back me to begin of buffer and "End" key -- go to end of buffer. But i want: when i press "Home key -- go to begin of input line and "End" key -- go to end of input line.
It's possible?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Mon Dec 26, 2005 8:30 am    Post subject: Reply with quote

You could use ctrl-a and ctrl-e instead.


To do what you want you'll have to change the .inputrc file, and set the home and end key to said behavior. More info:

http://docs.freebsd.org/info/readline/readline.info.Readline_Init_File_Syntax.html

If you update this file you can press ctrl-x ctrl-r after starting tintin++ to reread inputrc which will overwrite the home/end definitions set by tintin.
Back to top
View user's profile Send private message Send e-mail
davevnj



Joined: 22 Nov 2006
Posts: 55

PostPosted: Wed Nov 22, 2006 4:17 pm    Post subject: Reply with quote

What if I just want to change this behavior inside of tintin++? Could you use a macro to do this?
Back to top
View user's profile Send private message Visit poster's website
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Thu Nov 23, 2006 9:22 am    Post subject: Reply with quote

When I add custom input support it'll likely involve a command to do these things.

Till then it might be possible to use screen instead, not too sure.
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