.\" Copyright (c) 1986 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\" @(#)mset.1 1.3 (Berkeley) %G%
mset \- retrieve ASCII to IBM 3270 keyboard map
retrieves mapping information
for the ASCII keyboard to IBM 3270 terminal
Normally, these mappings are found
This information is used by the
can be used store the mapping information in the process environment
in order to avoid scanning
To do this, place the following command in your
set noglob; setenv \s-1MAP3270\s0 "\(gamset\(ga"; unset noglob
first determines the user's terminal type from the environment variable
to find the keyboard mapping for that terminal.
However, if the environment variable
exists and contains the entry for the specified terminal, then that
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 terminal 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 terminal type of
If that search also fails,
/etc/map3270 keyboard mapping for known terminals
If the entry for the specific terminal
exceeds 1024 bytes, \fIcsh\fR(1) will fail
to set the environment variable.
instead of the terminal entry.