Subject: RE: Shell problem with 1.6
To: None <netbsd-help@netbsd.org>
From: Marechal, Laurent <lmarechal@rational.com>
List: netbsd-help
Date: 09/27/2002 16:16:49
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C26630.853D84E0
Content-Type: text/plain

Hello,

Thanks for your answers, I changed the shell to sh (vipw made the trick).

As for the ESC char, the 'set -E' doesn't work in csh (set: variable name
must begin with a letter) and fail in sh (No entry for terminal type
network, using dumb terminal setting). Under sh, the 'set -E' fail with this
error and then all the terminal app (ie pico, vi...) just fail...

I'm using NetBSD 1.6 with a ssh connection.

Laurent\

-----Original Message-----
From: Soren Jacobsen [mailto:devsoren@attbi.com]
Sent: Friday, September 27, 2002 7:32 AM
To: Marechal, Laurent
Cc: netbsd-help@netbsd.org
Subject: Re: Shell problem with 1.6


On Thu, Sep 26, 2002 at 10:45:42PM +0200, Marechal, Laurent wrote:
> 1- On 1.5.2 with sh, the arrow let me select the history or edit the
command
> line , I'm using the same config and I checked the file in /etc,
everything
> is identical. But these two key just return the ESC char ( ^[[A B C D ). 

set -E

> 2- I try to change the shell for the root user to get sh, I changed the
> etc/passwd and also using chsh, but it keep using csh..

I can't think of the exact command off of the top of my head, but pwd_mkdb
should fix that. 

--
Soren Jacobsen

------_=_NextPart_001_01C26630.853D84E0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.45">
<TITLE>RE: Shell problem with 1.6</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hello,</FONT>
</P>

<P><FONT SIZE=3D2>Thanks for your answers, I changed the shell to sh =
(vipw made the trick).</FONT>
</P>

<P><FONT SIZE=3D2>As for the ESC char, the 'set -E' doesn't work in csh =
(set: variable name must begin with a letter) and fail in sh (No entry =
for terminal type network, using dumb terminal setting). Under sh, the =
'set -E' fail with this error and then all the terminal app (ie pico, =
vi...) just fail...</FONT></P>

<P><FONT SIZE=3D2>I'm using NetBSD 1.6 with a ssh connection.</FONT>
</P>

<P><FONT SIZE=3D2>Laurent\</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Soren Jacobsen [<A =
HREF=3D"mailto:devsoren@attbi.com">mailto:devsoren@attbi.com</A>]</FONT>=

<BR><FONT SIZE=3D2>Sent: Friday, September 27, 2002 7:32 AM</FONT>
<BR><FONT SIZE=3D2>To: Marechal, Laurent</FONT>
<BR><FONT SIZE=3D2>Cc: netbsd-help@netbsd.org</FONT>
<BR><FONT SIZE=3D2>Subject: Re: Shell problem with 1.6</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>On Thu, Sep 26, 2002 at 10:45:42PM +0200, Marechal, =
Laurent wrote:</FONT>
<BR><FONT SIZE=3D2>&gt; 1- On 1.5.2 with sh, the arrow let me select =
the history or edit the command</FONT>
<BR><FONT SIZE=3D2>&gt; line , I'm using the same config and I checked =
the file in /etc, everything</FONT>
<BR><FONT SIZE=3D2>&gt; is identical. But these two key just return the =
ESC char ( ^[[A B C D ). </FONT>
</P>

<P><FONT SIZE=3D2>set -E</FONT>
</P>

<P><FONT SIZE=3D2>&gt; 2- I try to change the shell for the root user =
to get sh, I changed the</FONT>
<BR><FONT SIZE=3D2>&gt; etc/passwd and also using chsh, but it keep =
using csh..</FONT>
</P>

<P><FONT SIZE=3D2>I can't think of the exact command off of the top of =
my head, but pwd_mkdb</FONT>
<BR><FONT SIZE=3D2>should fix that. </FONT>
</P>

<P><FONT SIZE=3D2>--</FONT>
<BR><FONT SIZE=3D2>Soren Jacobsen</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C26630.853D84E0--