kshcolor - a script for decorating ksh shell programs and terminals

2023-04-18 Thread Ted Bullock
Hiya folks, As a learning project to teach myself how to use the ksh shell I wrote a helper script to set ansi colors and decorations that I'm calling *kshcolor*. The script is available here for anyone who is intrigued: https://github.com/tbullock/kshcolor The project includes a makefile to bu

Re: Documentation error in pci_mapreg_probe(9)

2022-01-10 Thread Ted Bullock
On 2022-01-10 3:53 a.m., Jonathan Gray wrote: > On Mon, Jan 10, 2022 at 09:17:25PM +1100, Jonathan Gray wrote: >> On Mon, Jan 10, 2022 at 02:24:05AM -0700, Ted Bullock wrote: >>> >>> On 2022-01-10 2:18 a.m., Jonathan Gray wrote: >>>> On Sat, Jan 08, 2022

Re: Documentation error in pci_mapreg_probe(9)

2022-01-10 Thread Ted Bullock
On 2022-01-10 3:53 a.m., Jonathan Gray wrote: > On Mon, Jan 10, 2022 at 09:17:25PM +1100, Jonathan Gray wrote: >> On Mon, Jan 10, 2022 at 02:24:05AM -0700, Ted Bullock wrote: >>> >>> On 2022-01-10 2:18 a.m., Jonathan Gray wrote: >>>> On Sat, Jan 08, 2022

Re: Documentation error in pci_mapreg_probe(9)

2022-01-10 Thread Ted Bullock
On 2022-01-10 2:18 a.m., Jonathan Gray wrote: On Sat, Jan 08, 2022 at 01:43:32PM -0700, Ted Bullock wrote: The manpage incorrectly describes the behaviour and usage of pci_mapreg_probe(9). This function does not return 0 for success and !0 for failure as described in the manual, see the diff

Documentation error in pci_mapreg_probe(9)

2022-01-08 Thread Ted Bullock
is found or one if it finds a +register at the BAR referenced by +.Fa reg . .Pp .Nm pci_mapreg_type returns either -- Ted Bullock

PCI configuration space documentation question

2022-01-07 Thread Ted Bullock
t the way very far here. Please send help I'm in a maze of twisty little passages, all alike. -- Ted Bullock

Re: power of 2 revisited

2021-12-30 Thread Ted Bullock
On 2021-12-29 10:18 p.m., Jonathan Gray wrote: > On Wed, Dec 29, 2021 at 09:27:34PM -0700, Ted Bullock wrote: >> This is around documenting peculiar behaviour around power of 2 math in >> the kernel. >> >> I'm wondering if it's worth documenting the peculiari

power of 2 revisited

2021-12-29 Thread Ted Bullock
ument IS_POWER_OF_2 is_power_of_2 is_power_of_2_u64 powerof2 probably others too. And manual checks like sys/arch/amd64/amd64/identcpu.c:804 powerof2 = ((x - 1) & x) == 0; -- Ted Bullock

Re: Variable Length Arrays

2015-01-03 Thread Ted Bullock
el free to modify a whole system to use this instead > of malloc. Then argue your point, and lose... Thanks, more or less sums it up. I'll stick to using malloc and friends; it's got a reliable idiom for checking errors, and I have a lot of appreciation for the rigor that's gone into the implementation. -- Ted Bullock

Variable Length Arrays

2015-01-02 Thread Ted Bullock
are they good, bad, evil, stupid, all of the above? -- Ted Bullock

Re: pf+voip

2014-06-02 Thread Ted Bullock
On 2014-05-28 6:39 AM, pae3 wrote: Hi! Don't miss RTP protocol : pass proto tcp to port >< 20001 ah, no RTP will be moving over UDP. -- Ted Bullock

Re: LibreSSL @ BSDCan 2014

