home *** CD-ROM | disk | FTP | other *** search
- Endinburgh SML for OS/2 2.x and OS/2 2.x PM and DOS/386 (v0.3)
- --------------------------------------------------------
-
- This package contains the following software:
- sml.exe - Standard ML for OS/2 2.x
- smlpm.exe - Standard ML for OS/2 2.x PM
- smldos.exe - Standard ML for DOS (& Windows)
- smlref.inf - A language reference of ML (german)
- src\* - A few sample files
-
- ===============================================================================
-
- Featurs of SML for OS/2 2.x:
- - 32 Bit and flat memory for high performance
- - cut&paste features of OS/2 can be used
- - Editor and SML can be used at the same time
- - ML-function system can be used to call OS/2 programs
- - uses two color when in ANSI mode
-
- Features of SML for OS/2 2.x PM;
- - 32 Bit and flat memory
- - built-in editor
- - undo/redo, cut&paste, support of clipboard
- - makes use of OS/2's multitasking and multithreading capabilities
- (at least 4 thread at a time)
- - online reference for language
- - context-sensitive help
- - keyboard macros for frequently used words (e.g. Alt-d=datatype)
- - syntax expansion
- - use OS/2 2.x std. dialogs for load/save and fonts
-
- [ For both version OS/2 2.0 & Service Pak and 8 MB of memory are recommended ]
-
-
- Features of SML for DOS/386
- - uses 32 Bit and flat memory
- - DMPI compliant (runs under OS/2-DOS-box (for 2.0 serv.pak necessary),
- windows 3.x and works together with some memory-resident-editors).
- - history function
- - ANSI 2 colors
-
-
- ===============================================================================
-
- Usage:
-
- OS/2 2.x: sml [-a] [-h heapsize] [-q] [sml.exp]
- -a: use ANSI colors
- -h: size of heap in bytes (4000 recommended)
- -q: quiet mode
- sml.exp: import file
-
- for more information type view sml.inf
-
-
- OS/2 2.x/PM: smlpm
- (smlpm does not take any paramters. If it does not work
- select Options/change options.)
-
- for more information click on help
-
-
- DOS: smldos [-a] [-h heapsize] [-q] [-f ramdisk] [-d] [-n] sml.exp
- -a: use ANSI colors
- -h: size of heap in bytes
- -q: quiet mode
- -f: specify the ramdrive. sml is polling on the ramdrive
- for sml.ml. Whenever this file is saved, SML loads it
- into memory.
- for example:
- sml -f h: -h 2000 -> 1. Window
- notiz.exe h:\sml.ml -> 2. Window
- Whenever h:\sml.ml is saved, sml evaluates sml.ml
- When running under OS/2 or Windows a minimum cpu time
- is used since sml gives away its timeslice when no key is
- pressed
- -d: Output by using DOS functions (e.g. for piping stdin/stdout)
- (without history)
- -n: slows down NNANSI.SYS. This switch is necessary for nnansi!
-
- By default smldos.exe uses bios for video output/keyb. input
- SML can only be left by using "exit".
-
- ===============================================================================
-
- Using the DOS version under Windows 3.1 and OS/2 2.x
-
- Windows:
- 1. The DOS windows are very slow. You a fast machine.
- (or try the OS/2 dos boxes, s. below)
- 2. Try some tuning with .PIF files.
- (With bad settings the program may not work in the correct way.)
- 3. Start smldos.exe with e.g. -h 3000 -f h:
- The -h switch specifies the amount of memory used. 3 or 4 MB
- is a good value. The -f swith specifies the ramdrive.
- Start your favourite Windows editor. Save your ML file als
- x:\sml.ml where x is your ramdrive.
- smldos.exe is polling (because of -f switch) on your
- ramdrive. As soon as you save the file smldos.exe loads it
- into memory. Do not forget to give smldos.exe some
- background priority.
- 4. smldos.exe causes an error when it finishes work.
- This as a Windows bug.
-
- OS/2:
- 1. Service Pak necessary
- 2. work analog as for windows. Use e or epm instead.
- e.g. smldos -h 3000 -f h: and epm h:\sml.ml
- 3. Under OS/2 this solution runs faster
-
- ===============================================================================
-
- Known problems:
- - The font dialog might not work under OS/2 2.0
- (I don't know wether this is a problem of OS/2 or my test PC)
- - The small editors do not work with more than 64 K.
- (They are intended to be used for testing and experimenting.
- Try to use a real editor instead. use File/Import. This
- works with very large files.)
- - For large files "Eval" might not work
- (Try to use "Use" instead)
- - Sometimes the temorary files are not deleted.
- (They are created only when using "Use". Try deltmp.cmd)
- - smldos.exe sometimes get an error on program start.
- (I have not yet isolated this problem. Just try tor rerun.)
- - smldos.exe does not support the system function.
-
- ===============================================================================
-
- The source code of SML is (c) by Edinburgh University.
-
- Porting to DOS, porting to OS/2 and writing the PM-Shell done by myself.
- All software written by myself is supplied free.
-
- There are no warranties for any damages caused directly or indirectly by
- this software. All software is supplied AS IS.
-
- All comments are very welcome.
-
- I can be reached at:
-
- Felix von Normann
- Innstrasse 82
- D-94036 Passau
- e-mail: normann@peschl.fmi.uni-passau.de