Subject: Re: ksh and ssh questions
To: John Klos <john@sixgirls.org>
From: Frederick Bruckman <fredb@immanent.net>
List: port-mac68k
Date: 02/12/2002 18:02:47
On Tue, 12 Feb 2002, John Klos wrote:
> > Secondly, I'm using the Korn shell on both machines. They both claim
> > to be the same version (PD KSH v5.2.14 99/07/13.2). The first few
> > lines of my .env are:
> >
> > if [ ! -o interactive ]; then
> > return
> > fi
> >
> > On the OpenBSD machine this works as intended. On the NetBSD machine I
> > get things like this:
> >
> > bree 0 3:09pm:/usr/share/misc> man tput
> > [: interactive: unexpected operator
>
> Hmmm... Can't help you there... anyone else?
This is what I have in ENV=~/.shinit:
# Interactive only follows
#
case $- in *i*)
blah
esac # interactive
Frederick