Programming MacWise Fkeys with a Host Basic Program
September 11, 2008
You can edit MacWise function keys by simply double clicking on a fkey and entering the command.
But if you want all users to have exactly the same function keys, you can write a basic program on the host.
MacWise supports standard Wyse and Viewpoint fkey programming from the host.
You can program the fkey title and command for each fkey.
The host program normally runs during login to customize the MacWise function keys.
The following basic programming examples will work with MacWise as well as with Wyse and Viewpoint terminals.This is how you would program only the F1 key under host control...
PRINT CHAR(27):"z0myF1":CHAR(13): *this is the title for the F1 fkey
PRINT CHAR(27):"z@myCommand for F1":CHAR(13):CHAR(127): *this is the command for the F1 fkey
In the above example, the F1 title becomes "myF1"
The command for F5 becomes "myCommand for F1" with a carriage return after it.
The following is a basic program you can use as an example to program all of the fkey commands and titles. It will program the fkeys to look like this:

* Program the commands for F1 through F16
PRINT CHAR(27):"z@myCommand for F1":CHAR(13):CHAR(127):
PRINT CHAR(27):"zAmyCommand for F2":CHAR(13):CHAR(127):
PRINT CHAR(27):"zBmyCommand for F3":CHAR(13):CHAR(127):
PRINT CHAR(27):"zCmyCommand for F4":CHAR(13):CHAR(127):
PRINT CHAR(27):"zDmyCommand for F5":CHAR(13):CHAR(127):
PRINT CHAR(27):"zEmyCommand for F6":CHAR(13):CHAR(127):
PRINT CHAR(27):"zFmyCommand for F7":CHAR(13):CHAR(127):
PRINT CHAR(27):"zGmyCommand for F8":CHAR(13):CHAR(127):
PRINT CHAR(27):"zHmyCommand for F9":CHAR(127):
PRINT CHAR(27):"zImyCommand for F10":CHAR(13):CHAR(127):
PRINT CHAR(27):"zJmyCommand for F11":CHAR(13):CHAR(127):
PRINT CHAR(27):"zKmyCommand for F12":CHAR(127):
PRINT CHAR(27):"zLmyCommand for F13":CHAR(127):
PRINT CHAR(27):"zMmyCommand for F14":CHAR(127):
PRINT CHAR(27):"zNmyCommand for F15":CHAR(127):
PRINT CHAR(27):"zOmyCommand for F16":CHAR(127):
*Program the commands for Shifted F1 through F16
PRINT CHAR(27):"z`myCommand for SF1":CHAR(127):
PRINT CHAR(27):"zamyCommand for SF2":CHAR(127):
PRINT CHAR(27):"zbmyCommand for SF3":CHAR(127):
PRINT CHAR(27):"zcmyCommand for SF4":CHAR(127):
PRINT CHAR(27):"zdmyCommand for SF5":CHAR(127):
PRINT CHAR(27):"zemyCommand for SF6":CHAR(127):
PRINT CHAR(27):"zfmyCommand for SF7":CHAR(127):
PRINT CHAR(27):"zgmyCommand for SF8":CHAR(127):
PRINT CHAR(27):"zhmyCommand for SF9":CHAR(127):
PRINT CHAR(27):"zimyCommand for SF10":CHAR(127):
PRINT CHAR(27):"zjmyCommand for SF11":CHAR(127):
PRINT CHAR(27):"zkmyCommand for SF12":CHAR(127):
PRINT CHAR(27):"zlmyCommand for SF13":CHAR(127):
PRINT CHAR(27):"zmmyCommand for SF14":CHAR(127):
PRINT CHAR(27):"znmyCommand for SF15":CHAR(127):
PRINT CHAR(27):"zomyCommand for SF16":CHAR(127):
*Program the titles for F1 through F16
PRINT CHAR(27):"z0myF1":CHAR(13):
PRINT CHAR(27):"z1myF2":CHAR(13):
PRINT CHAR(27):"z2myF3":CHAR(13):
PRINT CHAR(27):"z3myF4":CHAR(13):
PRINT CHAR(27):"z4myF5":CHAR(13):
PRINT CHAR(27):"z5myF6":CHAR(13):
PRINT CHAR(27):"z6myF7":CHAR(13):
PRINT CHAR(27):"z7myF8":CHAR(13):
PRINT CHAR(27):"z8myF9":CHAR(13):
PRINT CHAR(27):"z9myF10":CHAR(13):
PRINT CHAR(27):"z:myF11":CHAR(13):
PRINT CHAR(27):"z;myF12":CHAR(13):
PRINT CHAR(27):"z<myF13":CHAR(13):
PRINT CHAR(27):"z=myF14":CHAR(13):
PRINT CHAR(27):"z>myF15":CHAR(13):
PRINT CHAR(27):"z?myF16":CHAR(13):
*Program the titles for Shifted F1 through F16
PRINT CHAR(27):"zPmySF1":CHAR(13):
PRINT CHAR(27):"zQmySF2":CHAR(13):
PRINT CHAR(27):"zRmySF3":CHAR(13):
PRINT CHAR(27):"zSmySF4":CHAR(13):
PRINT CHAR(27):"zTmySF5":CHAR(13):
PRINT CHAR(27):"zUmySF6":CHAR(13):
PRINT CHAR(27):"zVmySF7":CHAR(13):
PRINT CHAR(27):"zWmySF8":CHAR(13):
PRINT CHAR(27):"zXmySF9":CHAR(13):
PRINT CHAR(27):"zYmySF10":CHAR(13):
PRINT CHAR(27):"zZmySF11":CHAR(13):
PRINT CHAR(27):"z[mySF12":CHAR(13):
PRINT CHAR(27):"z\mySF13":CHAR(13):
PRINT CHAR(27):"z]mySF14":CHAR(13):
PRINT CHAR(27):"z^mySF15":CHAR(13):
PRINT CHAR(27):"z-mySF16":CHAR(13):
To purchase an upgrade, visit www.macwise.com
and click on the Buy button.
MacWise allows a Macintosh
to be used as a terminal -- connected to a host computer directly,
by modem, local area network or over the Internet. The emulators
support video attributes such as dim, reverse, underline, 132-column
modes, protected fields and graphic characters sent from the host
computer, as well as enhanced Viewpoint mode. Features include
phone list and dialer for modems, on-screen programmable function
keys, connection scripts and more.
MacWise emulates ADDS Viewpoint, Wyse 50, Wyse 60, Wyse 370, Televideo
TV 925, DEC VT100, VT220 and Prism terminals. Supports ANSI color.
Esprit III color is also supported in Wyse 370 mode. SCO ANSI is also supported.
For more information and a demo, visit www.macwise.com
Visit Carnation Software for other Macintosh Software at www.carnationsoftware.com
Connectivity
1. Built in Modem
2. Telnet / TCP/IP
3. SSH Secure Shell
4. Serial ports via USB to Serial adaptor
5. Also communicates directly with the Mac unix shell
If your office uses a business computer that allows
you to log in as a terminal, you can use MacWise to access your
business data from your Macintosh when you are out of the office
(or in the office)
MacWise will connect your Mac to the office computer using your
modem or with ethernet using a lan connection in your office or
over the Internet.
Rich Love
Carnation Software
richlove@carnationsoftware.com
http://www.carnationsoftware.com
512 858-9234
| |
Keep
up to date with Carnation Software RSS
News |