Port-mips archive

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

Re: Missing X binary



On Sat, 4 Dec 2021 at 10:38, David Brownlee <abs%absd.org@localhost> wrote:
>
> On Sat, 4 Dec 2021 at 08:56, nia <nia%netbsd.org@localhost> wrote:
> >
> > On Sat, Dec 04, 2021 at 03:24:11PM +1100, matthew green wrote:
> > > > - Xorg 1.10 is missing the uxterm binary used by the default ctwmrc
> > > > (which is _really_ annoying, if trivial to workaround)
> > >
> > > nia?
> >
> > I would be interested in adding uxterm (it's just a simple shell script,
> > and the process of adding it would probably be easier than adding
> > conditions to all of my scripts...) but I can't find where uxterm
> > is possibly not-compiled for the older xorg.
> >
> > I thought the older xorg was just an older server, with the client
> > parts all the same :/
>
> Right now it only affects alpha, netwinder, sgimips & vax (plus pmax
> in my tree), but it does leave them with a ctwm which cannot not open
> a Terminal window.
>
> Obviously the ideal world would be to get everything on 1.20 Xorg, but
> its probably worth getting uxterm in the 1.10 dist (as that could also
> be trivially pulled up into 9.x)
>
> It's on my list for when I get my initial changes committed, but I
> would obviously be very happy if someone else wants to get out a mask
> & torch and start exploring in that area :)

OK, I'm a... well, something, it's not that uxterm is missing, it's
that it fails to run with a BadAlloc on X_OpenFont. I'll start poking
into that next.


In other news, if anyone else would like to play with this,
https://sync.absd.org/pmax/xwsfb/ has an install-ISO and all the
individual distribution sets, plus a README (included below). I'm
particularly interested in anyone with real hardware to hand (PMAG-A,
PMAG-B CX, PMAG-B-X or beyond :)

David

README:

This contains NetBSD/pmax built from 2021-12-03 sources, plus minimal changes
to allow building an Xwsfb X server

Changes
- Add WSDISPLAYIO_GET_FBINFO to dev/tc turbochannel display adaptors
- Switch from Xorg 1.20 to 1.10
- Enable building xwsfb X server for pmax
- (diffs in xwsfb.diff)

To install and test in gxemul
- Install gxemul :) - eg pkgsrc/emulators/gxemul
- Create a 2GB disk image: dd if=/dev/zero of=pmax.img bs=1m count=2048
- Run: gxemul -X -M 256 -e 3max -d pmax.img -d b:NetBSD-9.99.92-pmax.iso
- Follow prompts to install
- At the end - select 'Add a user' and make sure it is added to wheel
- Exit and halt
- Run: gxemul -X -M 256 -e 3max -d pmax.img (wait ~forever for fontcache)
- Login as root and edit /etc/X11/ctwm/system.ctwmrc and change
"uxterm" to "xterm"
- Run: startx
- If all happy (and you have a user in wheel group), enable xdm=YES in
/etc/rc.conf

To upgrade an existing NetBSD-9.99.92 install
- Ensure you have the following from this location
  - pmax/binary/kernel/netbsd-GENERIC.gz
  - pmax/binary/sets/xbase.tgz
  - pmax/binary/sets/xcomp.tgz
  - pmax/binary/sets/xetc.tgz
  - pmax/binary/sets/xfont.tgz
  - pmax/binary/sets/xserver.tgz
- Copy /netbsd to /onetbsd, then extract netbsd-GENERIC.gz as /netbsd
- Wipe /usr/X11R7 then extract x*tgz from /
- Edit /etc/X11/ctwm/system.ctwmrc and change "uxterm" to "xterm"
- Run: startx
- If all happy (and you have a user in wheel group), enable xdm=YES in
/etc/rc.conf


Home | Main Index | Thread Index | Old Index