Problem
When a Merge DOS or Windows session is run, pressing <Alt><Ctrl><Fn>
does not switch multiscreens. Pressing <Alt><Fn> does switch
multiscreens, but it causes a DOS or Windows application to not
function correctly.When Windows is run the "<Alt>Fn4" should attempt to exit Windows, instead the multiscreen is changed to tty04.
Cause
When an SCO system boots, the multiscreen switch key sequence is <Alt><Fn>, until an X-server has started, which then sets the multiscreen switch key sequence to <Alt><Ctrl><Fn>.
The SCO multiscreen is designed to have each individual program on a multiscreen run its own screen switch processing, allowing each program to have its own private and potentially confusing screen-switching key sequence.
Because of this design and the confusion that it might cause, Merge was designed to use the SCO default system multiscreen switch key sequence, <Alt><Fn> at system boot and <Alt><Ctrl><Fn>. This is the same sequence as the SCO X-server when the SCO X-server is started.
Solution
Merge supplies a program, "/usr/bin/switchkey" to display and
change multiscreen settings. This is identical to SCO's X-server
command "/usr/bin/X11/xswkey". The arguments to set the multiscreen
switch screen key sequence are -a, -c and -s corresponding to <Alt>,
<Ctrl> and <Shift> and can be used separately or together.To display the current setting of the multiscreen key sequence, use:
# switchkeyTo set <Alt><Ctrl><Fn> as the multiscreen switch key sequence, use:
# switchkey -caTo override the system multiscreen switch key sequence, <Alt><Ctrl>, with <Alt><Ctrl><Fn> on a system that never starts X-windows, create the following script, /etc/rc2.d/S99screen, as root user:
#!/bin/sh
# /etc/rc2.d/S99screen
# Set <Alt><Ctrl><Fn> as multiscreen switch key sequence.
# when system goes multiuser.
/usr/bin/switchkey -ca </dev/tty01> /dev/tty01 2>1&Make sure that permission is set to 644 and owner is "root" and group is "sys".
See also
man(M) multiscreen