home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / aix / 11634 < prev    next >
Encoding:
Text File  |  1992-11-17  |  3.2 KB  |  70 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!mcover
  3. From: mcover@magnus.acs.ohio-state.edu (Mark Coverdill)
  4. Subject: Re: 3270 Problem/Questions
  5. Message-ID: <1992Nov17.053008.28413@magnus.acs.ohio-state.edu>
  6. Sender: news@magnus.acs.ohio-state.edu
  7. Nntp-Posting-Host: top.magnus.acs.ohio-state.edu
  8. Organization: The Ohio State University
  9. References: <1992Nov11.195201.23112@bmw.mayo.edu> <1992Nov12.173608.21510@jupiter.sun.csd.unb.ca>
  10. Date: Tue, 17 Nov 1992 05:30:08 GMT
  11. Lines: 57
  12.  
  13. In article <1992Nov12.173608.21510@jupiter.sun.csd.unb.ca> dedourek@jupiter.sun.csd.unb.ca (John DeDourek) writes:
  14. >In article <1992Nov11.195201.23112@bmw.mayo.edu> fisk@mayo.edu writes:
  15. >>
  16. >>We have run across a couple of problems with the 3270 emulation on AIX.
  17. >>
  18. >>1.  According to the documentation, when you telnet or tn to a system that
  19. >>    requires a 3270, it will use the $HOME/.3270keys.  We have never gotten
  20. >>    this to work...any ideas?
  21. >>
  22. >Note that telnet is an executable in /usr/bin.  Note that tn and tn3270
  23. >are symbolic links in /usr/ucb to the program /usr/bin/telnet.  The
  24. >program does behave differently when invoked by each of the three
  25. >names.  As noted telnet and tn use $HOME/.3270keys.  Note that
  26. >tn3270 does NOT.  Make sure that you are not invoking the command via
  27. >the tn3270 name.  Actually, I once tried to understand all the information
  28. >in the info page for telnet/tn/tn3270 and got myself totally confused.
  29. >I tried some experiments but ran out of time.  Perhaps there is a more
  30. >detailed description with examples somewhere.  Pointers would be
  31. >appreciated.
  32. >
  33.  
  34. I have spent a number of hours on this problem and here are some tips
  35. that work for me.
  36.  
  37. If you invoke tn3270 then the /etc/3270.keys file will be read for key
  38. emulations (man pages still say tn3270.keys file but near as I can
  39. tell it no longer exists in 3.2).  Note that this keyboard mapping
  40. file is *NOT* complete.  It is simply a default for the lowest common
  41. denominator (i.e.. the PA keys are missing). Additionally there is no
  42. terminal type checking.  It just assumes that the terminal you invoked
  43. tn3270 on can handle the emulation (not a good assumption).
  44.  
  45. The best way to get 3270 emulation is to explicitly invoke it on the
  46. command line by typing 'telnet -e 3270 host'. There are two
  47. advantages.  First, the telnet command will check your TERM
  48. environment variable for your terminal type. Second, it will read the
  49. ~/.3270keys file or if that is missing then the /etc/map3270 file.
  50. The /etc/map3270 is the template (so you can make global changes) that
  51. you can copy to your local .3270keys file and modify it if you like.
  52. This file is much more complete including color emulation for
  53. protected fields, etc.  You can also modify by terminal type if you
  54. work on multiple terminals.
  55.  
  56. Through the latter method I have been able to completely redefine the
  57. keyboard on my IBM3151 (emulating an ADDS VP) to make the functions
  58. keys, delete key, clear key, etc behave like their keycaps say they
  59. are supposed too (what a concept, actually having a key do what is
  60. printed on it :-)).
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67. -- 
  68. Mark Coverdill                                 The Ohio State University
  69. Internet: markc+@osu.edu                              Columbus, Ohio
  70.