scosh -- menu-driven SCO Shell with calendar, mail, and calculator


scosh [ -v ] [ calendar | email | calculator ]


SCO Shell is a menu-driven shell, including calendar, calculator and electronic mail applications. The calendar is a distributed application suitable for workgroup coordination across a network.

For information on how to use the SCO Shell, please refer to ``Using SCO Shell'' in the Operating System User's Guide.


The command scosh executes the script /usr/bin/scosh, which initializes the curses(S) and terminfo(M) based screen handling and invokes the desktop. scosh reads the environment variable OALIB to locate the path to its support files and binaries; these are located in /usr/lib/scosh/* by default.

If the flag -v is specified, scosh prints its current version number and exits.

Once scosh has initialized the terminal, it executes the scosh desktop application (by default), or another component of the Shell (if specified). For example scosh email invokes the email application.

When logged in as root, it is possible to start scosh in administration mode by typing scosh adm. In administration mode, the Utility menu includes entries for printer configuration and calendar server maintenance. In addition, changes to system defaults (window positions, menus, application list, and so on) are saved in the global default files. If scosh is started by a user and cannot find the local configuration files in the user's home directory, it loads the system default configuration files instead.

scosh system files are stored in /usr/lib/scosh by default. Runnable scosh applications are located in this directory, along with the default preference (application configuration) files (typically .caln_pref, .mail_pref, and .sdsk_pref).

The subdirectory /usr/lib/scosh/pipes is used by the Shell system for named pipes between components, and should not be removed.

The subdirectory /usr/lib/scosh/opadm contains configuration utilities; for example, /usr/lib/scosh/opadm/calutil is the front end to the calendar administration utilities. These programs are invoked by the desktop application when the utility menu is selected in administration mode.

The subdirectory /usr/lib/scosh/english/us (or similar) contains localization files that match the Shell to the language of the country for which it is installed. These files follow the conventions for configuration file nomenclature (below).


The standard procedures for configuring or customizing the Shell are described in ``Using SCO Shell'' in the Operating System User's Guide. SCO Shell retains its configuration between sessions by storing them in user configuration files, in the user's home directory.

As noted above, to carry out global configuration of the default Shell state, it is necessary to log in as root. If user configuration files exist, these override the default configuration; therefore, it is necessary to remove these files or copy the default file to the users' home directories if you want to take advantage of the new default configuration.

In administration mode, the Utility menu contains additional choices for printer and calendar administration.

Environment variables

The following environment variables are specific to Shell:

Location of calendar data.

Location of SCO Shell system files. Defaults to /usr/lib/scosh.

Search path for configuration files.

Location of terminal and printer definition files.
In addition, the following related operating system environment variables may be referenced by the Shell during normal use:

User's home directory.

User's login shell.

User's current terminal type.

The terminal database setting in use.


Configuration files store the definitions of forms, menus and other structures used by the applications and utilities. All configuration files have nine character names of the form xxxx_yyyy, where xxxx is an abbreviation for the associated binary (for example, caln is short for calendar) and yyyy is the type of configuration file (such as strs for prompt string files). The abbreviations used are as follows:


Alias utility.

Calendar administration (holidays).



Desktop. (Includes basic desktop display, file operations, and so on.)

Help system. (Each application that has help available has a _help file. Help text common to all applications is compiled into the help utility.)

Mail application.

Menu generator (used in customizing the application and utility menu lists).

Mail creator.

Printer configuration utility. (This application is only accessed from the system administrator's utility list.)
File types:

compiled error strings

form definitions

help text

compiled menu definitions

compiled prompt strings
Other files:

This file contains the clipboard types and their descriptions. The three letter acronym at the start of the line should not be changed.

This file contains the copyright message used by the Shell. It is compiled into oacpyrt by the cnvmsg program.

printer definition files
Printer definition files are stores in /usr/lib/sco/printers, with the exception of .defprint (default printer). Currently only one printer definition file is provided (lp).

application and utility lists
These files include .appllist2, .appladd, .appladm, .utillist2, .utiladd, and .utiladm. All are in /usr/lib/scosh/language/country. They can be edited directly or by using the menu generator. If you edit these files manually, ensure that the name field is no more than 12 characters long, and the description is no more than 20 characters. Longer values will be truncated when mgen is run.

shell_strs contains all the strings used by the shell scripts in /usr/lib/scosh/utils and /usr/lib/scosh/opadm.

Various user directory to text translator files reside in this directory. Used when pasting a user directory entry from the clipboard into a mail message.

Used by the color configuration utility. Entries in this file follow the form token <Tab> description. Exists in /usr/lib/scosh/lang/country/.

See also


``Using SCO Shell'' in the Operating System User's Guide

Standards conformance

scosh is not part of any currently supported standard; it is an extension of AT&T System V provided by The Santa Cruz Operation, Inc.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003