Home
Products
Sphere SP
µnOS
µnOS 0.98
Information
Documents
Applications
Boxes
Bricks
CPU
CPU-Log
Fly
Mandelbrot
Program Manager
Shell (selected)
SAT
Installation
Download
Order
Support
Contact
deutsch Products » µnOS » Applications » Shell

 
File: shell.exe
 
Size: 40 KB
 
Download: not needed

File is included in the virtual drive of the µnOS demo.
(download µnOS demo)


Description:

The Console application is a very important application throughout the whole operating system.
It allows the user to operate the system by giving commands, executing programs or retrieving information about the system's current state.

The Console application is automatically started when booting µnOS. Console is the only open window you can see on the working screen after system startup.
It is possible to open several Console windows. But if you close all console windows, you won't be able to start or kill any more applications or to execute any commands.

The command set of the Console application is steadily extended. Future versions will implement more commands.


Operating:

The Console is controlled by typed commands.
These commands, their parameters, their output and their description are given in the list below.

Click on a command to get a detailed description.


    clsclear screen
    colorchange font color
    clonestart new shell window
    dirshow directory contents
    execexecute program
    fontchange font
    helpdisplay all shell commands
    killterminate a running process
    memgeneral memory info
    modechange shell size
    procinfoprocess list
    typedisplay file content
    verdisplay µnOS version number





Detailed Console Command Descriptions



cls


Parameters:none, color or RGB values
Description:Clears the Console screen.
There can be given either no parameter, a color name or a RGB value.

Valid color names are:

white, lightgray, darkgray, black, red, green, blue, magenta, btown, yellow, cyan, lightcyan, lightred, lightgreen, lightblue, lightmagenta.

RGB values are specified by three decimal numbers: R G B (each between 0-255).
Example:cls yellow
cls 192 168 192



clone


Parameters:none
Description: Opens another, independent shell window.
The command is equivalent to the manual execution of "shell.exe"'.
Example:clone



color


Parameters:none, color name or RGB value
Description: Changes font color.
There can be given either no parameter, a color name or a RGB value.

Valid color names are:

white, lightgray, darkgray, black, red, green, blue, magenta, btown, yellow, cyan, lightcyan, lightred, lightgreen, lightblue, lightmagenta.

RGB values are specified by three decimal numbers: R G B (each between 0-255).
Example:color blue
color 192 0 0



dir


Parameters:drive and pathname, -p (optional)
Description: Lists the files located in the specified path.
Additionally, the attributes, size, date and time of the files are displayed.
This command can also be executed without any parameters. In this case the files of the current directory are listed.
The optional parameter -p displays the content only one page at once.
Example:dir z:/



exec


Parameters:filename
Description: Starts the application specified by the parameter.
The parameter need not be the full filename (e.g. "bricks.exe"). The name without extension (e.g. "bricks") will also do it.
If the application is successfully started, it shows the PID for this proccess. This PID is important if the application should be terminated with the kill command.
Example:exec bricks.exe



font


Parameters:Font name
Description: Changes the console font.
The parameter is the font name and should be either: tiny, small, normal or big.
Example:font small



help


Parameters:none
Description: Displays a list of all available console commands.
It also shows a short description for each command.
Example:help



kill


Parameters:process ID (PID)
Description: Terminates a running program, specified by the PID.
It also closes the program window and removes the resources occupied by the process.
The PID can be found out with the procinfo command.
Example:kill 12



mem


Parameters:none
Description: Displays information about the memory (RAM).
This covers used memory, free memory and reserved (not usable) memory.
Example:mem



mode


Parameters:width, height
Description: Resizes the shell.
Sets the width and height (in characters) of the shell.
Example:mode 60 40



procinfo


Parameters:-p (optional)
Description: Displays a list of all running processes.
Information shown for every process:
- PID: unique process ID
- MEM: memory used by process
- NAME: process name (=program name)
The optional parameter -p displays the content only one page at once.
Example:procinfo -p



type


Parameters:filename, -p (optional)
Description: Displays the content of a text file.
The parameter filename specifies the file to display.
The optional parameter -p determines that the file is displayed screen after screen in the console window.
Example:type readme.txt -p



ver


Parameters:none
Description: Displays the version number of µnOS.
Example:ver
 
 
 

 last website update: 05/17/2010GTaC | GToU | Imprint© 2001-10 by Miray