Jump to content


Photo

Counters and Session shortcuts?

shortcut option el.ini

11 replies to this topic

#1 Mazur

Mazur

    Rabbit

  • Members
  • 20 posts
  • Gender:Male
  • Location:Leiden, the Netherlands

Posted 02 May 2014 - 04:02 PM

Are there any shortcuts to the counters and session tabs of the Statistics/Knowledge/Counters/Session window, like CTRL-A for the first window and CTRL-K for the second?  And if so, can they be defined in el.ini and saved there?

 

With kind regards,

Mazur.



#2 revi

revi

    Skeleton

  • Moderators
  • 1018 posts
  • Gender:Not Telling

Posted 02 May 2014 - 04:59 PM

Have a look at key.ini...

 

That said, I don't think there are short-cuts defined for those tabs



#3 Mazur

Mazur

    Rabbit

  • Members
  • 20 posts
  • Gender:Male
  • Location:Leiden, the Netherlands

Posted 02 May 2014 - 07:25 PM

Pardonnez moi, I meant to say key.ini, and I had researched the #K_ strings in the client, added definitions for the tabs, but they neither work nor get saved again.


Edited by Mazur, 02 May 2014 - 07:26 PM.


#4 bluap

bluap

    Feran

  • Moderators
  • 2218 posts
  • Gender:Male
  • Location:UK

Posted 02 May 2014 - 09:29 PM

K_COUNTERS is new to the client (its in the source since 30th Dec but not the current release version) and not allocated to a key by default.  You can use it with the #keypress command or assigned a key to it in your key.ini file.  Are you using recent development build of the client or the 1.9.3 release version for a year or so ago?


Edited by bluap, 19 May 2014 - 09:46 AM.
the key file is key.ini (no s)


#5 Mazur

Mazur

    Rabbit

  • Members
  • 20 posts
  • Gender:Male
  • Location:Leiden, the Netherlands

Posted 16 May 2014 - 06:31 PM

I'm using the april 11 testing binary version.  I have included:

#K_COUNTERS = LCTRL l
#K_COUNTERS = RCTRL l
 
in my key.ini, yet neither ctrl+l does anything.  They do however remain in the key.ini between sessions.


#6 bluap

bluap

    Feran

  • Moderators
  • 2218 posts
  • Gender:Male
  • Location:UK

Posted 19 May 2014 - 10:42 AM

Where are you writing your key.ini file? It should be in the data directory, your configuration root directory ($HOME/.elc/ on Linux) or your updates directory (currently $HOME/.elc/updates/1_9_3/ on Linux).  Each named key can have only one key value assigned. Despite its use in the shipped key.ini file, the client does not distinguish between the left and right version on the keyboard, for named keys.  If key values clash, which is used depends on the order they are compared by the client.  This is pretty arbitary and no checks are made for clashing key usage.  Hmmmm, lots to improve there......



#7 Mazur

Mazur

    Rabbit

  • Members
  • 20 posts
  • Gender:Male
  • Location:Leiden, the Netherlands

Posted 22 May 2014 - 04:38 PM

I had them in the per person data directory: $HOME/.elc/[character]

now I tried with 

 
#K_COUNTERS = LCTRL y
#K_COUNTERS = RCTRL y
 
and put the file in $HOME/.elc
since CTRL-l is already bound to "look pointer".
 
Yes, it's tricky to find which keys are free and which not.  Were it my job, I'd go for storing _all_ key bindings in key.ini, seperated in comment headed sections, but it's not mine to decide, luckily enough.


#8 MrOne

MrOne

    Imp

  • Members
  • 378 posts
  • Gender:Male
  • Location:Belgium

Posted 22 May 2014 - 06:54 PM

sry. post in wrong topic...


Edited by MrOne, 22 May 2014 - 06:55 PM.


#9 Mazur

Mazur

    Rabbit

  • Members
  • 20 posts
  • Gender:Male
  • Location:Leiden, the Netherlands

Posted 25 May 2014 - 06:12 PM

Update: since putting key.ini in $HOME/.elc instead of $HOME/.elc/[playername] CTRL-K pops up K_COUNTERS instead of K_KNOWLEDGE, even though that is not the definition in the file.



#10 Mazur

Mazur

    Rabbit

  • Members
  • 20 posts
  • Gender:Male
  • Location:Leiden, the Netherlands

Posted 01 June 2014 - 12:18 PM

Final update: Today I discovered there was a second K_COUNTERS entry in my key.ini in the .elc directory, after deleting the double entry and only leavinf knowledge to CTRL-K and COUNTERS to CTRL-y, al was as one would expect.

 

So the stuff works as (not very loudly) advertised.



#11 bluap

bluap

    Feran

  • Moderators
  • 2218 posts
  • Gender:Male
  • Location:UK

Posted 01 June 2014 - 12:39 PM

Good news :D



#12 Mazur

Mazur

    Rabbit

  • Members
  • 20 posts
  • Gender:Male
  • Location:Leiden, the Netherlands

Posted 02 June 2014 - 04:39 PM

Even better still, I assigned K_SESSION  to CTRL-l, and that works, too.





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users