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 --- e

ksh, add 'nobeep' option to disable bell

2012-11-26 Thread LEVAI Daniel
Hi! I needed an option to disable the bell in ksh, and I copied the idea of a 'nobeep' option from other shells. Index: emacs.c === RCS file: /cvs/src/bin/ksh/emacs.c,v retrieving revision 1.46 diff -p -u -r1.46 emacs.c --- emacs.c

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 t

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

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

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_s

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

Re: ksh: tab completion fix (again)

2012-09-26 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 auto

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 > > recalc

Re: ksh sigwinch

2012-09-04 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), sigwin

Re: [Patch] Virtio drivers for OpenBSD V8

2012-09-04 Thread LEVAI Daniel
On v, szept 02, 2012 at 12:13:33 +0200, Stefan Fritsch wrote: > On Saturday 01 September 2012, LEVAI Daniel wrote: > > > > 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 hav

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. &

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 i

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

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 -000

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

2012-05-28 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 7

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 u

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-08-31 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

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: > >

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 a

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 [110510 14:33]: > > > On Tue, May 10, 2011 at 12:28:06 +0200, LEVAI Daniel wrote: [...] > > > Apperantly, adding ':

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 Ope

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-misc&m=126840264605078&w=2) Daniel -- LIVAI Daniel PGP key ID = 0x83B63A8F Key fingerprint =

Re: ksh completion

2011-05-11 Thread LEVAI Daniel
On Tue, May 10, 2011 at 15:23:52 +0400, Alexander Polakov wrote: > * LEVAI Daniel [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:

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 [110502 18:19]: > > > > Do you mean something l

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 [110502 18:19]: > > > Do you mean something like this or I got it all wrong again and we > > > have to wait another

Re: ksh completion

2011-05-09 Thread LEVAI Daniel
On Mon, May 09, 2011 at 23:48:46 +0400, Alexander Polakov wrote: > * Alexander Polakov [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 to dig into this? > > That diff was wrong, this one is likely less wrong. Thi

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' $

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 &

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 dur

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 whi

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: (0555/-r

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 keyboa

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 m

Re: re(4) diff needs testing.

2010-04-12 Thread LEVAI Daniel
On Sat, Apr 10, 2010 at 08:46:16PM -0400, Brad wrote: > Please test the following diff with any re(4) adapters. > This is an adaption of some code from FreeBSD to help with > identification of certain chipsets. Just make sure the > driver still attaches Ok. There should be no change > with the dmes

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 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 = 0x83B

ksh man diff (mknod)

2010-03-26 Thread LEVAI Daniel
Hi! I've noticed that ksh's man page mentions mknod's b(lock) and c(har) device parameters as optional, but they are mandatory. Does the following diff make sense?: --- ksh.1.old 2010-02-26 18:54:15.0 +0100 +++ ksh.1 2010-03-26 20:38:44.601680717 +0100 @@ -3331,7 +3331,7 @@ .Ic

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. Anywa

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. Quic

Re: aucat on low latency setups

2010-01-18 Thread LEVAI Daniel
On Saturday 16 January 2010 18.11.50 Alexandre Ratchov wrote: > Hi, > > The diff below allows aucat to use only two audio blocks, > which lowers the server-side latency. The diff should not > impact stability, actually it should slightly improve it. > Yeah, I know, improved stablility with smaller

/etc/security - patch for don't count lost+found in /var/mail

2009-11-01 Thread LEVAI Daniel
Hi! /etc/security complains about the lost+found directory in /var/mail. Here is a diff to ignore a lost+found named directory in /var/mail: --- security.orig Wed Aug 13 00:51:28 2008 +++ securitySun Nov 1 09:04:48 2009 @@ -434,7 +434,7 @@ fi # Mailboxes should be owned by user and

rcs preserving owners and groups

2009-07-23 Thread LEVAI Daniel
Hi! Here is a diff, if someone is interested, which adds a new option to rcs' ci(1) and co(1) to preserve owner and group information across checkins/checkouts. I was really missing this feature with config files which have to have uid/gid other than root/wheel and needed to manage the files as ro

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: Anal

add long option names to mount_nfs' man page

2009-06-13 Thread LEVAI Daniel
Hi! If anyone is interested, here is a patch to mount_nfs' man page, to include mount_nfs(8) parameters' long versions (the fstab(5) style long versions). Perhaps referring to the options as "long versions" is not quite right, but I couldn't come up with anything different. Index: mount_nfs.8 ==

Re: ksh vi mode werase (^W) handling

2009-06-09 Thread LEVAI Daniel
On Tuesday 09 June 2009 19.47.48 you wrote: > The problem was just as you desribed. Below is a diff to restore 'B' and > do the right thing on ^W. Thanks! Thank You, for the quick response. Daniel -- LIVAI Daniel PGP key ID = 0x4AC0A4B1 Key fingerprint = D037 03B9 C12D D338 4412 2D83 1373 917A 4

Re: ACPI C-States diff

2009-06-09 Thread LEVAI Daniel
On Sunday 07 June 2009 21.48.24 you wrote: > Sending out an initial attempt at implementing C-states for APCI CPUs. > The C-states are used to implement the CPU idle loop per CPU. Crash with i386 SMP. Screenshots are here: http://leva.ecentrum.hu/acpi_crash/ Daniel -- LIVAI Daniel PGP key ID =

Re: ACPI C-States diff

2009-06-09 Thread LEVAI Daniel
On Tuesday 09 June 2009 14.46.01 you wrote: > Can we get some tests on this? > I will upload the trace and crash today. Daniel -- LIVAI Daniel PGP key ID = 0x4AC0A4B1 Key fingerprint = D037 03B9 C12D D338 4412 2D83 1373 917A 4AC0 A4B1

Re: ksh vi mode werase (^W) handling

2009-06-09 Thread LEVAI Daniel
> Hi, > > Here's a diff to make ksh vi mode handle werase more like vi. It's > really irritating to have whole paths go away on ^W instead of just the > last bit. I think this broke the vi edit so that now you can not go back a whole word with the B (that is capital B) character in command mode:

Re: ACPI C-States diff

2009-06-08 Thread LEVAI Daniel
On Sunday 07 June 2009 21.48.24 you wrote: > Sending out an initial attempt at implementing C-states for APCI CPUs. > The C-states are used to implement the CPU idle loop per CPU. > > Please send dmesgs of booting using this patch. I can not boot bsd.mp with this patch with a ThinkPad T60; kernel c

Re: Please test this diff on as many acpi systems as possible

2009-06-08 Thread LEVAI Daniel
On Sunday 07 June 2009 06.23.34 g...@gwk.ca wrote: > And it works better if you send the actual diff you would like tested > sorry about this, but please test this one. I'm experiencing no problem on a ThinkPad T60. Daniel -- LIVAI Daniel PGP key ID = 0x4AC0A4B1 Key fingerprint = D037 03B9 C12D D

Re: nfs retransmission book keeping

2009-05-21 Thread LEVAI Daniel
On Thursday 21 May 2009 01.29.07 you wrote: > Hi gang... > > It would be great if people running NFS (soft, and hard mounts) > could give this diff a spin. what it does essentially is to redo > the retransmission booking by keeping count of maximum rexmits in > one place (the nfsmount structure) an