tn5250rc (5) - Linux Manuals
tn5250rc: tn5250 and lp5250d configuration file
NAME
tn5250rc - tn5250 and lp5250d configuration fileDESCRIPTION
The tn5250rc file contains groups of options for tn5250 and lp5250d. When a hostname is passed to one of these programs, the named group is looked up in tn5250rc, and any options given in that group are processed.If a named group is found, and defines a host option, that option specifies the server. Otherwise, the host parameter to the program is used.
A group of options looks like this:
Each group of options starts with the group name, followed by a left
brace (curly bracket) character. Following lines should have one
option on each line. The last line of the group has a single right
brace.
The global
tn5250rc
file may be overridden by the user's
~/.tn5250rc
file.
Currently recognised values for the translation map are: 37, 256, 273,
277, 278, 280, 284, 285, 290, 297, 420, 424, 500, 870, 871, 875, 880, 905,
and 1026. Most of these are translated to ISO-8859-1, also known as
Latin 1. Some of them contain characters only present in another
encoding, which is used instead. The valid CCSID values, and the Unix
encoding used, are listed below.
If possible, configure your terminal to use the appropriate encoding
if your AS/400 uses any of these CCSIDs.
Define a printer connection, using host print transform to produce PCL
output for an HP Laserjet compatible printer.
Define a secure SSL session, checking the server's certificate against
the CA certificare stored in
cacert.pem,
and using the client certificate in
jbloggs.pem
to sign on automatically.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
OPTIONS
The options given here may be used inside a section of the
configuration file, or on the
tn5250
or
lp5250d
command line. Most options take the form
OPTION=VALUE.
Options listed with a leading
+/-
can be either turned on
(+OPTION)
or off
(-OPTION).
Common Options
These options apply to both printer and display emulation sessions.
Display Options
These options are specific to
tn5250
and
xt5250.
Printer Options
OPTION VALUES
Protocols
The supported protocols for the emulation session are listed below.
Translation Maps
CCSIDs on the AS/400 are listed in Appendix G of IBM manual
SC41-5101-01, AS/400 National Language Support. This manual is
available on the web at
<http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/QB3AWC01/G.2>.
CCSID Unix encoding Description Portugal, Brazil, Australia, New Zealand 256 ISO-8859-1 Netherlands 273 ISO-8859-1 Austria, Germany 277 ISO-8859-1 Denmark, Norway 278 ISO-8859-1 Finland, Sweden 280 ISO-8859-1 Italy 284 ISO-8859-1 Spanish, Latin America 285 ISO-8859-1 United Kingdom 290 JIS_X0201 Katakana Extended 297 ISO-8859-1 France 420 ISO-8859-6 Arabic 424 ISO-8859-8 Hebrew 500 ISO-8859-1 Belgium, Canada, Switzerland 870 ISO-8859-2 Eastern Europe 871 ISO-8859-1 Iceland 875 ISO-8859-7 Greek 880 ISO-8859-5 Cyrillic 905 ISO-8859-3 Turkey - Latin3 1026 ISO-8859-9 Turkey - Latin5 Display Types
The following values are valid for the
env.TERM
option.
Name Description IBM-3180-2 27x132 monochrome IBM-3196-A1 24x80 monochrome IBM-3477-FC 27x132 color IBM-3477-FG 27x132 monochrome IBM-5251-11 24x80 monochrome IBM-5291-1 24x80 monochrome IBM-5292-2 24x80 color EXAMPLES
Define a connection named
dsp01
that connects to the machine
iseries.example.com,
using the German CCSID, a 132 column terminal, and printing underscore
characters instead of using underlines.
COPYRIGHT
tn5250
is copyright
1997 - 2008 Michael Madore. This manpage is copyright
2001 - 2008 Carey Evans.
AUTHORS
tn5250
was written by Michael Madore, Jay Felice, Scott Klement
and others; see the AUTHORS file for details.
This manual page was written by Carey Evans.