./dryrun # test x3270Before running x3270, you will also need to (once):
xset fp rehash
A "complete" installation means that besides the usual X and Xt libraries, the Xaw and Xmu libraries and header files are installed. Some vendors (HP, IBM, SCO) consider these optional software and do not always install them.
A number of unsupported core MIT clients and miscellaneous utilities are provided in /usr/contrib/bin. In addition, the entire core MIT distribution, compiled for Hewlett-Packard platforms, can be obtained from HP's users group INTERWORKS for a nominal fee. See the release notes for details.
cd into XXX.
For each .bdf file, run the server-specific version of bdftosnf or bdftopcf to create a .snf or .pcf file. For example, for to build an NCD font on a Sun-4, the command is:
/usr/local/NCD/binSun4/bdftosnf 3270.bdf >3270.snfRun the server-specific version of mkfontdir. For example:
/usr/local/NCD/binSun4/mkfontdir .Then tell your X server to use this directory:
xset fp+ XXX xset fp rehash
Unfortunately, using an app-defaults file is a pain. The mechanism for finding the file is so flexible as to be almost incomprehensible, and it is difficult to run the program without doing a full installation, requiring root access to your system. Also, the app-defaults file generally changes whenever the program changes, and making sure that x3270 finds the correct app-defaults file compounds the above problems.
Starting with version 3.1, x3270 no longer uses a separate app-defaults file. Instead, the file is compiled into x3270 itself. If however, you prefer to have a separate app-defaults file, you can compile x3270 to use it:
--prefix=prefix | Install common architecture-independent files under prefix (defaults to /usr/local). By default, this affects only the configuration files. In combination with --without-xmkmf, this affects all files. |
--exec-prefix=eprefix | Install common architecture-dependent files (executables) under eprefix (defaults to same as prefix). See the note under --prefix, above. |
--bindir=dir | Install common user executables in dir (defaults to eprefix/bin). See the note under --prefix, above. |
--sysconfdir=dir | Install configuration files (ibm_hosts, character sets) in dir/x3270 (defaults to prefix/etc). See the note under --prefix, above. |
--enable-app-defaults --enable-app-defaults=-UCOLOR |
Use a separate app-defaults file, instead of compiling one into the x3270 executable. With the =-UCOLOR option, builds for a monochrome display. |
--with-fontdir=/full-path --with-fontdir=relative-path |
Install fonts in an alternate directory. If the parameter starts with "/", it specifies the full pathname of a directory. If not, it specifies a subdirectory of the usual font directory. The default is misc. |