NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: trouble about terminal type when experiencing the process of installing netbsd



LeiMing wrote:
å Fri, 24 Apr 2009 23:23:15 +0800ïWouter Klouwen <dublet%acm.org@localhost> åé:

LeiMing(leiming2006%gmail.com@localhost) said 2009.04.24 23:08:18 +0000:
ed /mnt/etc/rc.conf (rc_configured=NO is changed to rc_configured=YES)

I think you need to enable wscons in rc.conf. Also see wscons.conf(5).

Regards,
LeiMing
    --Wouter


Thanks for your reply,
after "usermod -s /bin/sh root" and add "wscons=YES" in rc.conf, it works
and I added swap, /kern and /proc in fstab.

Sigh. Someone should some day write a big text on terminals so that these kind of questions can be referred there every time. I don't know how often I see people having problems with screens not looking right, or keys not doing what people expect, and not understanding why this is.

(In short: your arrow keys generate those escape sequences you posted before because your terminal tries to behave like a VT100, and a VT100 sends those characters whenever you press one of they arrow keys, so it was working perfectly fine. Your software "on the other end" however, didn't interpret that as something special, which is why you just saw they escape squences echoed.)

Is there anything seems not complete about the installation?

by the way, the "chmod o+s /usr/bin/su" seems working incorrectly.
it's "chmod +s /usr/bin/su && chmod g-s /usr/bin/su" that works correctly.

chmod o+s <file> ???
What did you expect that should do? I don't think that is even semantically possible. I guess that would turn on the sticky bit, though. What you probsbly wanted was chmod u+s <file> Where did you find the chmod o+s <file> ? Or was it something you guessed was the right thing?

        Johnny

--
Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt%softjar.se@localhost             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


Home | Main Index | Thread Index | Old Index