1. (WINDOWS) Increase maximum length of GDI commands from 128 to 512, and eliminate GPF if you exceed that.
2. (WINDOWS) Fix a problem with Tracker save area not displaying Latin1 characters properly.
3. (WINDOWS) Implement a new command line switch, -mx which is similar to -m, but which merely eliminates the min/max/close and system menu buttons from the window title bar. It does not affect the initial size or position, and still permits the user to resize and reposition the window using the mouse.
4. Implement a new SET.LIT parameter (SET TITLE) which allows you to automatically establish the title which appears on the Window title bar. This applies to A-Shell/Windows, and to any other platform where ZTERM is running as a terminal emulator and the current emulation mode is AM6x or WYSE50.
The syntax is:
SET TITLE ; (set new title) SET TITLE ; (display current title def) SET TITLE ? ; (display help)
where can be any combination of literal characters and the following special variables:
$VA--A-Shell version (e.g. "4.6(752)" ) $PA--Platform A-Shell was compiled for (e.g. "Windows/32") $NJ--Name of the current job $NP--Name of the current program (.RUN only) $NC--Name of current program or LIT command $VP--Version of current program $ND--Name of current disk device (e.g. "DSK0") $PN--Current ppn (e.g. "[7,6]")
If the $NP, $NC, $ND, and/or $PN variables are used, the title will be updated automatically whenever the corresponding information changes.
Example:
.SET TITLE $NJ running $NP in $ND:$PN
This would display something like:
TSKAAA running MYPROG in DSK0:[100,4]
Note that this new feature requires both SET.LIT 1.1(124) and A-Shell 4.6(752).
If you wanted to modify the title string definition from within a program, you could do it by using the following XCALL:
XCALL MIAMEX,85,1,TITLE$ ! MIAMEX #85: set window TITLE ! (2nd arg is 0 to retrieve TITLE)
Otherwise, you can make a one-time change to the title string using the following TAB commands:
tab(-10,1);TITLE$;chr(127); ! set minimized title tab(-10,2);TITLE$;chr(127); ! set window title bar title