Subject: Re: ultra5 & Xwindows
To: Davide Zanon <d.zanon@ininito.it>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 05/03/2005 15:35:27
--Signature_Tue__3_May_2005_15_35_27_-0400_zGX/jo=kjvy=ed6s
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> Unfortunately, I had crossbuilt 3-0 and not -current, and this is one
> of the main reasons why it didn't work.

Hmm, at least /some/ of the new stuff should end up in 3.0

> I've noticed that on 3-0 the console background had become black and
> the text was small and white. It was wonderful.=20

Use
options WS_DEFAULT_FG <colour>
options WS_DEFAULT_BG <colour>
options WS_KERNEL_FG <colour>
options WS_KERNEL_BG <colour>=20
in your kernel config to set default colours for (kernel) output.
<colour> can either be a constant ( WSCOL_WHITE, WSCOL_BLACK and do on )
or a number ( 0xf is white, 0 is black, anything in between should
correspond to ANSI colour codes )

> Now I've rebuilt everything, X included (I hanve't tried it yet), and
> console finally works, but character and colors are the same of the OF
> one. I think I have to change something in the kernel config file.

Exactly.
options 	FONT_BOLD8x16		# a somewhat smaller font
and so on selects which fonts to compile into the kernel ( there's no
easy way to select which one the console will use by default yet, so
just compile in only one to make sure it gets picked )

> BTW, is there a list of=20
> all the characters (eg SONY_8x16, GALLANT_12x22,...) which the kernel
> can be set to show?

See src/sys/dev/wsfont/files.wsfonts, currently you can use:
FONT_BOLD8x16
FONT_GALLANT12x22
FONT_QVSS8x15
FONT_LUCIDA16x29
FONT_VT220L8x8
FONT_VT220L8x10
FONT_VT220L8x16
FONT_VT220ISO8x16
FONT_VT220KOI8x10_KOI8_R
FONT_VT220KOI8x10_KOI8_U
FONT_SONY8x16
FONT_SONY12x24
FONT_OMRON12x20

> Now I've got some strange issues to solve (sorry for my silliness, I'm
> still a newbie!)
>=20
> - I've got <user> set in the wheel group, but when I su to root, it
> says "su: Sorry: authentication error", no matter the password is
> right or wrong. I know this is old like the universe, but what can I
> do?

chown +s /usr/bin/su

and next time you unpack base.tgz by hand add the p option to your tar
command so file permissions won't get lost ;)

> - I've configured XF86 to work, and the Xserver starts by typing
> XFree86, but "xinit" doesn't work and complains about "no screens
> found".

See if /usr/X11R6/bin/X is a symlink to XFree86. By default it still
points to Xsun which won't work. This will change though.

> - Setting TERM to xinit-color, as Michael suggested, gives me problems
> with cursor keys in vi (they don't produce any effect"

That's strange - for me they just work. Try vt220 as terminal type,
maybe this works better. Then check which terminal emulation(s) you
compiled into your kernel - xterm-color is fine when you use VT100
emulation but no good when you use sun.

have fun
Michael

--Signature_Tue__3_May_2005_15_35_27_-0400_zGX/jo=kjvy=ed6s
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQnfSf8pnzkX8Yg2nAQKhRQf/eZ1SyDlxILpkS/IzyMg6/6TEETA6msag
gVaGGTNqcsveRFoE2QCIufjHsb9KWwJdcQaDXYk/yhFI8hExiTbt0Yx8zJB4mx6b
gnH0tAumJkhHKdZoFfpx5Q9fEbq7sqkoCqDghUGrf3ZjCXiLK9qc+U4xcE88b2ep
KyWd9DhWHWFzevpwZdRGolAp4DwiefupoRoA+1Y82enINnDTaVcmL/BAmscSQlgG
MHDhopIqarqfzq/347UUX+XrFRV+U8AYG/jvu+WSEdoYlPYLm7zMHqReR5KSNCUm
wvRpmpL8yGabNDb8E3iqdRY7mps5iWv5WYSy222nE3LAtLVKCJ1OIA==
=jocc
-----END PGP SIGNATURE-----

--Signature_Tue__3_May_2005_15_35_27_-0400_zGX/jo=kjvy=ed6s--