9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] libndb.a
@ 2004-03-23 11:34 Tiit Lankots
  2004-03-23 13:53 ` David Presotto
  0 siblings, 1 reply; 2+ messages in thread
From: Tiit Lankots @ 2004-03-23 11:34 UTC (permalink / raw)
  To: Plan 9 Mailing List (E-mail)

aux/vga, when compiled from current sources, always fails
with the message 
	"main: <monitor>@<mode> not found in /lib/vgadb"
for all values of <monitor> and <mode>. I traced the problem
to /sys/src/cmd/aux/vga.db.c:266 where the 
ndbsearch() fails.

ndb/query -f /lib/vgadb fails also.

But binaries from March 21st installation cd work flawless:
term% ndb/query -f /lib/vgadb xga 1024x768
term% /mnt/cd/386/bin/ndb/query -f /lib/vgadb xga 1024x768
xga=1024x768 include=1024x768
term%

And:
term% diff /lib/vgadb /mnt/cd/lib/vgadb
term% diff /mnt/cd/sys/src/libndb /sys/src/libndb
term%

But:
term% cp -x /mnt/cd/386/lib/lib/libndb.a /386/lib
term% cd /sys/src/cmd/ndb
term diff . /mnt/cd/sys/src/cmd/ndb
term% mk all
[snip]
term% 8.query -f /lib/vgadb xga 1024x768
term%

Tiit@clueless


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] libndb.a
  2004-03-23 11:34 [9fans] libndb.a Tiit Lankots
@ 2004-03-23 13:53 ` David Presotto
  0 siblings, 0 replies; 2+ messages in thread
From: David Presotto @ 2004-03-23 13:53 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 507 bytes --]

Argh!  I had to tighten up the ndb parsing to avoid ambiguities.  To wit

	a = b

worked before, but some people used it to mean

	attribute(a) has value (b)

and others

	atribute(a) has not value and attribute(b) has no value.  That
	was blowing away people that had domain area definitions like

	soa= dom= ns=xyzzy

I no longer allow spaces twixt the '=' and the value.  Unfortunately,
/lib/vgadb had lots of things like

include = 640x480@72Hz

I've put a new /lib/vgadb on sources.

[-- Attachment #2: Type: message/rfc822, Size: 2865 bytes --]

From: "Tiit Lankots" <t.lankots@aprote.ee>
To: "Plan 9 Mailing List (E-mail)" <9fans@cse.psu.edu>
Subject: [9fans] libndb.a
Date: Tue, 23 Mar 2004 13:34:06 +0200
Message-ID: <81132473206F3A46A72BD6116E1A06AE056173@black.aprote.com>

aux/vga, when compiled from current sources, always fails
with the message 
	"main: <monitor>@<mode> not found in /lib/vgadb"
for all values of <monitor> and <mode>. I traced the problem
to /sys/src/cmd/aux/vga.db.c:266 where the 
ndbsearch() fails.

ndb/query -f /lib/vgadb fails also.

But binaries from March 21st installation cd work flawless:
term% ndb/query -f /lib/vgadb xga 1024x768
term% /mnt/cd/386/bin/ndb/query -f /lib/vgadb xga 1024x768
xga=1024x768 include=1024x768
term%

And:
term% diff /lib/vgadb /mnt/cd/lib/vgadb
term% diff /mnt/cd/sys/src/libndb /sys/src/libndb
term%

But:
term% cp -x /mnt/cd/386/lib/lib/libndb.a /386/lib
term% cd /sys/src/cmd/ndb
term diff . /mnt/cd/sys/src/cmd/ndb
term% mk all
[snip]
term% 8.query -f /lib/vgadb xga 1024x768
term%

Tiit@clueless

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-23 13:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-23 11:34 [9fans] libndb.a Tiit Lankots
2004-03-23 13:53 ` David Presotto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).