Have a Question?
Print

00027: Miscellaneous information on loading function and edit keys

Title:

Miscellaneous information on loading function and edit keys

Description:

On some terminals, such as a Wy-50 (Wyse 50), the left arrow key is non-reprogrammable because it is not a special key. BBx cannot tell the difference between the sequence sent by it or the sequence sent by the Backspace key (hex=08). 

If F1 does not work, then check stty quit=^\ and change it to something else. In general, change any ‘stty’ parameter set to ^\, ^], ^^, or ^_ to something else. 

If F3 does not work, then check termcap for :ho=^^:. Sometimes removing this terminal capability from termcap definitions fixes the problem. Seemed to work for a 4313 terminal on HP/UX. 

On ibm3151,ibm3161,and ibm3164 if the function keys have ^C at the end of the sequence, and the function keys are not responding in the software, change the turn around character at terminal setup mode. 

DELL boards interfere with function keys. You will need to disable via the DELL board INTELLIKEY program. 

Computone Boards require special configuration for function keys at the time of installation. You may need to re-install the board in order to configure the function keys properly for BBx. BBx would probably be happy with “default values” or even “no configuration” types of options. 

In termcap, the wy60 (Wyse 60) Shift+Tab key can be defined as: 

:Z0=\EI:ko=Z0: 

For a Wyse370; the termcap definition for the same key is: 

:Z0=\E[Z:ko=Z0: 

In BBx, the edit keys are already defined as key numbers 00 … 09. Then, with the (above) extra key defined in termcap, ‘el’ will be able to load it as key number 10 (chr(10)): 

>PRINT ‘EL’+”2″+CHR(10)+ $0193$ 
>A$=$9307$+STBL(“!EDIT”) 
>B$=STBL(“!EDIT”,A$) 

Now Shift+Tab will return CTL 07 in INPUTE. Control+b will still have the “back tabbing” capability in INPUTE. 

To load ALT+1 on a DOS machine with a null, type: 

>PRINT ‘EL’ +”2″+ $B100$ 

In order to load F11 and F12 on DOS 12 function key keyboards, place ekb in the modes section of the workstation’s alias. Example: 

alias T0 /dev/con doscon driver=/basis/pcvga.drv,mode=3,dma,ekb 

EKB stands for extended keyboard. The MS-DOS IBM-PC display driver has been enhanced to include support of extended keyboards (12 function keys). Use of this mode enables programming of all function and edit keys on the keyboard. The “FL” (function load) sequence is 0 to 11 for F1 to F12, 12 to 23 for shift F1 to shift F12, etc. The “EL” (edit load) sequence begins with the numeric pad 0 to 9 for numeric keys 0 to 9, 10 to 19 for control of numeric pad, etc. 

To determine the keyboard control character that the Tab key returns, type: 

>READ RECORD (0,SIZ=1)TAB$ 
>PRINT HTA(TAB$) 09 

$09$ is a ^I. 


To set the Tab key to return CTL 6 in INPUTE type: 

>A$=$0906$ 
>B$=STBL(“!EDIT”, A$+STBL(“!EDIT)) 

Otherwise, it will actually “tab forward” in INPUTE. 


To add “Line Join” to a Hot Key menu, patch !EDIT with $1643$. $16$ is the keyboard control character for ^V. 

>LET A$=$1643$ 
>LET B$=STBL(“!EDIT”,A$+STBL(“!EDIT”)) 
>call “_edit” 

Do “control Y” for the Hot Key Menu, select “5) Line Join”. 

To see what your !EDIT global string looks like: 

>A$=STBL(“!EDIT”) 
>PRINT HTA(A$) 



Last Modified: 12/29/1997 Product: PRO/5 Operating System: All platforms

BASIS structures five components of their technology into the BBx Generations.

Table of Contents
Scroll to Top