Re: Option for alternative escape character with cu(1)

2019-03-15 Thread Nicholas Marriott
On Fri, Mar 15, 2019 at 09:43:56AM -0600, Todd C. Miller wrote: > Wouldn't it be less error-prone to make escape_char u_char instead > of int? Maybe, I don't mind either way. However this in stream_read would still need a cast as ptr is signed: if (state_change && (u_char)*ptr ==

Re: efifb(4): raise maximum size to match inteldrm and radeondrm?

2019-03-15 Thread Mark Kettenis
> Date: Fri, 15 Mar 2019 16:37:58 +0100 > From: Frederic Cambus > > Hi tech@, > > Currently, we set the maximum size for the EFI framebuffer console to > 100 columns and 31 rows. > > Now that efifb(4) supports remapping the framebuffer in write combining > mode, it's now fast enough to

Re: dwiic at pci: fetch timing parameters from acpi

2019-03-15 Thread Mark Kettenis
> Date: Fri, 15 Mar 2019 16:07:17 -0500 > From: joshua stein > > While making dwiic at pci attach on an Intel 300 series laptop, > dwiic was timing out while ihidev tried to fetch the HID descriptor. > Turns out the default timing parameters pulled from the device are > wrong, so try to

dwiic at pci: fetch timing parameters from acpi

2019-03-15 Thread joshua stein
While making dwiic at pci attach on an Intel 300 series laptop, dwiic was timing out while ihidev tried to fetch the HID descriptor. Turns out the default timing parameters pulled from the device are wrong, so try to fetch them from ACPI and use those instead. This matches what dwiic at acpi

Re: Option for alternative escape character with cu(1)

2019-03-15 Thread Artturi Alm
On Fri, Mar 15, 2019 at 02:43:04PM +, Nicholas Marriott wrote: > . > Another couple of minor changes below, with those it looks good to > me. Any OK for this? > With joined lines, the cast, and some runtime testing with ~, % and ^[. -Artturi diff --git a/usr.bin/cu/command.c

Re: Option for alternative escape character with cu(1)

2019-03-15 Thread Todd C . Miller
Wouldn't it be less error-prone to make escape_char u_char instead of int? - todd

efifb(4): raise maximum size to match inteldrm and radeondrm?

2019-03-15 Thread Frederic Cambus
Hi tech@, Currently, we set the maximum size for the EFI framebuffer console to 100 columns and 31 rows. Now that efifb(4) supports remapping the framebuffer in write combining mode, it's now fast enough to consider increasing those values to 160 columns and 160 rows, to match the values in

Re: Option for alternative escape character with cu(1)

2019-03-15 Thread Hiltjo Posthuma
On Fri, Mar 15, 2019 at 02:43:04PM +, Nicholas Marriott wrote: > . > Another couple of minor changes below, with those it looks good to > me. Any OK for this? > > > On Fri, Mar 15, 2019 at 01:49:52PM +0200, Artturi Alm wrote: > > On Thu, Mar 14, 2019 at 10:18:57AM +, Nicholas Marriott

Re: Option for alternative escape character with cu(1)

2019-03-15 Thread Nicholas Marriott
. Another couple of minor changes below, with those it looks good to me. Any OK for this? On Fri, Mar 15, 2019 at 01:49:52PM +0200, Artturi Alm wrote: > On Thu, Mar 14, 2019 at 10:18:57AM +, Nicholas Marriott wrote: > > Thanks, comments inline. > > > > The diff looks much better to me, now

Re: [patch] Re: Possible sasyncd memory leak ?

2019-03-15 Thread Otto Moerbeek
On Fri, Mar 15, 2019 at 12:46:32PM +0100, Michał Koc wrote: > W dniu 12.03.2019 o 15:19, Otto Moerbeek pisze: > > On Tue, Mar 12, 2019 at 02:02:15PM +0100, Otto Moerbeek wrote: > > > > > On Mon, Mar 11, 2019 at 05:11:56PM +0100, Otto Moerbeek wrote: > > > > > > > I was going to test your diff

Re: Option for alternative escape character with cu(1)

2019-03-15 Thread Artturi Alm
On Thu, Mar 14, 2019 at 10:18:57AM +, Nicholas Marriott wrote: > Thanks, comments inline. > The diff looks much better to me, now with those things fixed based on your feedback, thanks :] -Artturi diff --git a/usr.bin/cu/command.c b/usr.bin/cu/command.c index c07fe73aeca..27d80f16dd7

Re: [patch] Re: Possible sasyncd memory leak ?

2019-03-15 Thread Michał Koc
W dniu 12.03.2019 o 15:19, Otto Moerbeek pisze: On Tue, Mar 12, 2019 at 02:02:15PM +0100, Otto Moerbeek wrote: On Mon, Mar 11, 2019 at 05:11:56PM +0100, Otto Moerbeek wrote: I was going to test your diff but it does not apply. Your mailer seems to convert spaces and or tabs to funny char

Re: ipv6 via ipsec tunnel

2019-03-15 Thread Otto Moerbeek
On Fri, Mar 15, 2019 at 07:48:55AM +0100, Otto Moerbeek wrote: > On Fri, Mar 15, 2019 at 04:44:52PM +1000, David Gwynne wrote: > > > > > > > > On 15 Mar 2019, at 16:37, Otto Moerbeek wrote: > > > > > > On Fri, Mar 15, 2019 at 04:15:55PM +1000, David Gwynne wrote: > > > > > >> > > >> > >

Re: ipv6 via ipsec tunnel

2019-03-15 Thread Otto Moerbeek
On Fri, Mar 15, 2019 at 04:44:52PM +1000, David Gwynne wrote: > > > > On 15 Mar 2019, at 16:37, Otto Moerbeek wrote: > > > > On Fri, Mar 15, 2019 at 04:15:55PM +1000, David Gwynne wrote: > > > >> > >> > >>> On 14 Mar 2019, at 19:36, Otto Moerbeek wrote: > >>> > >>> Hi, > >>> > >>> So i

Re: ipv6 via ipsec tunnel

2019-03-15 Thread David Gwynne
> On 15 Mar 2019, at 16:37, Otto Moerbeek wrote: > > On Fri, Mar 15, 2019 at 04:15:55PM +1000, David Gwynne wrote: > >> >> >>> On 14 Mar 2019, at 19:36, Otto Moerbeek wrote: >>> >>> Hi, >>> >>> So i have a little IPv6 problem. >>> >>> I have a machine in colocation that has IPv6. I

Re: ipv6 via ipsec tunnel

2019-03-15 Thread Otto Moerbeek
On Fri, Mar 15, 2019 at 04:15:55PM +1000, David Gwynne wrote: > > > > On 14 Mar 2019, at 19:36, Otto Moerbeek wrote: > > > > Hi, > > > > So i have a little IPv6 problem. > > > > I have a machine in colocation that has IPv6. I have my home cable > > modem connection that does not have it. >

Re: ipv6 via ipsec tunnel

2019-03-15 Thread David Gwynne
> On 14 Mar 2019, at 19:36, Otto Moerbeek wrote: > > Hi, > > So i have a little IPv6 problem. > > I have a machine in colocation that has IPv6. I have my home cable > modem connection that does not have it. > > So I thought: I make my own tunnel. First I tried gif(4), that worked, > but