V1 R2.5 Full-Screen Solutions
30 July 1999
http://www.ibm.com/nc/pubs
Table of Contents
Introduction
Release
2.5 Solutions
When an IBM Network Station is replacing a certain type of terminal or
environment, it may be desirable to override the default behavior of the
IBM Network Station to behave like the terminal it is intended to replace.
This document describes some solutions to configure the IBM Network Stations
for some typical environments. The solutions shown apply to all Network
Stations.
IBM provides program support for configuration files automatically
edited through the ordinary use of the IBM Network Station Manager program,
and the files manually edited in accordance with the full-screen solutions
in this document.
Refer to Editing Configuration Files
for information on what editor to use and tips on how to edit the configuration
files.
These solutions show IBM supported changes that you can make by hand editing
certain configuration files. The changes shown in this section apply to
all IBM Network Stations.
In this section we refer to placeholders for path names. When you see
the following placeholders in the example files, replace them with the
directory paths that are shown in the tables below:
|
BOOTPATH/ |
AS/400 |
/QIBM/ProdData/NetworkStation/ |
OS/390 |
/usr/lpp/tcpip/nstation/standard/ |
PC Server |
/nstation/ |
RS/6000 |
/usr/netstation/ |
VM/ESA |
/QIBM/ProdData/NetworkStation/ |
|
DBOOTPATH/ |
AS/400 |
/QIBM/ProdData/NetworkStation/ |
OS/390 |
/usr/lpp/tcpip/nstation/standard/ |
PC Server |
c:\nstation\ (where c:\ is the default installation
drive and path) |
RS/6000 |
/usr/netstation/ |
VM/ESA |
/QIBM/ProdData/NetworkStation/ |
|
MODS/ |
AS/400 |
/QIBM/ProdData/NetworkStation/mods/ |
OS/390 |
/usr/lpp/tcpip/nstation/standard/mods/ |
PC Server |
/nstation/mods/ |
RS/6000 |
/usr/netstation/mods/ |
VM/ESA |
/QIBM/ProdData/NetworkStation/mods/ |
|
DMODS/ |
AS/400 |
/QIBM/ProdData/NetworkStation/mods/ |
OS/390 |
/usr/lpp/tcpip/nstation/standard/mods/ |
PC Server |
c:\nstation\mods\ (where c:\ is the default installation
drive and path) |
RS/6000 |
/usr/netstation/mods/ |
VM/ESA |
/QIBM/ProdData/NetworkStation/mods/ |
|
NSM_PROD_SYSDEFAULTS/ |
AS/400 |
/QIBM/ProdData/NetworkStation/SysDefaults/ |
OS/390 |
/usr/lpp/tcpip/nstation/standard/SysDefaults/ |
PC Server |
/nstation/ProdData/SysDef/ |
RS/6000 |
/usr/netstation/SysDefaults/ |
VM/ESA |
/QIBM/ProdData/NetworkStation/SysDefaults/ |
|
NSM_ADMIN_SYSDEFAULTS/ |
AS/400 |
/QIBM/UserData/NetworkStation/SysDefaults/ |
OS/390 |
/etc/nstation/system/SysDefaults/ |
PC Server |
/nstation/UserData/SysDef/ |
RS/6000 |
/usr/netstation/nsm/SysDefaults/ |
VM/ESA |
/QIBM/UserData/NetworkStation/SysDefaults/ |
|
DNSM_ADMIN_SYSDEFAULTS/ |
AS/400 |
/QIBM/UserData/NetworkStation/SysDefaults/ |
OS/390 |
/etc/nstation/system/SysDefaults/ |
PC Server |
c:\nstation\UserData\SysDef\ (where c:\ is the
default installation drive and path) |
RS/6000 |
/usr/netstation/nsm/SysDefaults/ |
VM/ESA |
/QIBM/UserData/NetworkStation/SysDefaults/ |
|
CONFIGPATH/ |
AS/400 |
/QIBM/UserData/NetworkStation/StationConfig/ |
OS/390 |
/etc/nstation/system/StationConfig/ |
PC Server |
c:\nstation\configs\ (where c:\ is the default
installation drive and path) |
RS/6000 |
/usr/netstation/configs/ |
VM/ESA |
/QIBM/UserData/NetworkStation/StationConfig/ |
Some general notes about the configuration file templates in this section:
Notes:
-
The pound sign # placed at the beginning of the line indicates
that this line is a comment line.
-
In the TCP/IP settings in the defaults.dft file, you can use one of two
methods to resolve host names:
-
For an existing domain name service, use the following lines. Change the
name server IP address to your name server address. Change the domain name
to your domain name.
set tcpip-name-server-protocol = dns
set tcpip-name-servers[-1] = {"10.2.3.2"}
set tcpip-dns-default-domain = mydomain.com
set tcpip-name-local-cache = { { localhost 127.0.0.1 } }
-
For local name resolution, use the following lines. Change the host names
and IP addresses to match your needs. All names are defined locally to
the Network Station in the name cache (which is equivalent to a hosts file).
You must also define the names in the hosts file on the server.
set tcpip-name-local-cache = {
{ bigsmile 10.2.3.232 }
{ bigeasy 10.2.3.248 }
{ localhost 127.0.0.1 }
{ sorry 10.2.3.211 }
}
-
After changing the configuration files, the Network Station must be re-started
for the changes to take effect.
This solution allows all Network Stations to display a full screen 3270
emulator session without a login dialog.
In this solution:
-
Network Station login is not used.
-
One 3270 emulator session is autostarted.
-
The integrated window manager is not used.
-
If the 3270 session stops running, the Network Station must be re-booted
to restart the session.
Use the example below to create a defaults.dft file in the CONFIGPATH/ directory.
#################### 3270 full screen template ##########################################
## START CONFIGPATH/defaults.dft
## 3270 template definition
##
## START TCPIP configuration ##
## Either use name-local-cache stanza or other three lines
## Comment out one of the choices below
set tcpip-name-server-protocol = dns
set tcpip-name-servers[-1] = {"10.2.3.2"}
set tcpip-dns-default-domain = mydomain.com
set tcpip-name-local-cache = {
# { bigsmile 10.2.3.232 }
# { bigeasy 10.2.3.248 }
{ localhost 127.0.0.1 }
# { sorry 10.2.3.211 }
}
## END TCPIP configuration ##
##
## START environment variables configuration ##
## Have to set these since Login is not being used
## The PATH for these values may be different between platforms
##
set pref-environment = {
{"PATH" "MODS/"}
{"HOME" "BOOTPATH/"}
{"BOOTPATH" "BOOTPATH/"}
{"LANGID" "ENU" }
{"MRIPATH" "MRI2924"}
{"NSM_PROD_SYSDEFAULTS" "NSM_PROD_SYSDEFAULTS/"}
{"NSM_ADMIN_SYSDEFAULTS" "NSM_ADMIN_SYSDEFAULTS/"}
}
## END environment variables configuration ##
##
## START modules configuration ##
## set these to avoid loading unneeded modules to conserve memory
##
set modules-load-policy = {{ }}
## END modules configuration ##
##
## START screen background configuration ##
## Set this to cover any non-fit of the emulator screen
##
set pref-screen-background-type=solid-color
set pref-screen-background-color=black
## END screen background configuration ##
##
set exec-startup-commands = {
{"ns3270 -fn 8x13,9x15,10x20,fixedR28 -LANGID ENU <Host> "}
}
## END CONFIGPATH/defaults.dft
#######################################################################################
Notes:
-
If TCP/IP is already working properly, remove the TCP/IP section.
-
The LANGID value can be any value that is found in DMODS/NS3270/nls
on the boot server.
-
Use the following table to construct the set exec-startup-commands.
Display Resolution |
set exec-startup-commands = |
640x480 |
"ns3270 -fn 8x13 -LANGID ENU <Host>" |
800x600 |
"ns3270 -fn 9x15 -LANGID ENU <Host>" |
800x600* |
"ns3270 -fn 9x15,8x13 -LANGID ENU <Host>" |
1024x768 |
"ns3270 -fn 10x20 -LANGID ENU <Host>" |
1024x768* |
"ns3270 -fn 10x20,9x15,8x13 -LANGID ENU <Host>" |
1280x1024 |
"ns3270 -fn fixedR28 -LANGID ENU <Host>" |
1280x1024* |
"ns3270 -fn fixedR28,10x20,9x15,8x13 -LANGID
ENU <Host>" |
Notes:
-
* This entry allows the user to scale down the window and font. The first
font in the list (-fn) is used at startup. The other fonts are available
through the Options-> Fonts pulldown menu (if the screen resolution allows).
-
The fonts you pick must exist in one of the font directories DBOOTPATH/fonts/pcf/...
Not all fonts are available on all platforms.
-
The LANGID value can be any value that is found in DMODS/NS3270/nls
on the boot server.
-
Replace <Host> with the name or IP address of the host.
|
-
If you want to run the integrated window manager, add {wm} as
the first clause in the exec-startup-commands. For example:
set exec-startup-commands = {
{wm}
{"ns3270 -fn 8x13,9x15,10x20,fixedR28 -LANGID ENU <Host> "}
}
-
Use the example below to create a pref file in the DNSM_ADMIN_SYSDEFAULTS/
directory.
Note: |
This file is normally created and edited by the
IBM Network Station Manager program. If this file does not exist, you must
create the file and directory. |
#########################################################################################
## START 3270 preferences file
## DNSM_ADMIN_SYSDEFAULTS/NS3270/pref
NS3270*KeyRemap: disable
NS3270*Keymap101Path: 0
NS3270*Keymap102Path: 0
NS3270*ColorMap: basic
NS3270*ColorMapPath: 0
NS3270*rows: 32
NS3270*cols: 80
NS3270*autoAction: false
NS3270*buttonBox: false
NS3270*Speckey: false
NS3270*Port: 23
NS3270*Graphics: false
NS3270*DefaultColorMapPath: 0
## END 3270 preferences file
########################################################################################
This solution allows all Network Stations to display a full screen 5250
emulator session without a login dialog.
In this solution:
-
Network Station login is not used.
-
One 5250 emulator session is autostarted.
-
The integrated window manager is not used.
-
If the 5250 session stops running, the Network Station must be re-booted
to restart the session.
-
Use the example below to create a defaults.dft file in the CONFIGPATH/
directory.
#################### 5250 full screen template ##########################################
## START CONFIGPATH/defaults.dft
## 5250 template definition
##
## START TCPIP configuration ##
## Either use name-local-cache stanza or other three lines
## Comment out one of the choices below
set tcpip-name-server-protocol = dns
set tcpip-name-servers[-1] = {"10.2.3.2"}
set tcpip-dns-default-domain = mydomain.com
set tcpip-name-local-cache = {
# { bigsmile 10.2.3.232 }
# { bigeasy 10.2.3.248 }
{ localhost 127.0.0.1 }
# { sorry 10.2.3.211 }
}
## END TCPIP configuration ##
##
## START environment variables configuration ##
## Have to set these since Login is not being used
## The PATH for these values may be different between platforms
##
set pref-environment = {
{"PATH" "MODS/"}
{"HOME" "BOOTPATH/"}
{"BOOTPATH" "BOOTPATH/"}
{"LANGID" "ENU" }
{"MRIPATH" "MRI2924"}
{"NSM_PROD_SYSDEFAULTS" "NSM_PROD_SYSDEFAULTS/"}
{"NSM_ADMIN_SYSDEFAULTS" "NSM_ADMIN_SYSDEFAULTS/"}
}
## END environment variables configuration ##
##
## START modules configuration ##
## set these to avoid loading unneeded modules to conserve memory
##
set modules-load-policy = {{ }}
## END modules configuration ##
##
## START screen background configuration ##
## Set this to cover any non-fit of the emulator screen
##
set pref-screen-background-type=solid-color
set pref-screen-background-color=black
## END screen background configuration ##
##
set exec-startup-commands = {{"ns5250 -geometry 9999x9999+0+0 <Host> "}}
## END CONFIGPATH/defaults.dft
########################################################################################
Notes:
-
If TCP/IP is already working properly, remove the TCP/IP section.
-
The -geometry option set to 9999x9999 works with the common 640x480, 800x600,
1024x768, and 1280x1024 monitor resolutions.
-
Replace <Host> with the name or IP address of the host.
-
If you want to run the integrated window manager, add {wm} as
the first clause in the exec-startup-commands. For example:
set exec-startup-commands = {
{wm}
{"ns5250 -geometry 9999x9999+0+0 <Host> "}
}
Use the example below to create a pref file in the DNSM_ADMIN_SYSDEFAULTS/
directory.
Note: |
This file is normally created and edited by the
IBM Network Station Manager program. If this file does not exist, you must
create the file and directory. |
#########################################################################################
## START 5250 preferences file
## DNSM_ADMIN_SYSDEFAULTS/NS5250/pref
NS5250*27x132: enable
NS5250*ImageView: disable
NS5250*ColumnSeparator: disable
NS5250*KeyRemap: disable
NS5250*ColorMap: basic
NS5250*KeyPad: disable_and_hide
NS5250*PlayBack: enable
NS5250*Control: enable
NS5250*Edit: enable
NS5250*LocalPrint: enable
NS5250*ChangeIPAddress: enable
NS5250*Command: enable
NS5250*Keymap101Path: 0
NS5250*Keymap102Path: 0
NS5250*Keymap122Path: 0
NS5250*ColorMapPath: 0
NS5250*PlayBackPath: 0
NS5250*DefaultColorMapPath: 0
## END 5250 preferences file
#########################################################################################
This solution allows a Network Stations to display a full screen Windows
desktop without a login dialog.
In this solution:
-
Network Station login is not used.
-
One WinCenter session is autostarted.
-
The integrated window manager is not used.
-
If the WinCenter session stops running, the Network Station must be re-booted
to restart the session.
Use the example below to create a defaults.dft file in the CONFIGPATH/
directory.
#################### WinCenter full screen template ########################################
## START CONFIGPATH/defaults.dft
## WinCenter template definition
##
## START TCPIP configuration ##
## Either use name-local-cache stanza or other three lines
## Comment out one of the choices below
set tcpip-name-server-protocol = dns
set tcpip-name-servers[-1] = {"10.2.3.2"}
set tcpip-dns-default-domain = mydomain.com
set tcpip-name-local-cache = {
# { bigsmile 10.2.3.232 }
# { bigeasy 10.2.3.248 }
{ localhost 127.0.0.1 }
# { sorry 10.2.3.211 }
}
## END TCPIP configuration ##
##
## START environment variables configuration ##
## Have to set these since Login is not being used
## The PATH for these values may be different between platforms
##
set pref-environment = {
{"PATH" "MODS/"}
{"HOME" "BOOTPATH/"}
{"BOOTPATH" "BOOTPATH/"}
{"LANGID" "ENU" }
{"MRIPATH" "MRI2924"}
{"NSM_PROD_SYSDEFAULTS" "NSM_PROD_SYSDEFAULTS/"}
{"NSM_ADMIN_SYSDEFAULTS" "NSM_ADMIN_SYSDEFAULTS/"}
}
## END environment variables configuration ##
##
## START xserver configuration ##
## these lines guarantee that the WinCenter server
## will be able to display on the Network Station
set xserver-access-control-enabled = false
set xserver-access-control-enabled-default = false
## END xserver configuration ##
##
## START modules configuration ##
## set this to be empty avoid loading unneeded modules to conserve memory
##
set modules-load-policy = {{ }}
## END modules configuration ##
##
## START screen background configuration ##
## Set this to cover any non-fit of the screen
##
set pref-screen-background-type=solid-color
set pref-screen-background-color=black
## END screen background configuration ##
##
##START command to execute configuration ##
set exec-startup-commands = {
{"wincenter <Host> -resolution fullscreen -noaudio " }
}
##
## END command to execute configuration ##
## END CONFIGPATH/defaults.dft
##########################################################################################
Notes:
-
If TCP/IP is already working properly, remove the TCP/IP section.
-
Replace <Host> with the name or IP address of the host.
This solution allows all Network Stations to display a full screen UNIX
common desktop environment without a login dialog.
In this solution:
-
Network Station login is not used.
-
The integrated window manager is not used.
-
If the UNIX session stops running, the Network Station must be re-booted
to restart the session.
Use the example below to create a defaults.dft file in the CONFIGPATH/
directory.
#################### UNIX Login full screen template #######################################
## START CONFIGPATH/defaults.dft
## UNIX Login template definition
##
## START TCPIP configuration ##
## Either use name-local-cache stanza or other three lines
## Comment out one of the choices below
set tcpip-name-server-protocol = dns
set tcpip-name-servers[-1] = {"10.2.3.2"}
set tcpip-dns-default-domain = mydomain.com
set tcpip-name-local-cache = {
# { bigsmile 10.2.3.232 }
# { bigeasy 10.2.3.248 }
{ localhost 127.0.0.1 }
# { sorry 10.2.3.211 }
}
## END TCPIP configuration ##
##
## START environment variables configuration ##
## Have to set these since Login is not being used
## The PATH for these values may be different between platforms
##
set pref-environment = {
{"PATH" "MODS/"}
{"HOME" "BOOTPATH/"}
{"BOOTPATH" "BOOTPATH/"}
{"LANGID" "ENU" }
{"MRIPATH" "MRI2924"}
{"NSM_PROD_SYSDEFAULTS" "NSM_PROD_SYSDEFAULTS/"}
{"NSM_ADMIN_SYSDEFAULTS" "NSM_ADMIN_SYSDEFAULTS/"}
}
## END environment variables configuration ##
##
## START modules configuration ##
## set this to be empty avoid loading unneeded modules to conserve memory
##
set modules-load-policy = {{ }}
## END modules configuration ##
##
## START screen background configuration ##
## Set this to cover any non-fit of the screen
##
set pref-screen-background-type=solid-color
set pref-screen-background-color=black
## END screen background configuration ##
##
## START command to execute configuration ##
set exec-disabled-commands = {{ }}
set exec-startup-commands = {{ "login <Host>" }}
## END command to execute configuration ##
## END CONFIGPATH/defaults.dft
##########################################################################################
Notes:
-
If TCP/IP is already working properly, remove the TCP/IP section.
-
Replace <Host> with the name or IP address of the host. The solution
assumes that the target host is running a window manager such as CDE or
Motif.
|