- Machine data needed to generate the licence code
can also be obtained by starting any of the programs from a window (CMD).
If no valid licence code is found, the program prints this data into the
window and stops.
- If Moloc is installed on a server, the licence-code
file (.licence, key.licence) must contain a code line for each machine
from which Moloc is to be started.
Linux, Irix, OSX
- Install the package in a suitable directory (e.g. /apps).
- The programs can now be started in a shell window with the command,
- To customize, you can set an alias in the
.cshrc (or .logon) file, e.g.:
alias mx '/apps/camm/moloc/bin/Moloc \!* &'
This will enable you to start Moloc on a C-shell with the command 'mx'.
- Alternatively or in addition, you may extend the
path to include the moloc/bin directory with the following line in the
set path = ($path /apps/moloc/bin)
Now, you can start any program in the moloc/bin directory by just
typing its name into a C-shell. The program will run in the foreground
unless you terminate the command with a '&' letter, e.g.:
Moloc -d my_structures.sd &
- Install the package in a suitable directory (e.g. C:\apps).
- Disable Windows Aero (Vista or later)! Otherwise the mouse might
not work propery with Moloc. (see
- Windows Aero appears to trap mouse signals to perform the
so-called mouse gestures (Aero-Peak, -Shake, -Snap) such that
Moloc does not get the full set of signals. Disabling Aero seem
not possible in Windows 8 and Windows 10 (?). In this situation
Moloc can still be operated properly by switching to key-control
(.../:/h), which uses keypad and arrow-keys for view manipulation.
Consult the corresponding help or read a description given in the
'beginners corner', section 'mouse' (start moloc/www/home.html of
- Start any program from a CMD-shell with the command,
By the way, a CMD-shell is opened by clicking the Start-ikon
(lower-left corner) and then selecting "Run". In the appearing
field type "CMD" and hit OK.
- Start a program by double clicking its program ikon
in the file explorer.
In this case a new, temporary CMD-shell opens which disappears
again on program termination.
A disadvantage of this procedure
is that the current directory is the moloc/bin directory itself.
- To customize, you may generate a shortcut
on the desktop with the target: C:\apps\moloc\bin\Moloc.exe
Now you can modify the directory in which the program starts by
modifying the properties of the shortcut, in particular the item
'Start in:' on the pane 'Shortcut'.
Now Moloc starts in the desired directory by double-clicking
this desktop ikon.
- To start Moloc in the background, an example file, Moloc.bat,
is provided, which is found in the moloc directory.
Move this file to the C:\Windows (C:\WinNT) directory (which is
in the path) to be able to start Moloc in a CMD-shell with the
Of course, you will have to edit the file in case the moloc path
is different from C:\apps\moloc\bin. If the path contains blanks,
make shure to put it in double quotes properly, e.g.:
start /B C:\"Program Files"\moloc\bin\Moloc.exe %1 %2
(start /B "C:\Program Files\moloc\bin\Moloc.exe" %1 %2 will not
work in Windows XP!)
- If the moloc directory is located on a server the path in
shortcuts or .bat files must, of course, include the server.