|
|
1.1 ! root 1: .\" Copyright (c) 1986 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)mset.1 1.3 (Berkeley) 1/11/86 ! 6: .\" ! 7: .TH MSET 1 "January 11, 1986" ! 8: .UC 6 ! 9: .SH NAME ! 10: mset \- retrieve ASCII to IBM 3270 keyboard map ! 11: .SH SYNOPSIS ! 12: .B mset ! 13: .SH DESCRIPTION ! 14: .I Mset ! 15: retrieves mapping information ! 16: for the ASCII keyboard to IBM 3270 terminal ! 17: special functions. ! 18: Normally, these mappings are found ! 19: in ! 20: .I /etc/map3270 ! 21: (see ! 22: .IR map3270 (5)). ! 23: This information is used by the ! 24: .I tn3270 ! 25: command (see ! 26: .IR tn3270 (1)). ! 27: .PP ! 28: .I Mset ! 29: can be used store the mapping information in the process environment ! 30: in order to avoid scanning ! 31: .I /etc/map3270 ! 32: each time ! 33: .I tn3270 ! 34: is invoked. ! 35: To do this, place the following command in your ! 36: .I .login ! 37: file: ! 38: .ti 5n ! 39: .sp ! 40: set noglob; setenv \s-1MAP3270\s0 "\(gamset\(ga"; unset noglob ! 41: .PP ! 42: .I Mset ! 43: first determines the user's terminal type from the environment variable ! 44: .BR TERM . ! 45: Normally ! 46: .I mset ! 47: then uses the file ! 48: .I /etc/map3270 ! 49: to find the keyboard mapping for that terminal. ! 50: However, if the environment variable ! 51: .B MAP3270 ! 52: exists and contains the entry for the specified terminal, then that ! 53: definition is used. ! 54: If the value of ! 55: .B MAP3270 ! 56: begins with a slash (`/') then it is assumed to be the full pathname ! 57: of an alternate mapping file and that file is searched first. ! 58: In any case, if the mapping for the terminal is not found in ! 59: the environment, nor in an alternate map file, nor in the standard map file, ! 60: then the same search is performed for an entry for a terminal type of ! 61: .B unknown. ! 62: If that search also fails, ! 63: then a default mapping ! 64: is used. ! 65: .SH FILES ! 66: /etc/map3270 keyboard mapping for known terminals ! 67: .SH SEE ALSO ! 68: tn3270(1), map3270(5) ! 69: .SH BUGS ! 70: If the entry for the specific terminal ! 71: exceeds 1024 bytes, \fIcsh\fR(1) will fail ! 72: to set the environment variable. ! 73: .I Mset ! 74: should probably ! 75: detect this case and ! 76: output the path to the ! 77: .I map3270 ! 78: file ! 79: instead of the terminal entry.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.