[comp.sys.sun] Need X-based vt1xx emulator for Sun

jkimball@src.honeywell.com (12/13/89)

I need an Xwindows-based vt1xx or vt2xx terminal emulator for Suns which
will 

   o handle vt1xx "graphics" correctly;
   o provide emulation of the keypad.

Those are the two places where the xterm which we have around here fails.
What I want to do is do telnets to some VAX/VMS machines (sigh) and run
some applications which expect to be running on a vt1xx or vt2xx.  

Freely-redistributable stuff is most welcome (of course), but we could
probably spring some $$$ for such a thing, if it really works.  I'd prefer
X over Sunview, since most everyone here works under X.  Still . . .

Please respond by mail, and I'll summarize if indicated.

Thanks!
John Kimball

[[Ed's Note: This subject has been previously covered and, in fact, was
recently summarized in v8n216. From looking at the contents of your message,
it appears that your best bet is 'crttool' available from 
modular!olson@arizona.edu (please note that this is a corrected address
from the one posted in v8n216) -bdg]]

pnakada@oracle.com (Paul Nakada) (01/03/90)

Someone said that this may be of use to some people out there..  I hope
this is not a waste of bandwidth, but I have heard of many people with the
same problem.  On a related note, could someone tell me how to map keys
with key codes > 127?  the Xsun server barfs on them..

This is how to get a vt100 keypad on a sun Sparc 1

This is as close as I could get it...  this is the layout...

+-----------------------+
| PF1 | PF2 | PF3 | PF4 |                                         
|-----+-----+-----+-----|
|  ,  |  /  |  *  |  -  |
|-----+-----+-----+-----|
|  7  |  8  |  9  |  n  |
|-----+-----+-----+  i  |
|  4  |  5  |  6  |  l  |
|-----+-----+-----+-----|
|  1  |  2  |  3  | ENT |
|-----------+-----+     |
|     0     |  .  |     |
|-----------+-----+-----|

since this displaces the cursor keys on the keypad, I had to remap them...
Idealy to the four useless keys on the bottom right of the normal
keysection, but the right meta key is unmappable because of server
problems.   So, I mapped the four arrow keys to the F9 - F12 function keys
at the top of the keyboard...

BTW.. for the best vt100 emulation use an xterm with font 8x13 (which is
actually the old x10 vt100 font...  here's how I start up a vt100 session

xterm -sf -fn vt -fb vtbold

The -sf is crucial, and as usual it's undocumented (I happened to be
browsing the xterm source when i noticed it.)

well.. here's the xmodmap file that goes along with this...  hope this
helps..

-Paul Nakada
pnakada@oracle.com

keycode 28 = KP_F1
keycode 29 = KP_F2
keycode 30 = KP_F3
keycode 105 = KP_F4
keycode 75 = KP_7
keycode 76 = KP_8
keycode 77 = KP_9
keycode 98 = KP_4
keycode 99 = KP_5
keycode 100 = KP_6
keycode 119 = KP_1
keycode 120 = KP_2
keycode 121 = KP_3
keycode 101 = KP_0
keycode 57 = KP_Decimal
keycode 97 = KP_Enter
keycode 54 = KP_Multiply
keycode 53 = KP_Divide
keycode 52 = KP_Separator
keycode 78 = KP_Subtract
keycode 25 = Left
keycode 14 = Right
keycode 16 = Up
keycode 18 = Down