Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!seismo!ll-xn!ames!sdcsvax!allyn From: allyn@sdcsvax.UUCP Newsgroups: comp.sys.att Subject: Re: 7300/3B1 user agent IS optional Message-ID: <3385@sdcsvax.UCSD.EDU> Date: Mon, 29-Jun-87 01:53:07 EDT Article-I.D.: sdcsvax.3385 Posted: Mon Jun 29 01:53:07 1987 Date-Received: Tue, 30-Jun-87 02:12:31 EDT References: <482@maxepr.UUCP> Organization: U.C. San Diego Lines: 35 In article <482@maxepr.UUCP>, ken@maxepr.UUCP (Ken Brassler) writes: > In my humble opinion, the interface to windows and user agent IS > optional. All you have to do is edit your .profile and remove the > line that says 'exec /usr/bin/ua', and you will remain in the shell > specified in /etc/passwd. This can be /bin/sh or /bin/ksh (and even > /bin/csh is floating around). > > Several people have set up .profile to look at $TERM to decide whether > to exec UA for a given login. Remote non-graphics terminals and > dialups get /bin/sh as an interface. system v login has the nifty feature that extra words on the login line (after your login name) are put into the environment. extra words having the form name=value are put in the environment unchanged, and words without a = are put into the environment with names like L0, L1 etc. these can be used in the .profile to indicate specific actions when logging in: if [ "$L0" = "ua" ]; then exec /usr/bin/ua fi so if i log in normally with: login: myname then i get put into my normal shell. if i log in with: login: myname ua then i get the user agent. incidentally, i can't stand the user agent. -- From the virtual mind of Allyn Fratkin allyn@sdcsvax.ucsd.edu or EMU Project {ucbvax, decvax, ihnp4} U.C. San Diego !sdcsvax!allyn