Subject: RE: Problems with ksh in NetBSD 1.3.2?
To: , <>
From: Devin Ganger <>
List: netbsd-users
Date: 11/10/1998 19:49:08
On 10 Nov 1998, Hubert Feyrer wrote:

> Erm, what exactly doesn't work here and hang the box - simply
> setting these two variables, changing, su'ing, telnet'ing?

Actually setting the variables is what seems to cause problems, although
you'll notice below that su'ing didn't work at all.

> I've tried setting the variables and cd'ing, and this worked
> ok for me on both -current and 1.3.2/sparc.

Here's what happened when I uncommented those lines from my .kshrc and
re-ran it.

  /home/devin/.kshrc: 41 lines, 1051 characters
  $ reksh

A simple alias that basically does ". /home/devin/.kshrc".

  /usr/bin/whoami: Cannot fork
  /usr/bin/whoami: Cannot fork
  /usr/bin/whoami: Cannot fork

*That's* odd.

  (bofh:devin) /home/devin $ dir

After about a minute or three, the prompt finally comes up the way it

  total 14
  drwxr-xr-x  2 devin  staff   512 Nov  5 00:38 ./
  drwxr-xr-x  6 root   wheel   512 Nov  5 17:10 ../
  -rw-r--r--  1 devin  staff   647 Nov  4 06:03 .exrc
  -rw-r--r--  1 devin  staff   618 Nov  6 19:12 .history
  -rw-r--r--  1 devin  staff  1051 Nov  9 18:59 .kshrc
  -rw-r--r--  1 devin  staff    11 Nov  4 06:02 .profile
  (bofh:devin) /home/devin $ cd ..
  (bofh:devin) /home $ cd ..

Works good with keeping the pwd in sync...

  (bofh:devin) / $ su
  ${PS1IDSTRING} ${PWD} $ exit

...but su isn't working at all.  This may be just a need to stick the
appropriate lines in root's .profile, though.

  (bofh:devin) / $

Back to pseudo-working, although shouldn't my pwd be /home?

I'm confused.

Devin L. Ganger
"And Hell does not always look like Hell.  On a good day, it can look
a lot like L.A."    -- Dr. Eugene Sands, _Playing God_