amd and 2GB limit

2021-07-02 Thread Gustavo Rios
Hi folks, Is there this limit yet in amd ? Thanks. -- The lion and the tiger may be more powerful, but the wolves do not perform in the circus

Re: dhcpcd -U6 /var/db/dhcpcd/alc0.lease6 incorrectly returns "dhcpcd is not running"

2021-07-02 Thread Zack Newman
> On Jul 2, 2021, at 2:15 PM, Zack Newman wrote: > > According to DHCPCD(8): > > -U, --dumplease [interface] > Dumps the current lease for the interface to stdout. If no > interface is given then all interfaces are dumped. Use the -4 or > -6 flags to

Re: dhcpcd -U6 /var/db/dhcpcd/alc0.lease6 incorrectly returns "dhcpcd is not running"

2021-07-02 Thread Zack Newman
According to DHCPCD(8): -U, --dumplease [interface] Dumps the current lease for the interface to stdout. If no interface is given then all interfaces are dumped. Use the -4 or -6 flags to specify an address family. If a lease is piped in via

Re: send ctrl-alt-f1 to user app

2021-07-02 Thread Gregory Edigarov
On 7/2/21 5:26 PM, Reuben ua Bríġ wrote: >> Date: Fri, 2 Jul 2021 13:55:26 +0300 >> >> xmodmap(1) is really only for a user at an X terminal >> yeah, I know my case is rather rare. I have a linux vm, running in vmware on windows.  I connect via rdesktop from my openbsd to windows, and then

Re: dhcpcd -U6 /var/db/dhcpcd/alc0.lease6 incorrectly returns "dhcpcd is not running"

2021-07-02 Thread Stuart Henderson
On 2021-07-02, Zack Newman wrote: > Excellent reply. Thank you Stuart. Unfortunately, changing "rm -rf -- *” to > “rm -rf — !(dhcpcd)” and rebooting now causes the command to timeout: > > beta# dhcpcd -U6 /var/db/dhcpcd/alc0.lease6 > dhcpcd_readdumptimeout I believe that should just be "alc0"

Re: dhcpcd -U6 /var/db/dhcpcd/alc0.lease6 incorrectly returns "dhcpcd is not running"

