[comp.windows.open-look] using xterm with tn3270 on a sparc

Jonathan Foley (05/08/91)

Hi: I've got a strange question!

Some people here are still using IBM mainframes...they would like to
be able to connect to them as a 3270 type terminal.  Well, I assumed
that you could just use xterm with the tn3270 package to do this in
X11.  No luck.

This is what I did:

xterm -e tn3270 _site_name_

It will connect to the machine, but the keymap is not correctly set for
the Sparc keyboard we are using.  Yes, I have the /etc/map3270 file in place,
but it doesn't seem to be set for a sparc keyboard...it does have
an xterm entry by the way.

Has anyone done this with success on a sparc?  Could you please email
me the /etc/map3270 file you are using?  Any information would be
appreciated!

Thanks!

foley@meteor.wisc.edu


-- 
----------------------------------------------------------------------------- 
Jonathan Foley                               | email:  foley@meteor.wisc.edu |
Center for Climatic Research and              -------------------------------  
Department of Atmospheric & Oceanic Sciences
University of Wisconsin 
1225 West Dayton Street                        (608) 262-0794
Madison, WI  53706 - United States             (608) 262-2839
-----------------------------------------------------------------------------

weimer@garden.ssd.kodak.com (Gary Weimer (253-7796)) (05/11/91)

In article <1991May8.004420.2411@meteor.wisc.edu>, Jonathan Foley writes:
|> 
|> Hi: I've got a strange question!
|> 
|> Some people here are still using IBM mainframes...they would like to
|> be able to connect to them as a 3270 type terminal.  Well, I assumed
|> that you could just use xterm with the tn3270 package to do this in
|> X11.  No luck.
|> 
|> This is what I did:
|> 
|> xterm -e tn3270 _site_name_

I don't know if this applies, since we are using te3278, but we use:

xterm -sf -e te3278 -s SC3278.vt100 -k KY3278.sun
      ^^^           ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^
       1                  2              3

1) tell xterm to use the Suntools Function key bindings (maybe this is
   all you need).
2) tell te3278 to use the vt100 screen mappings
3) tell te3278 to use the sun key mappings

Here are our SC3278.vt100 and KY3278.sun files (uuencoded).

begin 644 SC3278.vt100
M!#0  0*<=G0    7 $\ 4 =_!X  %P!/  ,   $@     @       0      
M!    #0 .@!" $@ 4 !: &( < !\ (0 C            )0 H@          
M            J@"P +H   #$ ,8 R@#, ,X T #2 -8 V #: -P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< /0 B &$ 8@!C &0 90!F &< : !I
M &H :P!L &T ;@!O '  <0!R 'X <P!T '4 =@!W '@ >0!Z 'L 00!" $, 
M1 !% $8 1P!( $D ?0!* $L 3 !- $X 3P!0 %$ 4@!< %, 5 !5 %8 5P!8
I %D 6@ P #$ ,@ S #0 -0 V #< .  Y  YT#P!> %L 70 .>P\ +0  
 
end

begin 644 KY3278.sun
M!O( (0 8 '\ W *F________!&0  /____\&_P !  4 :@AL__\ !/__"6W_
M______\*;P #  ;__PUV__\ !___#IO__P (__\8J?_______QO_  ( %0!L
M( '__P +__\A"?_______R(=  H #?__(QG__P .__\D"O_______R43  P 
M$O__)@C__P 1__\G&________R@% !  $___*0S__P 4__\J"________RL&
M  \ &___+!+__P 7__\M#________RX# !8 &O__+Q#_______\P5@ 9____
M_S%7 !@ 'O__,EC__P =__\S6?_______S1: !P '___-5O__P @__\V7/__
M_____S==  D 1?__.%[_______\Y7P B "3__SH8________.PT (P G__\\
M!/_______ST< "8 */__/A7__P I__\_%O_______T : "4 +O__03K_____
M__]".P K "W__T,\________1#T +  P__]%/O_______T8_ "\ ,?__1T#_
M_P R__](0?_______TE" "H //__2D3_______]+10 T #;__TQ&________
M34< -0 Y__].2/_______T]) #@ .O__4$K__P [__]12________U), #< 
M0/__4T[_______]43P ] #___U50________5E$ /@!"__]74O_______UA3
M $$ 0___653__P!$__]:5?_______UL' #, 6/__7$W_______]=#@!& $C_
M_UX"________7Q0 1P!+__]@%________V$> $H 3/__8A___P!-__]C(/__
M_____V0A $D 4___92+_______]F(P!/ %'__V<D__\ 4O__:"7_______]I
M)@!0 %7__VHG________:R@ 5 !6__]L*?__ %?__VTJ________;BL 3@!A
M__]O+/_______W M %D 6___<2[_______]R+P!: %[__W,Q________=#( 
M70!?__]U,___ &#__W8T________=S4 7 !F__]X-O_______WDW &( 9/__
M>CC__P!E__][.?_______WP1 &, :/__?4/_______]^, !G &G__W]S____
M____&_______ '8;______\ =UO_ &L <0!Y8?___P!N 'YBHO_______V/_
M &T < !_9)3_______]HJP!O '/__VN:________;)\ <@!T__]NH___ '7_
M_W&3________6_______ (!;______\ A#'______P"(,O\ > ![ (I!9?__
M_____T)F 'H ?/__0V?__P!]__]$:/_______PV5________#9;_______\R
M____ (( CD%_________0X, @0"#__]$@?_______S+___\ A@"008O_____
M__]#CP"% (?__T2-________.?______ )(P______\ E3'_ (D BP":,O__
M_P", )\S______\ I##______P"E,?\ C?__ *HP______\ KC'_ (___P"S
M,_______ +<T_P"1 ), N#7______P"Y-_______ +HX_P"4 )8 NSG_____
M_P"\,/______ +TQ_P"7 )D OC+______P"_,_\ F "; , V____ )P P3C_
M_____P#",/___P"> ,,R______\ Q#;_ )T H0#%-_______ ,8X_P"@ *( 
MQSG______P#(,/______ ,DQ_P"C__\ RCC___\ I@#+.?______ ,PP____
M__\ S3'_ *< J0#.,O______ ,\S_P"H *P T#3______P#1-O\ JP"M -(X
M______\ TSC___\ KP#4.?______ -4P______\ UC'_ +  L@#7,O______
M -@S_P"Q +4 V33______P#:-O\ M "V -LX______\ W'J0________>I'_
M______]ZDO_______WJE________>G7_______]Z=________WIQ________
M>G3_______]ZE________WIR________>F[_______]Z</_______WIK____
M____>FK_______]ZF/_______WJ>________>IW_______]ZK/_______WJ<
M________>F#_______]Z>/_______WIY________>GK_______]Z>_______
M_WI\________>GW_______]Z?O_______WJ ________>H+_______]ZA/__
M_____WJ%________>H;_______]ZA________WJ(________>HG_______]Z
7BO_______WJ,________>H[_________
 
end

weimer@ssd.kodak.com ( Gary Weimer )