console in mc like in linux

2022-09-13 Thread 3
sorry guys for the stupid question, but the answers to stupid questions keep 
the world going :) in linux, there is a convenient feature in mc, when when 
pressing ctrl-o we not only see the console, but also we can execute commands 
in it. how to achieve this in obsd? it's about remote access via putty, if it 
matters(i have no way to test the behavior without putty)



Re: init ran syspatch(8) after upgrading to latest snapshot

2022-09-13 Thread Stuart Henderson
On 2022-09-13, Walter Alejandro Iglesias  wrote:
> I'm posting this here since I'm not sure if it's a bug or something I
> did wrong.  Today I upgraded to the latest snapshot and while booting to
> the new system init ran syspatch(8).  I can't figure out why.

This is normal after doing an upgrade to an OpenBSD snapshot
which does not have -beta / -current in the version string.

> OpenBSD 7.2 (GENERIC.MP) #720: Sun Sep 11 15:41:58 MDT 2022
  ^^^
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

(This does not mean that this is 7.2 yet, this transition phase
lasts for a while longer).

Also in this stage you will also have to set PKG_PATH to include
/snapshots/, or use pkg_add -D snap.

-- 
Please keep replies on the mailing list.



init ran syspatch(8) after upgrading to latest snapshot

2022-09-13 Thread Walter Alejandro Iglesias
I'm posting this here since I'm not sure if it's a bug or something I
did wrong.  Today I upgraded to the latest snapshot and while booting to
the new system init ran syspatch(8).  I can't figure out why.


