DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T m

⟦0d73a652b⟧ TextFile

    Length: 3933 (0xf5d)
    Types: TextFile
    Names: »mset.1«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦639290824⟧ »EurOpenD3/misc/tn3270.4.1.1.tar.Z« 
        └─⟦cd3e6b3a4⟧ 
            └─⟦this⟧ »disttn3270/tn3270/mset.1« 

TextFile

.\" Copyright (c) 1986 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms are permitted
.\" provided that the above copyright notice and this paragraph are
.\" duplicated in all such forms and that any documentation,
.\" advertising materials, and other materials related to such
.\" distribution and use acknowledge that the software was developed
.\" by the University of California, Berkeley.  The name of the
.\" University may not be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
.\"	@(#)mset.1	4.2 (Berkeley) 12/21/88
.\"
.TH MSET 1 "December 21, 1988"
.UC 6
.SH NAME
mset \- retrieve ASCII to IBM 3270 keyboard map
.SH SYNOPSIS
.B mset
[-picky] [-shell] [keyboardname]
.SH DESCRIPTION
.I Mset
retrieves mapping information
for the ASCII keyboard to IBM 3270 terminal
special functions.
Normally, these mappings are found
in
.I /etc/map3270
(see
.IR map3270 (5)).
This information is used by the
.I tn3270
command (see
.IR tn3270 (1)).
.PP
The default
.I mset
output can be used to store the mapping information in the process environment
in order to avoid scanning
.I /etc/map3270
each time
.I tn3270
is invoked.
To do this, place the following command in your
.I .login
file:
.ti 5n
.sp
     set noglob; setenv \s-1MAP3270\s0 "\(gamset\(ga"; unset noglob
.PP
If the
.I keyboardname
argument is not supplied,
.I mset
attempts to determine the name of the keyboard the user is using,
by checking the
.B KEYBD
environment variable.
If the
.B KEYBD
environment variable is not set, then
.I mset
uses the user's terminal type from the environment variable
.B TERM
as the keyboard name.
Normally,
.I mset
then uses the file
.I /etc/map3270
to find the keyboard mapping for that terminal.
However, if the environment variable
.B MAP3270
exists and contains the entry for the specified keyboard, then that
definition is used.
If the value of
.B MAP3270
begins with a slash (`/') then it is assumed to be the full pathname
of an alternate mapping file and that file is searched first.
In any case, if the mapping for the keyboard is not found in
the environment, nor in an alternate map file, nor in the standard map file,
then the same search is performed for an entry for a keyboard with the name
.BR unknown .
If that search also fails,
then a default mapping
is used.
.PP
The arguments to
.I mset
are:
.sp
.TP +2
-picky
When processing the various map3270 entries (for the user's keyboard,
and all those encountered before the one for the user's keyboard),
.I mset
normally will not complain about entries for unknown functions (like
\*(lqPFX1\*(rq); the
.I -picky
argument causes
.I mset
to issue warning messages about these unknown entries.
.TP
-shell
If the map3270 entry is longer than the shell's 1024 environmental variable
length limit, the default
.I mset
output cannot be used to store the mapping information in the process
environment to avoid scanning
.I /etc/map3270
each time
.I tn3270
is invoked.
The
.I -shell
argument causes
.I mset
to generate shell commands to set the environmental variables
.BR MAP3270 ,
.BR MAP3270A ,
and so on, breaking up the entry to fit within the shell environmental
variable length limit.
To set these variables, place the following command in your
.I .login
file:
.sp
mset -shell > tmp ; source tmp ; /bin/rm tmp
.TP
keyboardname
When searching for the map3270 entry that matches the user's keyboard,
.I mset
will use
.I keyboardname
instead of determining the keyboard name from the
.B KEYBD
or
.B TERM
environmental variables.
.SH FILES
/etc/map3270        keyboard mapping for known keyboards
.SH SEE ALSO
tn3270(1), map3270(5)