Re: current smtpd: auth failed when username = 31 chars, Syntax error when username 31

2015-02-05 Thread Abel Abraham Camarillo Ojeda
On Tue, Dec 9, 2014 at 1:40 AM, Gilles Chehade gil...@poolp.org wrote:
 Now, if you auth using another mechanism (ie: listen [...] auth table)
 in theory we do not have the same limitation but I think it will fail as
 we share some code path and we probably have a check in there. I'll have
 a look at this.


Hi Gilles

Did you happen to have a chance to check into this? I know you must be very
busy and I have a little of C experience so maybe can you refer me to some
specific documentation/code so I can help fixing this?

Thank you for your time, and thanks for opensmtpd

regards



Re: Minor grammar tweak to tmux.1

2015-02-05 Thread Jason McIntyre
On Wed, Feb 04, 2015 at 04:22:55PM -0800, Iain Morgan wrote:
 Adjust the description of find-window to avoid a contraction, and adjust
 the word order.
 
 Index: tmux.1
 ===
 RCS file: /cvs/src/usr.bin/tmux/tmux.1,v
 retrieving revision 1.412
 diff -u -r1.412 tmux.1
 --- tmux.16 Jan 2015 09:12:02 -   1.412
 +++ tmux.15 Feb 2015 00:15:33 -
 @@ -1337,7 +1337,7 @@
  matches only the window title.
  The default is
  .Fl CNT .
 -If only one window is matched, it'll be automatically selected,
 +If only one window is matched, it will automatically be selected,
  otherwise a choice list is shown.
  For the meaning of the
  .Fl F
 
 -- 
 Iain Morgan
 

i know there is a general acceptance that formal documentation shall
have no contractions. i don;t think it applies to the man pages.

firstly, it's hard to ask authors to write in a style that is unnatural
to them.

secondly, we would want to apply stuff like this consistently. that
would mean thousands of changes. for no gain, in my opinion.

projects like freebsd have been making such changes and i think it's a
big mistake. in many cases, the non-contracted form sounds awful. you
should watch a few episodes of peppa pig if you want to feel the effect
in full.

of course, if a writer chooses to write a page avoiding contractions,
that would be their prerogative, but i absolutely don;t want us to start
making changes like this.

jmc



Re: elantech-v4 clickpad support

2015-02-05 Thread Martin Pieuchot
On 03/02/15(Tue) 22:36, Ulf Brosziewski wrote:
 On 01/30/2015 11:04 AM, Ulf Brosziewski wrote:
 On 01/30/2015 07:15 AM, Martin Pieuchot wrote:
 On 30/01/15(Fri) 01:25, Ulf Brosziewski wrote:
 Probably I was too sceptical about synaptics.c. The bug I observed
 with the ALPS touchpad seems to be due to a kind of mismatch between
 the ALPS code in pms and the event handling in wsconscomm. The patch
 below contains the initial change as well as what was necessary to
 fix this.
 
 Do you think it is possible to fix the pms(4) driver instead of adding
 another quirk?
 
 ...
 
 Certainly that would be a better solution. For synaptics hardware there
 seems to be no specific W value that signals the end of a touch. If I
 understand it correctly, the hardware reports zero coordinates instead
 and the X driver adjusts its state accordingly. I will try to check soon
 whether this is correct and whether the ALPS code could be adapted.
 
 
 
 I couldn't test it directly, but according to the Synaptics PS/2 TouchPad
 Interfacing Guide synaptics hardware does indeed signal a W value of 0 if
 there is no pressure as well as for two-finger contacts. This means that
 the ALPS part of pms is correct and shouldn't be changed. For a proper
 finger count Z must be checked, and the place to do this is probably in
 wsconscomm. I have changed the patch accordingly.
 
 The change in the new version applies to all touchpad/clickpad models and
 would require appropriate testing. In my own tests with the ALPS Glidepoint
 touchpad and the Elantech Clickpad - and the patched pms version - I didn't
 observe any problems.

I'm running with this diff on a pms0: Synaptics clickpad, firmware
8.0.  I'm seeing no problem with it, and it seems to improve the
two-finger scrolling situation where previously the cursor would go
crazy.

Since it has been tested on various Synaptics, ALPS and Elantech I think
it is safe to put it in.

Anybody wants to ok this diff?


