Re: some basic questions

2007-01-31 Thread Joachim Schipper
On Wed, Jan 31, 2007 at 05:10:58AM +0800, ronald jiang wrote:
 obsd 4.0 i386 without X on an ibm  thinkpad t30
 
 a. How to map Alt to Meta?
   In ksh, Alt really works as meta, but in emcas it doesn't (esc as meta).

No idea; presumably, the right keymap would allow you to do that. See
kdb(8), noting that there is also a kbd(4), and /etc/rc or /etc/kbtype
to get this to work as expected.

 b. When compile emacs22, it encounters an error, what say:
   ... don't know how to make faces.elc\n Error code 2

Why not just use packages? You probably did something wrong (no idea
what, without details), but debugging it most likely takes longer than
installing a package.

 c. adduser within group wheel, but cannot 'sudo', what's the problem?

See /etc/sudoers.

 d. Do I have to install gmake to make mplayer?

No, pkg_add is in base. Use packages, again.

If you do insist on using ports, yes, you'll have to install gmake;
there is a line 'USE_GMAKE=Yes' in the port.

 e. My hard disk has ten thounds more cylinders, but when install, the 
 maximum allowed is 1024, why?

No idea, especially without a dmesg, but usually fiddling around with
the 'g' command in disklabel can get that particular tool to see what
you want it to.

Joachim



Re: some basic questions

2007-01-31 Thread Andreas Kahari

On 31/01/07, Joachim Schipper [EMAIL PROTECTED] wrote:

On Wed, Jan 31, 2007 at 05:10:58AM +0800, ronald jiang wrote:

[cut]

 c. adduser within group wheel, but cannot 'sudo', what's the problem?

See /etc/sudoers.


No, read the manuals for 'visudo' and 'sudoers'.  The visudo command
gives you a copy of /etc/sudoers to edit and then performs sanity
checks on it before installing it as /etc/sudoers when your done.
Don't touch /etc/sudoers directly.

Andreas

--
Andreas Kahari
Somewhere in the general Cambridge area, UK



some basic questions

2007-01-30 Thread ronald jiang

obsd 4.0 i386 without X on an ibm  thinkpad t30

a. How to map Alt to Meta?
  In ksh, Alt really works as meta, but in emcas it doesn't (esc as meta).
b. When compile emacs22, it encounters an error, what say:
  ... don't know how to make faces.elc\n Error code 2
c. adduser within group wheel, but cannot 'sudo', what's the problem?
d. Do I have to install gmake to make mplayer?
e. My hard disk has ten thounds more cylinders, but when install, the 
maximum allowed is 1024, why?