|
|
HP-UX Reference Volume 1 of 5 > ccue(1)Series 800 Only |
|
NAMEcue — HP Character-Terminal User Environment (CUE) DESCRIPTIONCUE provides an easy-to-use, attractive, customizable environment that allows users on Series 800 HP-UX systems to easily identify themselves to the system and begin a work session. See DEPENDENCIES for supported terminal types. A menubar is available for changing the native language of the session, changing the type of session to start upon a successful login, or getting on-line help. To obtain context-sensitive help at any time, press the function key labeled HELP (f1). A pulldown menu and function keys (f1-f8) are displayed, allowing the user to modify various options or to get help. Before the login is initiated, the user has the option of interactively changing the native language of the session and the type of session to start upon a successful login. The default native language is C, but the language is easily modifiable by entering the Language Menu which is accessible by selecting the Configuration item in the menu bar. The native language can also be specified as a parameter to cuegetty (see cuegetty(1M)). The default session type is the POSIX shell, sh, but the session type can be easily changed to tsm, keysh, or csh by entering the Session Type Menu which is accessible by selecting the Configuration item in the menu bar. The following standard login features are available:
CUE displays a visual screen that prompts for the username and corresponding password. If your username does not have a password, press the <carriage return> key to skip this field. Terminal echo is turned off (where possible) during typing of the password so that it will not appear on any written record of the session. After three unsuccessful login attempts, a hangup signal is issued. If password aging has been invoked by the super-user on your behalf, your password may have expired. In this case, you will be diverted into passwd to change it, after which you can attempt to login again. See passwd(1). If login is not successfully completed within a certain period of time (e.g., five minutes), the terminal may be silently disconnected. After a successful login, the accounting files are updated, initializing the user and group ids, group access list, and working directory. If the session type chosen is tsm, the SHELL to start in each tsm session is determined from corresponding user entries in the /etc/passwd file. cue then forks the appropriate shell by using the last component of the shell pathname preceded by a - (for example, -sh or -ksh). When the session type is invoked with its name preceded by a minus in this manner, the shell performs its own initialization, including execution of profile, login, or other initialization scripts. For example, if the user login shell is sh(1) or ksh(1) the shell executes the profile files /etc/profile and $HOME/.profile if they exist (and possibly others as well). Depending on the contents of the profile files, messages regarding mail in your mail file or any messages you may have received since your last login may be displayed. At this point, cuesession is started to perform accounting procedures, display messages, and start your session. If /var/adm/btmp is present, all unsuccessful login attempts are logged to this file. This feature is disabled if the file is not present. A summary of bad login attempts can be viewed by users with appropriate privileges by using lastb, see last(1M). If /etc/securetty is present, login security is in effect, meaning that only users with appropriate privileges are allowed to login successfully on the ttys listed in this file. Restricted ttys are listed by device name, one per line. Valid tty names are dependent on installation. Some examples could be console, tty01, ttya1, etc. Note that this feature does not inhibit a normal user from using su. Starting CueThere are several methods that can be used to start cue.
Multiple cue logins may run simultaneously on separate terminals attached to the same local host. cuegetty can be configured in the /etc/inittab file for all users. Remote users to the CUE system must access CUE by entering the cue command at the command-line prompt or as the last item in the user's .login configuration file. EXTERNAL INFLUENCESEnvironment Variablescue invokes the user's session with the following default environment:
Several methods are available to modify or add to this list depending on the desired scope of the resulting environment variable. Basic environment variables can be set for all CUE users on a system by setting the values in /etc/profile and /etc/csh.login. Personal environment variables can be set on a per-user basis in the script file $HOME/.profile for sh and ksh users or .cshrc for csh users. Note that alias and function definitions need to be included in the file specified by ENV for ksh, as this file will be sourced for each invocation of the shell. For csh users, the .cshrc file should be structured such that it cannot generate any output on standard output or standard error, including occasions when it is invoked without an affiliated terminal. The rcp command sources the .cshrc file and any output generated by this file, even to standard error, causes problems. Commands such as stty should be placed in the .login file, not in .cshrc, so that their output cannot affect rcp. For users with appropriate privileges, PATH is augmented to include /etc. VT320 Terminal SupportBecause the VT320 terminal has predefined local functions for keys labeled as F1, F2, F3 and F4, users should use following mapping when they desire to use function keys:
VT100 Terminal SupportVT100 does not allow the (f1-f8) function keys to be configured. Therefore, the following keyboard mappings will apply to VT100 terminals:
Configuration: HP 700/60 terminal in DEC mode, or DEC terminal with PC-AT type keyboardCustomers using the following configuration may want to be aware of the following keyboard difference. It may be possible for a user with the "HP 700/60 terminal in DEC mode, or DEC terminal with PC-AT type keyboard" configuration to be told to press function key F1 through F4 to achieve some desired result. For HP 700/60 terminal in DEC mode or DEC terminals, these functions keys may be mapped onto PF1-PF4 keys. (see "Keyboard Mappings"). However, the PC-AT type keyboard does not provide PF1, PF2, PF3, or PF4 keys, as does the DEC/ANSI keyboard. Keyboard Mappings
Wyse60 Terminal SupportOn Wyse60, use DEL (located next to Backspace) key to backspace. On an HP 700/60 with a PC-AT type keyboard in Wyse60 mode, the DEL key is located in the bottom row on the number pad. Wyse60 terminals provide a single line to display softkey labels unlike HP terminals which provide two lines. Sometimes this may result in truncated softkey labels. For example, "Help on Context" label for F1 may appear as "Help on C". Some standard labels for screen-oriented applications such as SAM and swinstall are as follows:
InternationalizationAll screens, labels, and messages are localizable. The message catalog cue.cat contains the localized representations of the default labels and messages. cue will read the appropriate message catalog indicated by the LANG environment variable and display the localized strings. By selecting a native language in the Language Menu, the language of the CUE screens and the future work session can be specified. If the the message catalog exists for cue in the language selected, cue will be redisplayed in that language. If not, the CUE screens will continue in the current language and the work session that is started after a successful login will be started in the language selected. In either case, the LANG environment variable will be set appropriately for the resulting work session. If cue will be started on the command line or as the last item in the .login file, the CUE screens will be brought up using the language specified by the LANG environment variable. If CUE screens do not exist, then the default native language, C, will be used. To use cue with Asian languages, the AWTERM environment variable must be set to hpterm-asian. This will allow the text in Asian fonts to be displayed properly by cue. If cue will be started by cuegetty, it is possible to start up the CUE Login Screens in a language other than the default, C, by invoking cuegetty with the -L nls_language option. Of course, CUE screens and the cue.cat file must exist for the nls_language specified. DEPENDENCIESCUE is available only on Series 800 systems, and is compatible only with the following terminals:
WARNINGScue is an HP proprietary command, which will be obsoleted in a future release, and is not portable to other vendor's platforms. FILES
|
|