On Sun, Jul 12, 2009 at 05:04:58PM -0700, Philip Guenther wrote:
> On Fri, Jul 10, 2009 at 10:12 AM, Emilio Perea<[email protected]> wrote:
> > There have been some changes to the default /root/.login recently that I
> > don't understand, and hope someone can enlighten me.
> >
> > On my oldest server, the root shell is still csh, so the change is very
> > noticeable:  Using the /root/.login from the 4.5 CD, when I login there
> > is a terminal type prompt which has always included the proper terminal
> > type as default.  The /root/.login from the current snapshot always
> > results in an unknown terminal type, so I have to type in the terminal
> > type myself before proceeding.  Is this as intended?
> ...
> > Last login: Fri Jul 10 11:35:12 2009 from herakles.walkereng.net
> > OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009
> ...
> > tset: unknown terminal type !*
> > Terminal type? nxterm
> > Erase is delete.
> > Kill is control-U (^U).
> > Interrupt is control-C (^C).
> > Read the afterboot(8) man page for administration advice.
> 
> Something is weird about your 4.6-almost system:
>  - the error from tset implies that it was passed "!*" on the command line
>  - the "Erase is.../Kill is.../Interrupt is..." output implies that
> tset was *not*
>    passed the -Q option
> 
> The latter would seem to imply that the tset in the /root/.login file
> has either been changed or it is not the tset invocation that's
> causing that output.  Do you perhaps have anything in your /etc/csh.*
> files?

That was it!  The line 

alias tset 'set noglob histchars=""; eval `\tset -s \!*`; unset noglob 
histchars'

which was removed in version 1.9 (25-Apr-1998!) was somehow still in
root's .cshrc.

My apologies...  I'm ashamed to say that I thought .login was executed
ahead of .cshrc and didn't check the man page.

Reply via email to