dmesg:
OpenBSD 7.2 (GENERIC.MP) #720: Sun Sep 11 15:41:58 MDT 2022
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4135260160 (3943MB)
avail mem = 3992539136 (3807MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xeb920 (70 entries)
bios0: vendor Hewlett-Packard version "786E1 v01.16" date 08/17/2011
bios0: Hewlett-Packard HP Compaq dc7700 Convertible Minitower
acpi0 at bios0: ACPI 1.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC ASF! MCFG TCPA SLIC HPET
acpi0: wakeup devices PCI0(S4) COM1(S4) PEG1(S4) IGBE(S4) PCX1(S4) PCX2(S4) 
HUB_(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) EUS1(S3) EUS2(S3) PBTN(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz, 1795.56 MHz, 06-0f-02
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,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 2MB 64b/line 
8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 199MHz
cpu0: mwait min=64, max=64, C-substates=0.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz, 1795.51 MHz, 06-0f-02
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,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 2MB 64b/line 
8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins, remapped
acpimcfg0 at acpi0
acpimcfg0: addr 0xf400, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG1)
acpiprt2 at acpi0: bus 32 (PCX1)
acpiprt3 at acpi0: bus -1 (PCX2)
acpiprt4 at acpi0: bus 7 (HUB_)
acpipci0 at acpi0 PCI0: 0x 0x0011 0x0001
acpicmos0 at acpi0
com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
"PNP0003" at acpi0 not configured
tpm0 at acpi0 TPM_ 1.2 (TIS) addr 0x4e/0x2, device 0x rev 0xff
acpibtn0 at acpi0: PBTN
"PNP0C14" at acpi0 not configured
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
cpu0: Enhanced SpeedStep 1795 MHz: speeds: 1800, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82Q965 Host" rev 0x02
inteldrm0 at pci0 dev 2 function 0 "Intel 82Q965 Video" rev 0x02
drm0 at inteldrm0
intagp0 at inteldrm0
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0: apic 1 int 16, I965G, gen 4
"Intel 82Q965 HECI" rev 0x02 at pci0 dev 3 function 0 not configured
em0 at pci0 dev 25 function 0 "Intel ICH8 IGP AMT" rev 0x02: apic 1 int 19, 
address 00:0f:fe:77:4f:df
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: apic 1 int 20
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: apic 1 int 21
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: apic 1 int 22
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 
addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x02: apic 1 int 
21
azalia0: codecs: Realtek ALC262
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02
pci1 at ppb0 bus 32
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: apic 1 int 20
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: apic 1 int 21
ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x02: apic 1 int 20
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 
addr 1
ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xf2
pci2 at ppb1 bus 7
pcib0 at pci0 dev 31 function 0 "Intel 82801HO LPC" rev 0x02
pciide0 at pci0 dev 31 function 2 "Intel 82801H SATA" rev 0x02: DMA, channel 0 
configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 1 int 18 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 953869MB, 1953525168 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 
addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 
addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 

Re: Yet Another Laptop Recommendation Thread

2022-09-13 Thread Christoff Humphries



> On Sep 13, 2022, at 8:46 AM, Chris Cappuccio  wrote:
> 
> Christoff Humphries [christ...@sogonsecurity.com] wrote:
>> Just ordered this from eBay after looking at jcs??? list again:
>> - Lenovo ThinkPad X1 Carbon 7th Gen i7-8565U 16GB RAM 512GB SSD 14" FHD 
>> Touch 2019
>> 
>> Woot, back to OpenBSD as a daily driver again and looking forward to helping 
>> with ports and stuff.
>> 
> 
> Pretty much any amd64 laptop that doesn't have a bunch of weird custom stuff
> should mostly or fully work out-of-the-box. Nvidia graphics is not supported,
> of course. 
> 
> Then there are arm64 laptops like the x13s and the apple stuff that are coming
> out now, too. Kinda neat! Lots of custom stuff on these new apple and qualcomm
> platforms.

Indeed, that’s pretty much what all people are saying online but also see 
people reading 
that advice and still having issues when they purchased laptops, right. Like a 
wifi card
may work but only up to a specific model, etc. 

And much of the threads and advice are years and years old. I was even digging 
into 
threads in 2013 up to current and only of the blog posts I found on running 
openbsd as 
a primary workstation was by me in 2019, and that was the newest.

Was looking for concrete laptop brand models for myself but also others since 
most 
replies are what you said, which technically are correct but don’t ultimately 
answer the 
question for folks wanting to just get a laptop that works by default (it’s an 
expensive 
gamble that may make folks give up and go elsewhere, which sucks because it is 
completely preventable.

That’s why jcs list of openbsd laptops is so helpful. It may be the only one on 
the 
Internet for modern age laptops.

I like to tinker but also wait a daily driver that “just works” from the start 
and pretty much
Only had jcs list to go by for the ideal requirements (light, not ancient, and 
everythting 
works). 

I appreciate the help regardless :) 



Re: Yet Another Laptop Recommendation Thread

2022-09-13 Thread Andrew Gwozdziewycz
On Tue, Sep 13, 2022, at 5:46 AM, Chris Cappuccio wrote:
> Then there are arm64 laptops like the x13s and the apple stuff that are coming
> out now, too. Kinda neat! Lots of custom stuff on these new apple and qualcomm
> platforms.

I know there’s been a lot of work done on the M1s, but I haven’t been following 
progress on the Snapdragon machines, which traditionally even Linux has trouble
with. Has there been progress made on OpenBSD? I’d love to show support for 
non-amd64 architectures, but would rather keep my Apple devices as only 
“utility 
computers” rather than daily drivers …. 



Re: Yet Another Laptop Recommendation Thread

2022-09-13 Thread Chris Cappuccio
Christoff Humphries [christ...@sogonsecurity.com] wrote:
> Just ordered this from eBay after looking at jcs??? list again:
> - Lenovo ThinkPad X1 Carbon 7th Gen i7-8565U 16GB RAM 512GB SSD 14" FHD Touch 
> 2019
> 
> Woot, back to OpenBSD as a daily driver again and looking forward to helping 
> with ports and stuff.
> 

Pretty much any amd64 laptop that doesn't have a bunch of weird custom stuff
should mostly or fully work out-of-the-box. Nvidia graphics is not supported,
of course. 

Then there are arm64 laptops like the x13s and the apple stuff that are coming
out now, too. Kinda neat! Lots of custom stuff on these new apple and qualcomm
platforms.



Re: A minimal browser in base

2022-09-13 Thread Jason McIntyre
On Mon, Sep 12, 2022 at 03:43:30PM -0700, Lyndon Nerenberg (VE7TFX/VE6BBM) 
wrote:
> 
> Long ago and far away, the Berkeley distributions used to ship an
> assortment of system documentation in /usr/share/doc, including a
> general-purpose system administrators manual.
> 
> I guess people didn't want to update those, or maybe thought they
> were sacred relics, never to be touched.  But all the *BSDs dropped
> them, years ago.  I thought that was the wrong move; they should
> have been kept, along with a /usr/share/doc/README that noted they
> are historical, and therefore probably out of date.  Although I'm
> sure the vi documentation stands up to this day.
> 

hi.

we stopped installing them because many of them were falling out of date
and there wasn;t really the resources (or motivation) to update them.
however not all of them were removed. although no longer installed, some
of the better ones remain in the source tree. from a quick look:

/usr/src/usr.bin/gprof/PSD.doc
/usr/src/usr.bin/lex/PSD.doc
/usr/src/usr.bin/m4/PSD.doc
/usr/src/usr.bin/make/PSD.doc
/usr/src/usr.bin/yacc/PSD.doc
/usr/src/bin/csh/USD.doc
/usr/src/bin/ed/USD.doc
/usr/src/games/trek/USD.doc
/usr/src/usr.bin/awk/USD.doc
/usr/src/usr.bin/bc/USD.doc
/usr/src/usr.bin/dc/USD.doc
/usr/src/usr.bin/mail/USD.doc
/usr/src/usr.bin/sed/USD.doc
/usr/src/usr.bin/vi/docs/USD.doc
/usr/src/sbin/fsck_ffs/SMM.doc
/usr/src/usr.sbin/lpr/SMM.doc

jmc



Re: A minimal browser in base

2022-09-13 Thread prx
For what it's worth, I keep a downloadable copy of the FAQ : 

=> https://si3t.ch/pub/openbsd-faq/
=> https://si3t.ch/pub/openbsd-faq.tgz

html is dumped to txt to read with any pager.
One can keep it on a disk if necessary.

Regards.