TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: Bob van der Poel 76510,2203 (X)
from: Mike Haaland 72300,1433
date: 1993-07-23 17:35:00
subject: #18410-#GNU-C

#: 18434 S12/OS9/68000 (OSK)
    23-Jul-93  17:35:00
Sb: #18410-#GNU-C
Fm: Mike Haaland 72300,1433
To: Bob van der Poel 76510,2203 (X)

Thanks for the tips on keybindings.  BTW I've defined my Fn keys 1-10 thusly on
me MM/1.

    :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:\
    :k6=\E[R:k7=\E[S:k8=\E[T:\

Emacs works with 'em.  These are the Vt-100 codes for the function keys. I load
'em from my startup file with display codes:

 * Load the global function keys
 * F1 = \E[M - F2 = \E[N - F3 = \E[O - F4 = \E[P
 * F5 = \E[Q - F6 = \E[R - F7 = \E[S - F8 = \E[T
 display 1b 2b f0 1 00 00 01 00 01 00 04 1b /[M/ 00
 display 1b 2b f0 2 00 00 01 00 01 00 04 1b /[N/ 00
 display 1b 2b f0 3 00 00 01 00 01 00 04 1b /[O/ 00
 display 1b 2b f0 4 00 00 01 00 01 00 04 1b /[P/ 00
 display 1b 2b f0 5 00 00 01 00 01 00 04 1b /[Q/ 00
 display 1b 2b f0 6 00 00 01 00 01 00 04 1b /[R/ 00
 display 1b 2b f0 7 00 00 01 00 01 00 04 1b /[S/ 00
 display 1b 2b f0 8 00 00 01 00 01 00 04 1b /[T/ 00

Since we don't have the use of f9 or f0 I've defined them as:

    :k9=\E\055:k0=\E\075:\

This translates to hitting Esc '-' for f9 and Esc '=' for f0. Fn11-20 I have as
Esc-1 thru 0.

    :F1=\E1:F2=\E2:F3=\E3:F4=\E4:F5=\E5:\
    :F6=\E6:F7=\E7:F8=\E8:F9=\E9:F0=\E0:

Seems to work well.

Your right the ncurses.l I'm using is the EFFO one, (I had to fix some of their
tc codes), and uses termcap.

 - Mike - PS. Sounds like fun trying to get your terminal to work correctly. :(

There is 1 Reply.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.