2021-07-02 Thread Zack Newman
> On Jul 2, 2021, at 8:22 AM, jslee wrote: > > On Fri, 2 Jul 2021, at 10:29, Zack Newman wrote: >> When I start dhcpcd during booting the “normal” way (i.e., rcctl enable >> dhcpcd), I am able to successfully dump the lease information >> associated with the alc0 interface (which is

Re: dhcpcd -U6 /var/db/dhcpcd/alc0.lease6 incorrectly returns "dhcpcd is not running"

2021-07-02 Thread Zack Newman
Excellent reply. Thank you Stuart. Unfortunately, changing "rm -rf -- *” to “rm -rf — !(dhcpcd)” and rebooting now causes the command to timeout: beta# dhcpcd -U6 /var/db/dhcpcd/alc0.lease6 dhcpcd_readdumptimeout Like before, IPv6 seems to be working fine otherwise. Any further insight?

Re: while do done

2021-07-02 Thread Reuben ua Bríġ
> Date: Fri, 2 Jul 2021 11:17:20 -0600 > From: "Todd C. Miller" > Actually, the following _can_ be interrupted: > > while :; do done > > while :; do :; done oops. its been so long i completely forgot. > The only problem is: > > while do done > > which may not actually be

Re: while do done

2021-07-02 Thread Todd C . Miller
On Fri, 02 Jul 2021 14:16:20 +1000, Reuben ua =?UTF-8?Q?Br=C3=AD=C4=A1?= wrote: > you CAN interrupt > > while do sleep 0; done > > there is no need for exit, and it doesnt fix > > while do done > > or > > while :; do :; done > > if your shell needs something to not do.

Re: while do done

2021-07-02 Thread Reuben ua Bríġ
> On Mon, 28 Jun 2021 22:20:15 +1000 > Reuben ua Bríġ wrote: > > you cant interrupt sh in > > while do done > > not that it matters. > Date: Fri, 2 Jul 2021 09:07:41 +1000 > From: Stuart Longland > oninterrupt() { > echo "I was interrupted!" > exit 0 > } > > trap

Re: send ctrl-alt-f1 to user app

2021-07-02 Thread Reuben ua Bríġ
> Date: Fri, 2 Jul 2021 13:55:26 +0300 > From: Gregory Edigarov > in my case it changes to the vterm0, > but now I my app to react, not change terminal > Date: Fri, 2 Jul 2021 22:23:35 +0959 > From: Reuben ua Bríġ > you probably want > > xmodmap(1) - utility for modifying

Re: send ctrl-alt-f1 to user app

2021-07-02 Thread Reuben ua Bríġ
> Date: Fri, 2 Jul 2021 22:23:35 +0959 > From: Reuben ua Bríġ > xmodmap -e "F1 = F1 F1" oops... that should be xmodmap -e "keysym F1 = F1 F1"

Re: send ctrl-alt-f1 to user app

2021-07-02 Thread Reuben ua Bríġ
> Date: Fri, 2 Jul 2021 13:55:26 +0300 > From: Gregory Edigarov > in my case it changes to the vterm0, > but now I my app to react, not change terminal you probably want xmodmap(1) - utility for modifying keymaps... in X the keysym that is the cause of your problems is

Re: send ctrl-alt-f1 to user app

2021-07-02 Thread Alexandre Ratchov
On Fri, Jul 02, 2021 at 01:55:26PM +0300, Gregory Edigarov wrote: > Hello, > > please remind how to do that? > > in my case it changes to the vterm0, that is ok,  but now I my app to > react, not change terminal > thank you. > Never tried it, but this reminded me Xorg(1):

Re: dhcpcd -U6 /var/db/dhcpcd/alc0.lease6 incorrectly returns "dhcpcd is not running"

2021-07-02 Thread jslee
On Fri, 2 Jul 2021, at 10:29, Zack Newman wrote: > When I start dhcpcd during booting the “normal” way (i.e., rcctl enable > dhcpcd), I am able to successfully dump the lease information > associated with the alc0 interface (which is connected directly to my > bridge modem); however when I

Re: How to set a HTTP proxy for sysupgrade

2021-07-02 Thread Raimo Niskanen
On Thu, Jul 01, 2021 at 09:34:32AM -0400, trondd wrote: > On Thu, July 1, 2021 4:25 am, Raimo Niskanen wrote: > > On Wed, Jun 30, 2021 at 09:23:15PM -0400, trondd wrote: > >> > >> I simply echo the export statements of the proxy environment variables > >> to > >> /etc/rc.firstime before reboot.

Re: C style in OpenBSD

2021-07-02 Thread Stuart Longland
On Fri, 2 Jul 2021 15:09:42 +0959 Reuben ua Bríġ wrote: > > Some languages do not have ternaries. > > in C: > ternary EXPRESSION: A ? B : C > ternary STATEMENT:if (A) B; else C; > > i will define some macros to highlight the similarity: > > […snip…] > > #define exif(e) e ? >

send ctrl-alt-f1 to user app

2021-07-02 Thread Gregory Edigarov
Hello, please remind how to do that? in my case it changes to the vterm0, that is ok,  but now I my app to react, not change terminal thank you. -- With best regards, Gregory Edigarov

Re: dhcpcd -U6 /var/db/dhcpcd/alc0.lease6 incorrectly returns "dhcpcd is not running"

2021-07-02 Thread Stuart Henderson
On 2021-07-02, Zack Newman wrote: > When I start dhcpcd during booting the \xe2\x80\x9cnormal\xe2\x80\x9d > way (i.e., rcctl enable dhcpcd), I am able to successfully dump the > lease information associated with the alc0 interface (which is connected > directly to my bridge modem); however when I

Re: while do done

2021-07-02 Thread Stuart Longland
On Fri, 2 Jul 2021 14:16:20 +1000 Reuben ua Bríġ wrote: > > while true; do > > # Do something > > sleep 10 > > done > > you CAN interrupt > > while do sleep 0; done > > there is no need for exit, and it doesnt fix > > while do done Your bug report was vague and