Re: pre-orders

2006-03-09 Thread Julian Fondren
On 3/9/06, Harry Putnam <[EMAIL PROTECTED]> wrote:
> "Greg Thomas" <[EMAIL PROTECTED]> writes:
> Give it a rest Greg, you've been outclassed.  Best to just hush.

Oh noes, he was outclassed by someone whose primary contribution was a
sneering "look at all this irrelevant conversation, then?"  This shame
may not even dim with time.



Re: Sun Ultra 1

2006-03-08 Thread Julian Fondren
On 3/8/06, Gustavo Rios <[EMAIL PROTECTED]> wrote:
> Another problem: I got X, but only with 8 bits of color.

Unless the Ultra1 is more graphically advanced that the Ultra2, this
is all you will get.
Enjoy the resolution, though :-)



Re: pre-orders

2006-03-08 Thread Julian Fondren
I assume the artwork as something to do with "wavelan is a battlefield"[1] :-)



/me supplementing OpenBSD/macppc 'mini with similarly SFF[2] OpenBSD/x86.

1] my favorite /etc diff of the 3.9 snapshot.
2] system76.com's Koala Mini.



Re: 80x50 console res but .. clean font

2006-02-28 Thread Julian Fondren
On 2/28/06, Antonios Anastasiadis <[EMAIL PROTECTED]> wrote:
> I think netbsd just got preliminary framebuffer support.
> Perhaps in the future a developer might have interest in porting it.

I feel a bit odd for asking this, because I used to live on the
console, but I must ask: why?  Why do any of you care about better
fonts or resolutions or assorted prettiness on the console?

Just go into X.  OpenBSD has the full range of window managers in
ports, from ratpoison and amiga-lookalikes to treewm to Enlightenment
to GNOME/KDE.  Can't you at least use ratpoison?  A computer incapable
of even that should probably not be taking up a monitor or keyboard.



some perl to aid in creating custom kernels

2006-02-26 Thread Julian Fondren
I call it 'ink'.

I see these devices in dmesg, but they aren't in GENERIC.
  $ ink F GENERIC
  aoa0 at macobio0 offset 0x1: irq 30,1,2
  iic0 at ki2c0
  iic1 at pi2c0
  iic2 at ki2c1
  maxtmp0 at iic1 addr 0xc8: max6642

cardslot?  Do I have that?
  $ ink dev cardslot
  $
no.

  $ ink o pci .hci
  What all .hci at pci do I have?
  ohci0 at pci1 dev 24 function 0 "Apple Intrepid USB" rev 0x00: irq
0, version 1.0, legacy support
  ohci1 at pci1 dev 25 function 0 "Apple Intrepid USB" rev 0x00: irq
0, version 1.0, legacy support
  ohci2 at pci1 dev 26 function 0 "Apple Intrepid USB" rev 0x00: irq
29, version 1.0, legacy support
  ohci3 at pci1 dev 27 function 0 "NEC USB" rev 0x43: irq 63, version 1.0
  ohci4 at pci1 dev 27 function 1 "NEC USB" rev 0x43: irq 63, version 1.0
  ehci0 at pci1 dev 27 function 2 "NEC USB" rev 0x04: irq 63

So, what isn't being used?
  $ ink f GENERIC
  ...

 file begins 
#! /usr/bin/env perl
sub usage { die "usage: $0 [dev|o]  [ ...]]\n"
. "usage: $0 f  # find !dmesg devices\n"
. "usage: $0 F  # find !config devices\n"}
usage unless @ARGV >= 2;
usage unless $ARGV[0] =~ /^(dev|o|f|F)$/;

package OpenBSD::Devices;
use warnings;
use strict;

sub new { bless [], shift }

sub load {
  my $od = shift;
  open my $f, "/var/run/dmesg.boot"
or die "dmesg.boot open failed: $!";
  while (readline($f)) {
push @$od, $_ if /^[a-z]{2,}\d\b/
  }
  $od
}

sub device { grep { $_ =~ /^$_[1]/ } @{$_[0]} }
sub depends_on { grep { $_ =~ /(?new->load;

my $grep = join('|', @ARGV[2..$#ARGV]);
if ($ARGV[0] eq 'dev') {
  for ($dmesg->device($ARGV[1])) {
if ($grep) {
  print if $_ =~ /$grep/;
} else { print }
  }
}
elsif ($ARGV[0] eq 'o') {
  for ($dmesg->depends_on($ARGV[1])) {
if ($grep) {
  print if $_ =~ /$grep/;
} else { print }
  }
}
elsif ($ARGV[0] eq 'f') {
  open my $f, '<', $ARGV[1] or die "cannot open: $ARGV[1]: $!";
  while (readline($f)) {
next unless /^([a-z]{2,})[0-9?*]/;
next if $dmesg->device($1);
print;
  }
  close $f;
}
elsif ($ARGV[0] eq 'F') {
  open my $f, '<', $ARGV[1] or die "cannot open: $ARGV[1]: $!";
  my @d = map { /^([a-z]{2,})\d/; $1 } @$dmesg;
  my @c;
  while (readline($f)) {
next unless /^([a-z]{2,})[0-9?*]/;
push @c, $1;
  }
  for (List::Compare->new('-a', [EMAIL PROTECTED], [EMAIL 
PROTECTED])->get_Lonly) {
print $dmesg->device($_);
  }
}