recent bin/ksh changes - the ctype cleanups one

2013-12-18 Thread LEVAI Daniel
Hi! I must say, I'm a bit shy about this, so don't rip my head off, I'm obviously not trying to question Theo's commit. I just came across this anomaly: cvs diff -r 1.26 -r 1.27 vi.c @@ -792,8 +792,9 @@ vi_cmd(int argcnt, const char *cmd) return -1;

editline(3): el_source() and .editrc file

2013-01-03 Thread LEVAI Daniel
Hi! It seems that the editline(3) man page didn't get updated after el.c r1.7 (some twelve years ago :) ). Index: editline.3 === RCS file: /cvs/src/lib/libedit/editline.3,v retrieving revision 1.32 diff -p -u -r1.32 editline.3 ---

Re: iwn(4) support for Intel WiFi Link 1030/Centrino Wireless-N 1030

2012-11-17 Thread LEVAI Daniel
On sze, nov 14, 2012 at 13:44:30 +0100, Mark Kettenis wrote: Anybody around with the (currently non-working) Intel WiFi Link 1030 wireless hardware that can test the following diff? You'll need an up-to-date firmware pckage and a bleeding edge -current tree. [...] === ifconfig error when

Re: DNS options for sppp(4)

2012-10-28 Thread LEVAI Daniel
On cs, okt 25, 2012 at 10:47:04 +0200, Gerhard Roth wrote: [...] Works for me. Cool feature, I like it :) Thanks! Daniel So anybody out there willing to give me an ok? Sorry if I was too terse. This was tested and now is being used on two separate i386 machines with pppoe

Re: DNS options for sppp(4)

2012-10-25 Thread LEVAI Daniel
On cs, okt 25, 2012 at 10:09:04 +0200, Gerhard Roth wrote: [...] Daniel, the patch contained a modification to sys/net/if_sppp.h adding 'u_int32_t dns_addrs[2]' to struct sppp. Could you please check if that patch applied? In case it did, do a 'make build' so that /usr/include/net/if_sppp.h

Re: DNS options for sppp(4)

2012-10-25 Thread LEVAI Daniel
On p, okt 05, 2012 at 13:46:19 +0200, Gerhard Roth wrote: Hi, I trying to revive part of an old patch that was submitted by mpf in 2007. If adds support for DNS server negotiation to the IPCP part of sppp(4). If the PPP server provides IP addresses for DNS servers, they will appear in the

Re: ksh: tab completion fix (again)

2012-09-27 Thread LEVAI Daniel
On cs, szept 27, 2012 at 01:42:25 +0400, Alexander Polakov wrote: I sent this diff in 2011 (?) with a bunch of other diffs. It fixes tab completion for filenames containing special characters like [], () and so. This code affects interactive mode only, and I don't know a way to do automated

Re: ksh sigwinch

