Purpose

With no arguments, display the current LRIS lamp status. With
arguments, turn lamps on or off as requested.

Usage

lamp [action]

Arguments

action = one of the following options
on = all lamps on (except halogen)
off = all lamps off
hg = turn on Hg lamp
ne = turn on Ne lamp
ar = turn on Ar lamp
qtz/quartz/hal = turn on internal Halogen lamp
zn = turn on Zn lamp
cd = turn on Cd lamp
You can use upper or lower case in these arguments.

Output

The resultant lamp settings are printed to stdout

Restrictions


Exit values

0 = normal completion

Examples

1) Turn on all line lamps (no Halogen)

lamps on

2) Turn off all lamps

lamps off

3) Turn on the Ne and Ar lamps only

lamps ne ar