ARPUS/ce, Version 2.6.2 (03/10/05) (SCCS 1.2) _______________________________________________________________________________ ce_isceterm "See if the terminal is a ceterm" DESCRIPTION: The ce_isceterm program is intended to be run from the UNIX command window or a shell script such as .profile, .kshrc, .login, or .cshrc. The program sends a special control sequence to the terminal emulation program (such as ceterm, xterm, dtterm, hpterm, ...). The sequence is ignored by terminal emulation programs other than ceterm. Ceterm provides the expected response and the program uses this to set the exit status. An exit status of 0 indicates that the tty referenced by stdin and stdout is a ceterm. Otherwise the status is 1. EXAMPLES: if ce_isceterm then echo hello echo this is a ceterm export PAGER="cv -man -geo 500x700+0+0 -fg navy -bg cornsilk" export EDITOR="ce" else echo goodbye export PAGER="more" export EDITOR="vi" fi RELATED HELP FILES: ceterm (ceterm - from shell prompt) intro (Introduction to Ce) commands (List of Commands) keyboard (common keys) support (customer support) _______________________________________________________________________________ Copyright (c) 2005, Robert Styma Consulting. All rights reserved.