2014-05-17 Thread Ted Bullock
Real actual bob becks giving real actual ssl video chat ‎http://m.youtube.com/watch?v=GnBbhXBDmwU Sent from my BlackBerry 10 smartphone on the Fido network. Original Message From: ropers Sent: Saturday, May 17, 2014 7:05 PM To: staticsafe Cc: misc@openbsd.org Subject: Re: LibreSSL @ BSDCan 2014

Keeping a carp backup connected to the internet

2013-12-12 Thread Ted Bullock
e it's acting as the backup. I'd prefer to not run yet another service locally if at all possible though. I'm wondering what other folks do in this situation. -- Ted Bullock

Re: Proliant DL380 G3 cannot get on network

2010-01-06 Thread Ted Bullock
On Wed, Jan 6, 2010 at 3:02 PM, Mauro Rezzonico wrote: > Ted Bullock wrote: >> >> I am trying to install OpenBSD 4.6 on an older DL380 G3, and am unable >> to get an address from DHCP using the onboard network adapter. > > OpenBSD 4.6 has been released with broken suppo

Re: Proliant DL380 G3 cannot get on network

2010-01-05 Thread Ted Bullock
ient for me to get it at the moment. -- Ted Bullock

Proliant DL380 G3 cannot get on network

2010-01-05 Thread Ted Bullock
Ethernet autoselect (100baseTX full-duplex,rxpause,txpause) status: active inet6 fe80::20b:cdff:fe03:c11e%bge1 prefixlen 64 scopeid 0x2 -- Ted Bullock

Re: Quad ethernet card

2007-06-06 Thread Ted Bullock
Dave Harrison wrote: > However I'm not aware of any tools that handle that kind of > distributed benchmark.. anyone ? > httperf can be run in an array of clients (--client option), although there is currently no way to automatically aggregate the results. -- Theodore Bullock, <[EMAIL PROTECTE

Re: OpenBSD sucks

2007-05-31 Thread Ted Bullock
Ted Unangst wrote: > you should have sent in your dmesg then. hardware that doesn't get > reported doesn't exist. > This is not really that big a deal to me. I certainly don't want to stand in the way of progress just because I maintain an old 386 as a hobby. I will send in the dmesg though, n

Re: OpenBSD sucks

2007-05-31 Thread Ted Bullock
Darrin Chandler wrote: > On Fri, Jun 01, 2007 at 12:44:10PM +1000, Damien Miller wrote: >> On Thu, 31 May 2007, Open Phugu wrote: >> >>> On 5/31/07, qw er <[EMAIL PROTECTED]> wrote: It really sucks. it is slow. >>> What you say does not apply to OpenBSD. What you said describes you. >> I

Re: OpenBSD sucks

2007-05-31 Thread Ted Bullock
Steve Shockley wrote: > qw er wrote: >> It really sucks. it is slow. > > Not any more: http://marc.info/?m=118046279204104 > > . > That is too bad since I am one of those rare people sniff -Ted -- Theodore Bullock, <[EMAIL PROTECTED], [EMAIL PROTECTED]> B.Sc Software Engineering Bike Acr

Re: Problem installing 4.1/sparc64 on Sun Blade 100

2007-05-30 Thread Ted Bullock
I had the same problem until I updated the firmware to 4.17.1 -Ted Landry Breuil wrote: > Hello, > > i'm trying to install OpenBSD/Sparc64 on a Blade 100, tried various > methods/versions (all described in INSTALL.sparc64), they all fail after > 'Trying bsd' and stall. Where can i have a sta

pkg-config .pc files for default libraries

2007-05-28 Thread Ted Bullock
I really like the new pkg-config tool in 4.1 and want to use it more in my own software. My only problem with it is that there is no pkg-config .pc files for the default libraries (eg openssl) in the default install. For example, with openssl libcrypto and libssl go hand in hand. pkg-config coul

Re: hackathon

2007-05-19 Thread Ted Bullock
Theo de Raadt wrote: > One very important part of the hackathon sub-project will be to > improve 10Gb support. Some of us believe that measuring the > performance of 10Gb networking later will help us spot some > performance problems that can improve 1Gb ethernet speed. As a side note, we recentl