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