Skip site navigation (1)Skip section navigation (2)
Date:      20 Dec 2002 19:32:54 -0800
From:      Joe Kelsey <joe@zircon.seattle.wa.us>
To:        redjupiter <redjupiter@ntlworld.com>
Cc:        FreeBSD Stable <freebsd-stable@FreeBSD.org>
Subject:   Re: vi, ksh93, XFree86 and FreeBSD-stable 4.7#1
Message-ID:  <1040441574.461.73.camel@zircon>
In-Reply-To: <1040440694.62467.1.camel@BYBLOS.pheonicia>
References:  <3E03C351.6070209@ntlworld.com> <1040434366.461.55.camel@zircon> <1040435799.1230.13.camel@BYBLOS.pheonicia> <1040438719.461.63.camel@zircon> <1040440694.62467.1.camel@BYBLOS.pheonicia>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2002-12-20 at 19:18, redjupiter wrote:
> On Sat, 2002-12-21 at 02:45, Joe Kelsey wrote:
> > On Fri, 2002-12-20 at 17:56, redjupiter wrote:
> > 
> > > The version of ksh93 I get from the port is 2002-09-22.
> > 
> > When I type C-V at a shell prompt, I get:
> > 
> > Version M 1993-12-28 n-
> > 
> > or you can type:
> > 
> > echo ${.sh.version}
> > 
> > The out of resources message is usually a file limit or possibly some
> > other soft resource limit.  Please paste in the output of the limits
> > command from both your console login and from a terminal window within
> > X.  Also, the output of the ksh ulimit -a command might be useful.
> > 
> > /Joe
> > 
> > 
> OK, here are the results. If you need something more sophisticated
> you'll have to spell out for me - as I have jsut started learning :-)
> 
> Version M 1993-12-28 n

I cannot recall offhand what the change was between n and n-, so I don't
recall if it is important.

Here is how I build and install ksh93:

portupgrade -m '-DWANT_STATIC PREFIX=/usr' ksh93
cp /usr/bin/ksh93 /bin

If you do not have portupgrade, you really should install it.  The
equivalent make command is

cd /usr/ports/shells/ksh93
make clean
make -DWANT_STATIC PREFIX=/usr install

If you intend to make ksh93 your system shell, it is important to use
the static libraries.  I just do it on general principles.

There have been several bugs fixed in the last couple of months in the
ksh sources, although I don't recall seeing anything about resource
exhaustion on the ast mailing list.  There will be a new version out in
a week or so, at least according to Glenn Fowler and David Korn.

Usually, resource exhaustion is related to some random piece of
misconfigured software.  What is the process list just before you try to
run vi?  Are there any left0over X proceses that might have tied up some
resource?  How do you exit from X?

It is probably worth your while to go through the effort of installing
gdm so that you have a stable way to keep X running without switching in
and out from the console.  At least, I find it easier.  YMMV.

/Joe




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1040441574.461.73.camel>