SETCLOCK
Sets or reads the battery backed-up hardware clock.
SETCLOCK SAVE sets the date and time of the battery backed-up hardware clock (if your system has one) from the current system time, which is set with the Time editor or with the DATE command. SETCLOCK SAVE is typically used after a DATE command.
SETCLOCK LOAD sets the current system time form the battery backed-up clock. In systems using AmigaDOS Release 2 or later, this is done automatically during the boot process.
The RESET option resets the clock completely. Use this option if the clock is accidentally turned off or LOAD and SAVE do not appear to work correctly.
1> DATE 22-Jan-93 07:15:25
1> SETCLOCK SAVE
saves the date, January 22, 1993, and the time, 7:15 a.m., to the battery backed-up hardware clock. When the system is booted, the system clock is set with the time saved in the hardware clock.
Some Amiga models do not have battery backed-up clocks unless an expansion unit has been installed.
Change the timestamp of a file or directory.
SETDATE <file | pattern> [<weekday>] [<date>] [<time>] [ALL] |
|
SETDATE changes the timestamp, the date and time of the creation or last change, of a file or directory. SETDATE <file> changes the date/time of the file to the current system date/time. SETDATE ALL changes the date and time of all the files and subdirectories matching the pattern entered.
The system clocks are not affected by SETDATE.
You can use output from the DATE command as input to SETDATE.
changes the date and time associated with TestFile to the current date and time.
1> SETDATE TestFile 01-04-91 13:45:32
Changes the date and time associated with TestFile to April 1, 1991, 1:45 p.m.
SETENV with no arguments lists the current global variables.
SETENV with <name> and <string> arguments creates a new global environment variable. The first word after SETENV is taken as the <name>. Everything else on the command line is taken as the <string> argument. Quotation marks are not required.
Global variables are stored in the ENV: directory and are available to all processes. However, if a local variable (defined by SET) and a global variable share the same name, the local variable is used.
Environment variables are called by scripts or other commands by including a dollar sign ($) in front of the variable name.
To remove a global variable definition, use the UNSETENV command.
1> SETENV Editor Extras:Tools/MEmacs
creates the environment variable Editor That can be used with the MORE utility. This specifies the editor as MEmacs, located in the Tools drawer of EXTRAS:. The variable Editor is available in any Shell.
same as above, only the editor specified is ED.
Changes the font of the current Shell.
SETFONT <font> <size> [SCALE] [PROP] [ITALIC] [BOLD] [UNDERLINE] |
|
SETFONT lets you change the font used in a particular Shell window, overriding the System Default Text setting specified in the Font editor. SETFONT is only effective in the window in which it is invoked.
You must specify both a font name and a size when using the SETFONT command. The other options are:
Invoking SETFONT clears the Shell window of its current contents and displays a new prompt, in the new font, at the top of the window. Using proportional fonts in a Shell window is not recommended because the variable character spacing prevents columns of information from lining up and makes editing the command line difficult.
1> SETFONT topaz 11 BOLD UNDERLINE
The Shell window clears and the new prompt is in 11 point Topaz, underlined and boldface.
Sets the keymap for the Shell.
SETKEYBOARD specifies the keymap used by the current Shell. The available files are listed below:
|