last said

Send your ideas and suggestions here.

Moderator: Board moderators

Aaron
Senior member
Posts: 496
Joined: Sun Jan 30, 2005 9:04 pm
Location: New Jersey
Contact:

Post by Aaron »

well leaf was talking about alt+up arrowing, so i was just figuring out if this is an outside textbox or inside textbox thing. so then just plain up would work, and we could ignore leafs comment... :-D
Rednaxela
Senior member
Posts: 434
Joined: Wed Jan 26, 2005 5:13 am

Post by Rednaxela »

Or another option could be implimented as a client side command or something like that, when players could keybind it however they wished.
well leaf was talking about alt+up arrowing, so i was just figuring out if this is an outside textbox or inside textbox thing. so then just plain up would work, and we could ignore leafs comment
Indeed
Aaron
Senior member
Posts: 496
Joined: Sun Jan 30, 2005 9:04 pm
Location: New Jersey
Contact:

Post by Aaron »

sounds better. but i think that it should be default binded to up arrow. but how would you make a keybinging for textbox only?
Arekusanderu
Regular
Posts: 57
Joined: Mon Jul 18, 2005 9:25 pm

Post by Arekusanderu »

Aaron wrote:sounds better. but i think that it should be default binded to up arrow. but how would you make a keybinging for textbox only?
New commands: 'bindt, allows you to cause a non-text-applicable key to bind to a command; say, 'bindt chat, then tap the pageup key. Then, whenever you tap pageup WHILE IN THE TEXTBOX, normal pageup bind remains, it will put chat in the textbox. Also, when the command 'last, is entered, it calls the most recent command to the box. If the command in the box is highlighted and 'last, is entered in its place, the next place back in history is retrieved. Thus, 'last, is the default bindt to uparrow and can be used recursively.
Aaron
Senior member
Posts: 496
Joined: Sun Jan 30, 2005 9:04 pm
Location: New Jersey
Contact:

Post by Aaron »

that sounds good. how hard will it be to implement? or maybe just chain ['] + [up] keys?
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

I already have up and down arrows bound to scrolling through the client's command history, have had for a while.

There is some magic words you need to add to your ~/.crossfire/keys file, I believe it is these lines that you want.

! nextkey Down 0
! prevkey Up 0

With this setup up and down arrow keys go through history, and numberpad is for moving around. (this setup probably isn't suitable for laptops).
Arekusanderu
Regular
Posts: 57
Joined: Mon Jul 18, 2005 9:25 pm

Post by Arekusanderu »

cavesomething wrote:I already have up and down arrows bound to scrolling through the client's command history, have had for a while.

There is some magic words you need to add to your ~/.crossfire/keys file, I believe it is these lines that you want.

! nextkey Down 0
! prevkey Up 0

With this setup up and down arrow keys go through history, and numberpad is for moving around. (this setup probably isn't suitable for laptops).
Will

! nextkey ] 0
! prevkey [ 0

work as well? That would be awesome, I hope it does.
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

I believe it should although I don't know whether that is the correct name for the key, so if it doesn't work you may need to look that up.
poof
Senior member
Posts: 333
Joined: Fri May 07, 2004 5:31 pm
Location: Alaska, USA

Post by poof »

cavesomething wrote:... There is some magic words you need to add to your ~/.crossfire/keys file, I believe it is these lines that you want.

! nextkey Down 0
! prevkey Up 0

With this setup up and down arrow keys go through history, and numberpad is for moving around. (this setup probably isn't suitable for laptops).
Hmmm, I don't have my [Page Up] and [Page Down] keys bound to anything. Wonder what to put after nextkey and prevkey to use those ...
e-mail: poof \a\t eracc \d\o\t com
Rednaxela
Senior member
Posts: 434
Joined: Wed Jan 26, 2005 5:13 am

Post by Rednaxela »

This reminds me, an interesting feature to add would be support for seperate keybindings for non-printing keys that are pressed while typing in the text box. (i.e. so one could bind prevkey and nextkey to the up and down arrow keys, but only while the textbox has focus)
Post Reply