Configuring the Keymapping
From LaneWiki
Note: The keymapping code only works with the Tk registers in the current (0.20050314) version. See bug 14.
This data is stored in the SysString register-keymap. Use LanePOS/backOffice/tkOffice/sysStrings to edit the setting graphically or
LanePOS/backOffice/utilities/update-sysStrings register-keymap < tmpfile
and
LanePOS/backOffice/utilities/cat-sysStrings register-keymap > tmpfile
to edit it at the command line.
The following is the format of the data in that sysString:
keyname=function
For example,
F1=plu1 F2=plu2 F9=disc2 SunF36=yes SunF37=no F19=tender0 F12=ra F11=cust F15=errCorrect F16=cancel F13=suspend F14=resume KP_Decimal=zeroZero
The keyname is the symbolic keyname reported by X11 (use xev to view these).
[edit]
Function Names
- 0-9
- Enter that digit into the entry
- asterisk
- Set the quantity of items
- cancel
- Cancel a Sale
- clear
- Clear the entry area
- cust
- Open a Customer
- discN
- Apply discount N to this sale
- errCorrect
- Correct an Error by removing the previous item
- exempt
- Exempt this sale from all taxes
- no
- Answer a question negatively
- pluXXX
- Sell the product with an id of XXX
- priceCheck
- Check the price of a given item
- ra
- Receive the amount into the current customer Account
- resume
- Resume a suspended sale
- return
- Process the information in the entry area
- subt
- Subtotal/Amount Due
- suspend
- Suspend the sale
- tenderN
- Attempt to tender this sale with tender N
- void
- Remove one of the next item
- yes
- Answer a question affirmatively
- zeroZero
- Enter two 0’s into the entry

