From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from uucp-gw-1.pa.dec.com ([16.1.0.18]) by archone.tamu.edu with SMTP id <22531>; Sat, 24 Aug 1991 01:02:17 -0500 Received: by uucp-gw-1.pa.dec.com; id AA11525; Fri, 23 Aug 91 12:23:43 -0700 Received: from utopia.adobe.com by adobe.com (4.0/SMI-4.0) id AA07138; Fri, 23 Aug 91 11:57:33 PDT Received: by utopia.adobe.com (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0) id AA04305; Fri, 23 Aug 91 11:59:31 PDT Date: Fri, 23 Aug 1991 13:59:31 -0500 From: haahr@adobe.com Message-Id: <9108231859.AA04305@utopia.adobe.com> Received: by NeXT Mailer (1.63) To: rc mailing list Subject: root prompt (was: early reaction(s) to rc) Arnold Robbins writes: > Byron has told me in private mail he doesn't think the shell should > automatically change prompts for root. I disagree, but not terribly > strongly. My own suggestion for a root prompt would be ';; '. a simple work-around, which does not require hard-coding anything in the shell is fn su { prompt=('!; ' '') /bin/su $* } for logging in as root, just set the prompt in .rcrc. note that i use !; as my root prompt. (! is almost a no-op: status gets set wrong, but that's a minor inconvenience.) paul haahr adobe systems incorporated haahr@adobe.com ...!decwrl!adobe!haahr +1 415 962 6056