2012-09-05 Thread LEVAI Daniel
On k, szept 04, 2012 at 18:15:29 -0400, Ted Unangst wrote: I move my windows around and even resize them sometimes. Sometimes ksh catches on, but a lot of the time it doesn't. The problem is if I'm running an editor like vi (kinda common reason why I'd want to resize the terminal), sigwinch

Re: ksh sigwinch

2012-09-05 Thread LEVAI Daniel
On sze, szept 05, 2012 at 07:01:45 -0400, Ted Unangst wrote: [...] This doesn't work for me inside either urxvt or xterm. I've resized the windows but the end of the line remained more far than the windows' edge. Do I understand correctly that this patch would make ksh always recalculate

Re: [Patch] Virtio drivers for OpenBSD V8

2012-09-01 Thread LEVAI Daniel
Here comes the next revision. Changes from v7: [...] Hi! I've just started to test this with an OpenBSD guest on a Linux host. vio0 NIC and the virtio disk work like a charm. I have a slightly (~10%) better performance with the ide emulation than with virtio, but nevertheless it works. Here

Re: [Patch] Virtio drivers for OpenBSD V8

2012-09-01 Thread LEVAI Daniel
On szo, szept 01, 2012 at 16:00:06 +0200, LEVAI Daniel wrote: Here comes the next revision. Changes from v7: [...] Hi! I've just started to test this with an OpenBSD guest on a Linux host. vio0 NIC and the virtio disk work like a charm. I have a slightly (~10%) better performance

route.8 fix

2012-08-21 Thread LEVAI Daniel
Hi! I've stumbled upon this: Index: route.8 === RCS file: /cvs/src/sbin/route/route.8,v retrieving revision 1.70 diff -p -u -r1.70 route.8 --- route.8 13 Jul 2012 10:15:53 - 1.70 +++ route.8 21 Aug 2012 13:10:40

Re: route.8 fix

2012-08-21 Thread LEVAI Daniel
On k, aug 21, 2012 at 15:12:44 +0200, LEVAI Daniel wrote: Hi! I've stumbled upon this: Index: route.8 === RCS file: /cvs/src/sbin/route/route.8,v retrieving revision 1.70 diff -p -u -r1.70 route.8 --- route.8 13 Jul 2012

Re: ftp, ignore whitespace at end of Content-Length

2012-05-29 Thread LEVAI Daniel
As noted on misc, ftp http://www.spamhaus.org/drop/drop.lasso fails due to whitespace after the value of the content-length header. wget/curl/lynx/w3m all handle this. This is really useful, thanks! Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC C66B A47A DFA2 792D

Re: debugging ports issues, use introspection

2012-04-30 Thread LEVAI Daniel
On 28.04.2012 16:24, Marc Espie wrote: When things fail while building a port, remember you can almost always check what is really going on. [...] Thanks for this cool write-up, again! I like these informative lectures from time-to-time. When in trouble creating or building ports, I just look

Re: systat(1) netstat

2012-01-29 Thread LEVAI Daniel
On Sun, Jan 29, 2012 at 15:46:10 -0500, Okan Demirmen wrote: Hi, The following small diff does the following: - allows the default to only show all non-listneing scokets, which matches the manpage and what netstat(1) does, sans the aflag (-a). - allows one to use 'a' to toggle the

Re: ksh history corruption

2011-09-01 Thread LEVAI Daniel
On Wed, Aug 31, 2011 at 14:42:26 -0500, Marco Peereboom wrote: Version 4 fixes all reported bugs. Some folks have expressed doubt about the simplistic way of updating the history file. Specifically the rewriting of all entries. I am sensitive to that and know a couple of optimizations that

Re: ksh history corruption

2011-08-31 Thread LEVAI Daniel
On Tue, Aug 30, 2011 at 13:55:57 -0500, Marco Peereboom wrote: On Tue, Aug 30, 2011 at 11:11:46AM -0500, Marco Peereboom wrote: I have had enough of corrupt ksh history so I had a look at the code to try to fix it. The magical code was very magical so I basically deleted most of it and

Re: ksh history corruption

2011-08-31 Thread LEVAI Daniel
On Wed, Aug 31, 2011 at 06:57:34 -0500, Marco Peereboom wrote: On Wed, Aug 31, 2011 at 11:59:29AM +0200, LEVAI Daniel wrote: On Tue, Aug 30, 2011 at 13:55:57 -0500, Marco Peereboom wrote: On Tue, Aug 30, 2011 at 11:11:46AM -0500, Marco Peereboom wrote: I have had enough of corrupt ksh

Re: ksh completion

2011-06-20 Thread LEVAI Daniel
On Sun, Jun 19, 2011 at 15:26:26 -0400, STeve Andre' wrote: I hope not. I've seen this as well. I want to test this, seeing as how I just bumped into this. Can you post the last patch for this? Alexander has a whole bunch of excelent stuff for ksh in his repo. Seven patches IIRC, and they

Re: ksh completion

2011-06-19 Thread LEVAI Daniel
On sze, maj 11, 2011 at 16:13:45 +0200, LEVAI Daniel wrote: On Tue, May 10, 2011 at 15:23:52 +0400, Alexander Polakov wrote: * LEVAI Daniel l...@ecentrum.hu [110510 14:33]: On Tue, May 10, 2011 at 12:28:06 +0200, LEVAI Daniel wrote: [...] Apperantly, adding ':' to ESCAPEDCHARS solves

Re: MSI for em(4)

2011-06-16 Thread LEVAI Daniel
This is a fairly conservative diff that enables MSI on the newer em(4) parts, essentially everything handled by the Linux e1000e driver. Please test if you have anything that's vaguely recent. It just works. Although, I only had a chance to test it with a 100Mbit connection. Daniel

Re: A step towards support for Message Signaled Interrupts

2011-05-14 Thread LEVAI Daniel
This diff completes the implementation of PCI flags, making sure [...] Hi! Forgive my ignorance, but is PR 6523 related to this? Should I try this with that machine? (http://marc.info/?l=openbsd-miscm=126840264605078w=2) Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint = DBEC

Re: ksh completion

2011-05-11 Thread LEVAI Daniel
On Tue, May 10, 2011 at 15:23:52 +0400, Alexander Polakov wrote: * LEVAI Daniel l...@ecentrum.hu [110510 14:33]: On Tue, May 10, 2011 at 12:28:06 +0200, LEVAI Daniel wrote: On Tue, May 10, 2011 at 08:41:48 +0200, LEVAI Daniel wrote: On Mon, May 09, 2011 at 23:48:46 +0400, Alexander

Re: ksh completion

2011-05-10 Thread LEVAI Daniel
On Tue, May 10, 2011 at 08:41:48 +0200, LEVAI Daniel wrote: On Mon, May 09, 2011 at 23:48:46 +0400, Alexander Polakov wrote: * Alexander Polakov polac...@gmail.com [110502 18:19]: Do you mean something like this or I got it all wrong again and we have to wait another 15 years for someone

Re: ksh completion

2011-05-10 Thread LEVAI Daniel
On Tue, May 10, 2011 at 12:28:06 +0200, LEVAI Daniel wrote: On Tue, May 10, 2011 at 08:41:48 +0200, LEVAI Daniel wrote: On Mon, May 09, 2011 at 23:48:46 +0400, Alexander Polakov wrote: * Alexander Polakov polac...@gmail.com [110502 18:19]: Do you mean something like this or I got it all

Re: ksh completion

2011-03-28 Thread LEVAI Daniel
On Thu, Mar 24, 2011 at 15:48:56 +0300, Alexander Polakov wrote: And just for the archives, a patch that really works as advertised (and using it for some time I feel like it *is* a good idea). One thing I've noticed: $ touch 'thing [another thing aaa' $ touch 'thing [another thing bbb' $ ls

Re: ksh completion

2011-03-24 Thread LEVAI Daniel
On Thu, Mar 24, 2011 at 15:48:56 +0300, Alexander Polakov wrote: And just for the archives, a patch that really works as advertised (and using it for some time I feel like it *is* a good idea). It is really working well. Thanks! However, I don't quite understand why '[' needs to be escaped

Re: ksh completion

2011-03-24 Thread LEVAI Daniel
On Thu, Mar 24, 2011 at 16:30:12 +0100, Janjaap van Velthooven wrote: On Thu, Mar 24, 2011 at 03:40:56PM +0100, LEVAI Daniel wrote: On Thu, Mar 24, 2011 at 15:48:56 +0300, Alexander Polakov wrote: And just for the archives, a patch that really works as advertised (and using it for some

Re: stat(1) -x option shows no setuid/setgid - patch

2010-10-06 Thread LEVAI Daniel
On Tue, Oct 05, 2010 at 14:46:42 -0700, Philip Guenther wrote: On Sat, 2 Oct 2010, LEVAI Daniel wrote: [...] Mode: (104555/-r-sr-xr-x) ^^^ Hmm, that doesn't match the Linux/GNU stat behavior, which doesn't show the file-type bits, bits which no sane program looks at except via

stat(1) -x option shows no setuid/setgid - patch

2010-10-02 Thread LEVAI Daniel
Hi! I noticed that executin stat -x on a setuid or setgid file don't display the setuid/setgid mode in the numeric Mode: field: $ /usr/bin/stat -x /usr/bin/passwd File: /usr/bin/passwd Size: 22484FileType: Regular File Mode:

Re: Looking for testers for a simple X test

2010-09-01 Thread LEVAI Daniel
On Mon, Aug 30, 2010 at 23:31:25 +0200, Mark Kettenis wrote: The Xorg xserver runs a scary amount of code in a signal handler. It's supposed to make your mouse cursor move more smoothly, but I can't spot the difference when I disable that feature. Instead, this feature breaks certain

Re: Looking for testers for a simple X test

2010-09-01 Thread LEVAI Daniel
On Wed, Sep 01, 2010 at 06:30:05 -0400, Kenneth R Westerback wrote: On Wed, Sep 01, 2010 at 09:35:17AM +0200, LEVAI Daniel wrote: [...] However, using this option, after starting firefox everything gets extremely laggy, and I can interact with my machine with the keyboard or mouse with 4

Re: disklabel - 'P' option

2010-04-07 Thread LEVAI Daniel
On Wed, Apr 07, 2010 at 11:21:49AM +, Mark Lumsden wrote: I press 'p' then enter after everything I do in disklabel. 'P' automatically prints out the equivalent of 'p' after each command and saves on finger wear and tear. like/dislike? Neat! Dani -- LIVAI Daniel PGP key ID =

Re: ksh file completion bug

2010-02-24 Thread LEVAI Daniel
Hi! Thanks to all who have replied. I'm really baffled with this. I've upgraded to a more recent snapshot, and it has gone away since. However I'm not really sure that the error was in the previous snapshot, in fact it was probably a PEBKAC, but I've no idea what could've been the problem.

ksh file completion bug

2010-02-22 Thread LEVAI Daniel
Hi! With ksh's Vi edit mode I've experienced the following: If a file's size is exactly 2GiB or more, pdksh fails to complete its name during filename completion (eg.: hitting TAB or CTRL+e or whatever). If the file's size is just one byte short of the 2 gigs, then the completion works fine.

Re: azalia: use line out jack colors in mixer names

2009-06-23 Thread LEVAI Daniel
On Tuesday 23 June 2009 03.39.55 Jacob Meuser wrote: this is looking good but more test reports are always nice. It is working okay here. ThinkPad T60. [...] azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 1 int 17 (irq 11 ) azalia0: RIRB time out azalia0: codecs: Analog