Please enable JavaScript to view this site.

A-Shell Development History

1. (WINDOWS) XCALL MIAMEX,96,STATUS,FILE{,ACTION,PARMS,DIR,SHOWFLAGS} allows you to execute the specified (or default) Windows action for the specified file/object/URL. For example,

 

XCALL MIAMEX,96,STATUS,"http://www.microsabio.com"

 

Will launch your default browser and point it at our home page.  STATUS will come back as 0 for success, else one of the following:

 

-1 = Out of system resources  2 = ERROR_FILE_NOT_FOUND  3 = ERROR_PATH_NOT_FOUND  5 = SE_ERR_ACCESSDENIED  8 = SE_ERR_OOM (out of memory)  11= ERROR_BAD_FORMAT  26= SE_ERR_SHARE  27= SE_ERR_ASSOCINCOMPLETE  31= SE_ERR_NOASSOC  32= SE_ERR_DLLNOTFOUND

 

FILE is a string containing a filespec or a URL.

 

ACTION is an optional action to perform ("open", "print", "find", "edit", "explore".) The range of actions defined will vary from  one type of file/object to another. If you don't specify ACTION  or leave it blank, the default action will be performed (which is  probably what you want.)

 

PARMS (string) is an optional list of parameters. This would only  be valid for non-document objects, and again would depend on the  system associations for that object. (In almost all cases you  would want to omit this or leave it "".)

 

DIR (string) is an optional starting directory for the action. Again,  this can usually be safely omitted or left as a null string ("").

 

SHOWCMD is an optional numeric parameter specifying the way to show  the window launched by the program associated with the object and  action. If omitted, the default window size will be used. Note  that if you do specify the parameter, be aware that a value of zero  means to make the window invisible. The values are the same as  for XCALL MIAMEX,77:

 

SW_HIDE  0  SW_SHOWNORMAL 1  SW_NORMAL 1  SW_SHOWMINIMIZED 2  SW_SHOWMAXIMIZED 3  SW_MAXIMIZE  3  SW_SHOWNOACTIVATE 4  SW_SHOW  5  SW_MINIMIZE  6  SW_SHOWMINNOACTIVE 7  SW_SHOWNA 8  SW_RESTORE  9  SW_SHOWDEFAULT 10  SW_FORCEMINIMIZE 11  SW_MAX  11

 

Note that this is only a suggestion to the target action/program;  we have no way of forcing it to accept the suggestion.

 

2. (WINDOWS) XCALL MIAMEX,97,DIRSPEC,STATUS allows you to create an arbitary Windows directory. DIRSPEC is any legal Windows directory specification. STATUS will be 0 on success. Similar to XCALL MIAMEX,38 except that one only works for creating PPN-type directories within an existing MIAME device. This one works for any kind of directory.

 

Note that this would not be very useful except for the fact that A-Shell/Basic allows you to access native-Windows filespecs by simply including a full Windows pathname in most places where an AMOS spec would normally be used (e.g. OPEN, LOOKUP, etc.) Also, many LIT commands support native filespecs provided you enclose them in doublequotes. (e.g. .VUE "C:\Program Files\XYX.LST")

 

3. (WINDOWS) Beta release of A-Shell/Windows Telnet Server (AWTS), supports Telnet connections using vt220, wyse50, am62a and am62c emulations to a Windows machine. Launch the server on the windows machine using TELSER.LIT (use TELSER/? for usage notes.)

 

4. (WINDOWS) The PITCH=AUTO calculations now ignore trailing blanks in the printfile, thus eliminating situations where in the past it was using a smaller font than necessary.

 

5. SBR=TTI_PGRW now activates misc adjustments to $/H, and activates ^G as a help key in SEL1 and INFLD.

 

6. (WINDOWS) Workaround bug in NT4 kerned font output which was causing every 3rd, 4th, or 5th line to not display on a repaint operation. Bug was introduced in edit 766 when we started forcing our own kerning to ensure uniform font spacing.

 

7. Fatal A-Shell startup errors (like license exceeded) are now logged to the ashell.log file. This is particulary beneficial when the error occurs in a background job. Previouly, in some such cases, not only did you not see the message but the background or child instance may have become locked up.

 

8. LOAD.LIT 1.0(103) now supports an optional COMMON "implementation" name ("COMMON" being the standard, but there are other custom versions, such as "XOKEY", "XUSER", "ASMENU"); if specified, that memory used by that "implementation" of COMMON is cleared.

 

9. INFLD now saves/restores line 24 when displaying warning and other messages there.