Re: Include hostname in shell prompts by default

2017-12-09 Thread Ian Darwin
On 2017-12-09 1:10 PM, Theo de Raadt wrote: the default prompt works exactly because it doesn;t try to second guess what the user wants, or what is or isn;t good for them. the mechanism for changing the prompt is trivial. i don;t think it makes sense to change the shells in this way. Having see

Re: usbtv driver port (questions)

2016-05-25 Thread Ian Darwin
On 2016-05-25 7:57 AM, Marcus Glocker wrote: On Tue, May 24, 2016 at 04:46:57PM -0700, patrick keshishian wrote: Hi, I have a "mostly working" driver port for Fushicai Audio-Video Grabber (vendor 0x1b71 product 0x3002). I've had the video bit working for a few days on amd64 and macppc. I fina

Re: rcctl ls faulty -> failed

2016-03-29 Thread Ian Darwin
On Tue, Mar 29, 2016 at 03:29:27PM +0200, Antoine Jacoutot wrote: > Hi. > > We'd like to rename the 'faulty' listing to 'failed'. > i.e. rcctl ls failed > > Index: etc/daily > === > RCS file: /cvs/src/etc/daily,v > retrieving revisio

Re: ugenctl for attaching USB devices to ugen instead of their specific driver

2015-12-06 Thread Ian Darwin
On 2015-12-06 12:23 PM, Stuart Henderson wrote: On 2015/12/06 06:02, Mickael Torres wrote: Hello, This is a kernel patch plus a utility called ugenctl I use to allow selected USB devices to attach as ugen(4) instead of their more specific driver. My use case is a Microchip "PICkit 2 Microcont

Re: grep -R without directory argument

2015-04-30 Thread Ian Darwin
On 2015-04-30 04:16, Mark Kettenis wrote: Date: Thu, 30 Apr 2015 07:51:55 +0200 From: Martin Natano grep reads from standard input when no files are specified. It also does so when -R is used, which doesn't really make sense. I think using the current working directory as a fallback when no dir

Re: ahci BSY retry

2014-04-23 Thread Ian Darwin
On 2014-04-23 3:50 PM, Chris Cappuccio wrote: > Peter J. Philipp recently ran into this on his Intel AHCI+Intel SSD > system (see misc from yesterday): > > ahci2 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x05: msi, AHCI 1.3 > ahci2: device on port 1 didn't come ready, TFD: 0x80 > ahci2: s

Re: typo security.8

2014-04-22 Thread Ian Darwin
On Tue, Apr 22, 2014 at 06:32:12PM +0200, Henning Brauer wrote: > * Fritjof Bornebusch [2014-04-22 18:29]: > > it's Trojan horse not Trojan horsed, right? > > yup. > a trojan horse. > the binary has been trojan horsed. As Henning notes, it was gramatically correct as written (if you are willing

Re: Test needed: ehci(4) suspend/resume rework

2013-06-03 Thread Ian Darwin
> > Ok so, here's an updated diff with the reset enable in the resume case. > > Updated diff after recent ehci(4) changes. > > I'm still looking for non-regression tests. Awesome to see ehci suspend/resume getting some love; I will get to testing this in a few hours.

Re: find -size postfixes

