(No title)

# tn3270 Installation on NeXT

Mike Gerard (jmg@cernvax or gerard@cernvm,Tel 4707) has made a souped-up 3270 emulator which can be installed on any NeXT at CERN. It is run inside a Stuart, or version 2 Terminal, window. It will handle many screen sizes and has some online help.

## Installation:

If you don't have nxoc01:/usr mounted over nfs, you will need it to be, or you will need to take a copy of its contents.

This is how to set up soft links to the files on an imported NFS directory on (say) nxoc01. If you haven't already made these directories you will have to, otherwise omit the mkdir commands. Install tn3270 as follows:

    su root
    mkdir /usr/local
    mkdir /usr/local/lib
    mkdir /usr/local/bin
    ln -s /private/Net/nxoc01/usr/local/lib/3270 /usr/local/lib/3270
    ln -s /private/Net/nxoc01/usr/local/bin/tn3270 /usr/local/bin/tn3270
    mv /usr/ucb/tn3270 /usr/ucb/tn3270_old
    mv /etc/map3270 /etc/map3270_old
    ln -s /private/Net/nxoc01/pub/tn3270/map3270 /etc/map3270

This is what I did for uconext. I had to rename (as above) the old version of tn3270 because /usr/ucb is in front of /usr/local/bin in the default path. I also had to replace the map3270 file becuase the new tn3270 doesn't like the old map3270.

## Personal Setup

If you are using "Terminal" as your terminal window, you must set the "Generate VT100 codes from the keypad" option in the "Preferences" panel (under the "info" menu).

As the new tn3270 takes a machine name AND an optional user name on the command line, you can define an alias for example, in your .cshrc

    			alias vm tn3270 cernvm bloggs

if your user name were bloggs on cernvm.

## Documentation

If you get it running you can get some online help with Control/E . The help files used are mostly irrelevant to NeXT users who will all use "vt100" terminal settings. The help files (in directory /usr/local/lib/3270) include:

- Basic help
- Options
- Keyboard mappings for different terminals
- Emulation - which IBM terminals are emulated
- Version signon message

If you want to change the mapping between your vt100 keys and 3270 keys, then you can set the environment variable KEYMAP to vt100-xxx where xxx is (in lower case) the keyboard mapping code.

## Bugs

The problems so far noticed are:

- I haven't changes the keyboard layout files to reflect the keyboard mappings on a NeXT keyboard yet.
- On uconext, tn3270 doesn't seem to be able to use a host name - it has to be a number. (The internet number for cernvm is 128.141.2.4)

__________________________________________________________