Btw Ulf, it seems your mail client mangles tab/space.  I couldn't apply
your diff correctly :/

 diff --git a/wsconscomm.c b/wsconscomm.c
 index df3512d..70c103a 100644
 --- a/wsconscomm.c
 +++ b/wsconscomm.c
 @@ -132,12 +132,6 @@ WSConsReadHwState(InputInfoPtr pInfo,
  struct wscons_event event;
  Bool v;
 
 -/* Reset cumulative values if buttons were not previously pressed */
 -if (!hw-left  !hw-right  !hw-middle) {
 -hw-cumulative_dx = hw-x;
 -hw-cumulative_dy = hw-y;
 -}
 -
  while (WSConsReadEvent(pInfo, event)) {
  switch (event.type) {
  case WSCONS_EVENT_MOUSE_UP:
 @@ -187,9 +181,11 @@ WSConsReadHwState(InputInfoPtr pInfo,
  break;
  case WSCONS_EVENT_MOUSE_ABSOLUTE_X:
  hw-x = event.value;
 +hw-cumulative_dx = hw-x;
  break;
  case WSCONS_EVENT_MOUSE_ABSOLUTE_Y:
  hw-y = priv-maxy - event.value + priv-miny;
 +hw-cumulative_dy = hw-y;
  break;
  case WSCONS_EVENT_MOUSE_ABSOLUTE_Z:
  hw-z = event.value;
 @@ -218,6 +214,10 @@ WSConsReadHwState(InputInfoPtr pInfo,
  }
  break;
  case WSCONS_EVENT_SYNC:
 +if (hw-z == 0) {
 +hw-fingerWidth = 0;
 +hw-numFingers = 0;
 +}
  hw-millis = 1000 * event.time.tv_sec + event.time.tv_nsec /
 100;
  SynapticsCopyHwState(hwRet, hw);
  return TRUE;
 



Re: Typo in faq4.html

2015-02-05 Thread Stuart Henderson
On 2015/02/05 13:07, Ville Valkonen wrote:
 Hello,
 
 if I haven't completely mistaken, the correct form is unattended:
 
 --- faq4.html.orig  2015-02-05 13:04:57.444046000 +0200
 +++ faq4.html   2015-02-05 13:05:12.268171000 +0200
 @@ -2240,7 +2240,7 @@ applications which can use much, much mo
  While this directory is world-writable, when it is a separate partition,
  OpenBSD defaults to mounting it nodev and nosuid, which minimizes how
  it can be used to abuse your system.
 -Files left unattened here will be purged automatically, this is NOT for
 +Files left unattended here will be purged automatically, this is NOT for
  long term storage!
 
  lib/var:/b
 
 --
 Regards,
 Ville

Thanks, fixed



Re: additional drm fixes from linux-stable 3.10.y

2015-02-05 Thread Dimitris Papastamos
On Sat, Jan 31, 2015 at 08:25:23PM +1100, Jonathan Gray wrote:
 Some test reports with this would be great.
 In particular for radeon.

Been running this patch with i915 for 2 days now without any
perceivable issues.

OpenBSD 5.7-beta (GENERIC.MP) #23: Tue Feb  3 17:07:19 GMT 2015
r...@darkstar.2f30.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8451125248 (8059MB)
avail mem = 877632 (7841MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (63 entries)
bios0: vendor LENOVO version 83ET76WW (1.46 ) date 07/05/2013
bios0: LENOVO 4236MBG
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA SSDT 
SSDT DMAR UEFI UEFI UEFI
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EHC1(S3) EHC2(S3) 
HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-2540M CPU @ 2.60GHz, 2591.95 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-2540M CPU @ 2.60GHz, 2591.58 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i5-2540M CPU @ 2.60GHz, 2591.58 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-2540M CPU @ 2.60GHz, 2591.58 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus -1 (EXP4)
acpiprt5 at acpi0: bus 13 (EXP5)
acpicpu0 at acpi0: C3, C1, PSS
acpicpu1 at acpi0: C3, C1, PSS
acpicpu2 at acpi0: C3, C1, PSS
acpicpu3 at acpi0: C3, C1, PSS
acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2
acpitz0 at acpi0: critical temperature is 98 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 45N1173 serial 26283 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
cpu0: Enhanced SpeedStep 2591 MHz: speeds: 2601, 2600, 2400, 2200, 2000, 1800, 
1600, 1400, 1200, 1000, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core 2G Host rev 0x09
vga1 at pci0 dev 2 function 0 Intel HD Graphics 3000 rev 0x09
intagp at vga1 not configured
inteldrm0 at vga1
drm0 at inteldrm0
drm: Memory usable by graphics device = 2048M
inteldrm0: 1600x900
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel 6 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 Intel 6 Series KT rev 0x04: ports: 1 com
com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes
em0 at pci0 dev 25 function 0 Intel 82579LM rev 0x04: msi, address 
00:21:cc:5d:e1:40
ehci0 at pci0 dev 26 function 0 Intel 6 Series USB rev 0x04: apic 2 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 Intel 6 Series HD Audio rev 0x04: msi
azalia0: codecs: Conexant/0x506e, Intel/0x2805, using Conexant/0x506e
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 6 Series PCIE rev 0xb4: msi
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 Intel 6 Series PCIE rev 0xb4: msi
pci2 at ppb1