2012-11-04 Thread Ian Darwin
- endch = 'c'; - new->o_data = find_parsenum(new, "-size", arg, &endch); - if (endch == 'c') - divsize = 0; + new->o_data = find_parsenum(new, "-size", arg, &endp); + if (endp) { + if (strlen(endp) > 1) + errx(1, "inva

Re: ln -s example

2012-09-20 Thread Ian Darwin
On 12-09-20 8:34 AM, Amit Kulkarni wrote: This is very helpful. Usually in OpenBSD, you create a symbolic link /var/www which has limited space and have it point to /home/www where actual data is stored and which has more space. This particular example could be Create a symbolic link named /var

Re: ld.so speedup for large binaries with many shared libraries

2011-04-28 Thread Ian Darwin
Makes Eclipse start in 13-14 secs instead of 19. Thanks.

Re: last patch, idea

2011-04-10 Thread Ian Darwin
> > while going through my wtmp with last(1) I noticed there could be a better > > way than always gunzip'ing wtmp files and then using last -f. I've made > > a patch for your consideration that does the following: > > b) it writes the gzipped file to a /tmp location uncompressed so that the > >

Re: azalia: fix bug in connection list parsing

2011-02-09 Thread Ian Darwin
On 02/07/11 23:08, Jacob Meuser wrote: > widget connection lists are described as a series of nids. the widget > gives the number of connection list entries. if the most significant > bit of a connection list entry is set, all nids between the last nid > in the connection list and the nid in the

Re: allow ugen(4) to attach to unused interfaces

2011-01-04 Thread Ian Darwin
On 01/04/11 00:13, Yojiro UO wrote: > as the ugen(4) is too flexible (and unsafe) than other usb device drivers, > i don't like this work to extend ugen(4)'s area. > > I know many userland applications which supports multiple platform using > ugen type interface (because they usually use libusb or

Re: no printing cache info

2010-11-28 Thread Ian Darwin
> Best thing would be to print it once per socket, i.e. for the first > core of each physical CPU. > > Oh, and the flags can be subtly different for other CPUs in the > system, even if they are exactly the same model, because the BIOS can > enable/disable some features. Yes to the first, and the

Re: update pms driver

2010-10-07 Thread Ian Darwin
> > 1) (might or might not be related to pms) When I terminate X and > > try to re-start it (either under XDM or by running sudo startx > > twice), the second X does not always start - it tries, but it hangs > > just after the basket weave background and the X cursor, before any > > apps or the XDM

Re: merge pms and pmsi + added support for some of mouse

2010-09-21 Thread Ian Darwin
On Wed, Sep 22, 2010 at 03:24:28AM +0600, Alexandr Shadchin wrote: > Sorry, forgot to fix previous diff. Attached correct diff The revised version not only works for me (Dell Studio amd64 laptop), but even cures the bug that the internal trackpad (pms) locks up during suspend/resume. Thanks!

Re: pcmcia: support for indirect CIS

2010-09-01 Thread Ian Darwin
On Wed, Sep 01, 2010 at 01:53:44PM +, Miod Vallat wrote: > The following diff adds support for PCMCIA cards with indirect CIS data > (the regular CIS data only contains a device tuple and an ``indirect'' > tuple). Errm, I just put one of those in a computer museum. I've asked, if they're not

Re: dhclient-script patch to preserve resolv.conf.save

2010-04-15 Thread Ian Darwin
patrick keshishian wrote: I believe there is no good reason for dhclient-script to override an already existing /etc/resolv.conf.save file. This would not be good for other use cases for dhcp, for example, I often use my netbook at 3 or more locations in the same day. Why would I want to e

Re: kernel hacking

2009-12-10 Thread Ian Darwin
Robert Yuri wrote: I'll learn just reading kernel code ? so, many night you need to understand it ? Oh yes. Many.

Re: Novatel Wireless Modem (umsm)

2009-11-13 Thread Ian Darwin
Most of these gadgets need some kind of kick to tell them "I'm done using the vapid Windows install disk you provide, now please do what I bought you for". And they of course change their USB device class and ID when kicked. Try doing "eject cd1" and see if it re-attaches as umsm. If it does, o

Re: Missing header file in synopsis section of authenticate(3) man page.

2009-07-05 Thread Ian Darwin
Ingo Schwarze wrote: Hi Jason, Jason McIntyre wrote on Sun, Jul 05, 2009 at 05:46:06PM +0100: On Tue, Jun 30, 2009 at 08:56:36AM -0300, Joao Salvatti wrote: Isn't the header file absent in the manual page authenticate(3)? Yes, it is absent, but grepping /usr/share/man/cat3 fo

Re: OpenBSD 4.5 install via CD : boot set howto - can i disable acpi ?

2009-06-16 Thread Ian Darwin
A simply -acpi=off- argument to the kernel solve it. After my RTFM session on this OpenBSD i found this way : Boot> set howto ...But where is the list of flags that i can use here ? This should be answered in the FAQ. boot> boot -c ... UKC> disable acpi UKC> quit