Re: openhttpd

2014-12-21 Thread Reyk Floeter
On Sat, Dec 20, 2014 at 08:33:00PM -0600, Edgar Pettijohn wrote:
 Is there a mailing list for openhttpd?  Also all the links on openhttpd.net 
 are broken.
 
 thanks
 

I don't know what openhttpd.net is, but it is not related to us. The
page is not even new.

Reyk



Libressl and python2.7

2014-12-21 Thread Alan Cheng
Hi,
How can I use libressl with a python2.7 programm on current?

The python program use import OpenSSL, and I tried replace OpenSSL with 
Libtls and Libressl, but none can be found. 

Searched Misc, Tech and FAQ, didn't find anything helpful.

Thanks.
Alan Cheng



Re: Libressl and python2.7

2014-12-21 Thread Benjamin Baier

try
$ python2.7
Python 2.7.8 (default, Dec 12 2014, 14:59:33)
[GCC 4.2.1 20070719 ] on openbsd5
Type help, copyright, credits or license for more information.
 import ssl
 ssl.OPENSSL_VERSION

On 12/21/2014 11:11 AM, Alan Cheng wrote:

Hi,
How can I use libressl with a python2.7 programm on current?

The python program use import OpenSSL, and I tried replace OpenSSL with Libtls and 
Libressl, but none can be found.

Searched Misc, Tech and FAQ, didn't find anything helpful.

Thanks.
Alan Cheng




Re: OpenBSD -current AHCI on HP Probook 450 G0

2014-12-21 Thread ali
Atanas Vladimirov vlado at bsdbg.net writes:

 
 Hi,
 This is the first time when I try to install OpenBSD on a such hardware.
 I used bsd.rd to install it on a usb flash drive. After reboot I choose 
 to boot from the usb drive.
 Bootloader can't load bsd kernel and the laptop restarts without error.
 If I change SATA mode in BIOS from AHCI to IDE I can boot from the usb 
 drive.

I have the same problem with my HP ProBook 4530s. I don't want to switch
to AHCI. Is there another way to install OpenBSD?



ksh alias internal memory error

2014-12-21 Thread James Humphrey
Hello All,

I have found a strange behavior while using aliases in the shell. I'm wondering 
if someone can provide an explanation for the error below.

$ cat alias.sh
alias ls='ls'
alias ls=`ls`
echo final command
$ sh alias.sh
alias.sh: internal error: unable to allocate memory
$ echo $?
0
$ bash alias.sh
final command
$ csh alias.sh
final command
$ 

Kind Regards,
James



OpenBSD 5.6-current (GENERIC.MP) #717: Sat Dec 20 21:13:22 MST 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3471376384 (3310MB)
avail mem = 3375161344 (3218MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf (50 entries)
bios0: vendor Dell Inc. version 1.0.3 date 07/12/2007
bios0: Dell Inc. Inspiron 530
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET MCFG SLIC DMY2 APIC SSDT
acpi0: wakeup devices PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4(S5) PEX5(S5) 
HUB0(S5) IGBE(S5) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) 
EHC1(S3) EHC2(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz, 8146.67 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,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF
cpu0: 4MB 64b/line 16-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 332MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.0.0, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz, 2327.50 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,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF
cpu1: 4MB 64b/line 16-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEX0)
acpiprt2 at acpi0: bus -1 (PEX1)
acpiprt3 at acpi0: bus -1 (PEX2)
acpiprt4 at acpi0: bus -1 (PEX3)
acpiprt5 at acpi0: bus -1 (PEX4)
acpiprt6 at acpi0: bus -1 (PEX5)
acpiprt7 at acpi0: bus 2 (HUB0)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpitz0 at acpi0: critical temperature is 120 degC
acpibtn0 at acpi0: PWRB
cpu0: Enhanced SpeedStep 8146 MHz: speeds: 2331, 1998 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel 82G33 Host rev 0x02
ppb0 at pci0 dev 1 function 0 Intel 82G33 PCIE rev 0x02: msi
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA GeForce 8600 GT rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
em0 at pci0 dev 25 function 0 Intel ICH9 IFE rev 0x02: msi, address 
00:1a:a0:9c:62:da
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x02: apic 4 int 16
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x02: apic 4 int 21
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x02: apic 4 int 19
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x02: apic 4 int 18
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 82801I HD Audio rev 0x02: msi
azalia0: codecs: Realtek ALC888
audio0 at azalia0
uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x02: apic 4 int 23
uhci4 at pci0 dev 29 function 1 Intel 82801I USB rev 0x02: apic 4 int 19
uhci5 at pci0 dev 29 function 2 Intel 82801I USB rev 0x02: apic 4 int 18
ehci1 at pci0 dev 29 function 7 Intel 82801I USB rev 0x02: apic 4 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0x92
pci2 at ppb1 bus 2
vendor Conexant, unknown product 0x2f20 (class communications subclass 
miscellaneous, rev 0x00) at pci2 dev 0 function 0 not configured
pcib0 at pci0 dev 31 function 0 Intel 82801IR LPC rev 0x02
pciide0 at pci0 dev 31 function 2 Intel 82801I SATA rev 0x02: DMA, channel 0 
configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 4 int 19 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: Hitachi HDP725050GLA360
wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: HL-DT-ST, DVD+-RW GSA-H73N, B103 ATAPI 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 Intel 82801I SMBus rev 0x02: 

Re: Libressl and python2.7

2014-12-21 Thread Alan Cheng
Thanks Benjamin. Ssl works.
But now I got a new eorror: OpenSSL.crypto.Pkey() function not found.

Tried help(ssl) but found that module does not provide any  crypto related 
functions. Is there more modules to be imported or anything? 

Thanks!
Alan

Benjamin Baier program...@netzbasis.de编写:

try
$ python2.7
Python 2.7.8 (default, Dec 12 2014, 14:59:33)
[GCC 4.2.1 20070719 ] on openbsd5
Type help, copyright, credits or license for more information.
  import ssl
  ssl.OPENSSL_VERSION

On 12/21/2014 11:11 AM, Alan Cheng wrote:
 Hi,
 How can I use libressl with a python2.7 programm on current?

 The python program use import OpenSSL, and I tried replace OpenSSL with 
 Libtls and Libressl, but none can be found.

 Searched Misc, Tech and FAQ, didn't find anything helpful.

 Thanks.
 Alan Cheng



Re: man -m not working with latest snapshot (Dec 20)

2014-12-21 Thread Ingo Schwarze
Hi Alessandro and Bryan,

Bryan Steele wrote on Sat, Dec 20, 2014 at 11:56:46AM -0500:
 On Sat, Dec 20, 2014 at 04:10:05PM +0100, Alessandro DE LAURENZIS wrote:

 just22@poseidon:[~] uname -a
 OpenBSD poseidon.atlantide.net 5.6 GENERIC.MP#714 amd64
 
 just22@poseidon:[~] type man
 man is hashed (/usr/bin/man)
 
 just22@poseidon:[~] man -m /home/just22/share/man/ man
 man: -m/home/just22/share/man/: Bad argument

Oops.  While almost all options are now identical for mandoc(1)
and man(1), -m is one of the rare remaining exceptions.  For
historical reasons, we can't easily change that.

  man -m  means prepend to manpath

  mandoc -m   means use macro set

The option parsing was borked in this respect.  When called as
man(1), the code used the -m argument *both* for the manpath *and*
tried to also interpret it as a macro set, and the latter of course
failed.

I just committed a fix, so it should work again in the next snapshot;
or if you are in a hurry, you can go to /usr/src/usr.bin/mandoc,
cvs up, recompile and reinstall in just that one directory.
You need main.c rev. 1.115.

 It seems a space is missing... Is it just me?

Well, that wasn't the main problem, but admittedly, appending
option arguments to options without an intervening space is
rather archaic syntax and not recommended by POSIX.
So i inserted some spaces into some error messages.

Thanks for reporting!

 schwarze@ switched the tree over to using the mandoc(1) implementation
 of man(1). That probably just made it into snaps.
 
 http://marc.info/?l=openbsd-cvsm=141857975006131w=2

Yes, that was definitely the cause of the issue.

Yours,
  Ingo


Log Message:
---
Use -m for macro set selection in mandoc(1) mode only, not in man(1)
and apropos(1) mode.  While here, put a space character between 
options and option arguments in error messages.
Both reported by Alessandro DE LAURENZIS just22 dot adl at gmail dot com.

Modified Files:
--
mdocml:
main.c

Revision Data
-
Index: main.c
===
RCS file: /home/cvs/mdocml/mdocml/main.c,v
retrieving revision 1.208
retrieving revision 1.209
diff -Lmain.c -Lmain.c -u -p -r1.208 -r1.209
--- main.c
+++ main.c
@@ -206,13 +206,13 @@ main(int argc, char *argv[])
case 'I':
if (strncmp(optarg, os=, 3)) {
fprintf(stderr,
-   %s: -I%s: Bad argument\n,
+   %s: -I %s: Bad argument\n,
progname, optarg);
return((int)MANDOCLEVEL_BADARG);
}
if (defos) {
fprintf(stderr,
-   %s: -I%s: Duplicate argument\n,
+   %s: -I %s: Duplicate argument\n,
progname, optarg);
return((int)MANDOCLEVEL_BADARG);
}
@@ -401,7 +401,7 @@ main(int argc, char *argv[])
 
/* mandoc(1) */
 
-   if ( ! moptions(options, auxpaths))
+   if (search.argmode == ARG_FILE  ! moptions(options, auxpaths))
return((int)MANDOCLEVEL_BADARG);
 
if (use_pager  isatty(STDOUT_FILENO))
@@ -700,7 +700,7 @@ koptions(int *options, char *arg)
} else if ( ! strcmp(arg, us-ascii)) {
*options = ~(MPARSE_UTF8 | MPARSE_LATIN1);
} else {
-   fprintf(stderr, %s: -K%s: Bad argument\n,
+   fprintf(stderr, %s: -K %s: Bad argument\n,
progname, arg);
return(0);
}
@@ -720,7 +720,7 @@ moptions(int *options, char *arg)
else if (0 == strcmp(arg, an))
*options |= MPARSE_MAN;
else {
-   fprintf(stderr, %s: -m%s: Bad argument\n,
+   fprintf(stderr, %s: -m %s: Bad argument\n,
progname, arg);
return(0);
}
@@ -754,7 +754,7 @@ toptions(struct curparse *curp, char *ar
else if (0 == strcmp(arg, pdf))
curp-outtype = OUTT_PDF;
else {
-   fprintf(stderr, %s: -T%s: Bad argument\n,
+   fprintf(stderr, %s: -T %s: Bad argument\n,
progname, arg);
return(0);
}
@@ -793,7 +793,7 @@ woptions(struct curparse *curp, char *ar
curp-wlevel = MANDOCLEVEL_FATAL;
break;
default:
-   fprintf(stderr, %s: -W%s: Bad argument\n,
+   fprintf(stderr, %s: -W %s: Bad argument\n,
progname, o);
return(0);
}



Web Browsers crashing

2014-12-21 Thread Richard E. Thornton
I have found that all browsers, either firefox31, or midori, or epiphany,
crash immediately under OpenBSD 5.6 with the sparc64 architecture.

They all seem to work fine with my amd64 installation.  I have even tried 
to compile the ports myself, which always successfully compile, but always 
the same run time behaviour. It seems that a particular c++ library is not
 linking properly.  Any suggestions?

Richard Thornton



Re: Libressl and python2.7

2014-12-21 Thread Benjamin Baier

My example was just to show you that OpenBSD ships with LibreSSL.
Follow any OpenSSL tutorial to learn more.
.Pkey()  ===  .PKey()

On 12/21/2014 03:48 PM, Alan Cheng wrote:

Thanks Benjamin. Ssl works.
But now I got a new eorror: OpenSSL.crypto.Pkey() function not found.

Tried help(ssl) but found that module does not provide any  crypto related 
functions. Is there more modules to be imported or anything?

Thanks!
Alan

Benjamin Baier program...@netzbasis.de编写:


try
$ python2.7
Python 2.7.8 (default, Dec 12 2014, 14:59:33)
[GCC 4.2.1 20070719 ] on openbsd5
Type help, copyright, credits or license for more information.

import ssl
ssl.OPENSSL_VERSION


On 12/21/2014 11:11 AM, Alan Cheng wrote:

Hi,
How can I use libressl with a python2.7 programm on current?

The python program use import OpenSSL, and I tried replace OpenSSL with Libtls and 
Libressl, but none can be found.

Searched Misc, Tech and FAQ, didn't find anything helpful.

Thanks.
Alan Cheng




Re: Any experience running OpenBSD 5.6 or current on a Shuttle DS437?

2014-12-21 Thread Marcus MERIGHI
greencopperm...@yandex.com (Martin Hanson), 2014.12.21 (Sun) 05:26 (CET):
 If so, how well does the driver for the two NICs work? How does the
 box perform in general?

http://marc.info/?l=openbsd-miscm=141138265927863

Bye, Marcus

 !DSPAM:54965a15238762120714909!



Re: Any experience running OpenBSD 5.6 or current on a Shuttle DS437?

2014-12-21 Thread andrew fabbro
The issue referred to in that thread (boot hangs if there is no monitor) is
common to many Shuttles.  I experience the same thing on a Shuttle SD11G5,
which is about 10 years old.

I believe the problem at the BIOS level, not something you can work around
in the OS.  It's 100% consistent - if there is no monitor plugged in, no
boot.

The dummy plug may be a solution if you want it to run headless.


On Sun, Dec 21, 2014 at 7:51 AM, Marcus MERIGHI mcmer-open...@tor.at
wrote:

 greencopperm...@yandex.com (Martin Hanson), 2014.12.21 (Sun) 05:26 (CET):
  If so, how well does the driver for the two NICs work? How does the
  box perform in general?

 http://marc.info/?l=openbsd-miscm=141138265927863

 Bye, Marcus

  !DSPAM:54965a15238762120714909!




-- 
andrew fabbro
and...@fabbro.org
blog: https://raindog308.com



Re: Web Browsers crashing

2014-12-21 Thread trondd
On Dec 21, 2014 10:11 AM, Richard E. Thornton thornton.rich...@gmail.com
wrote:
It seems that a particular c++ library is not
  linking properly.  Any suggestions?

 Richard Thornton


Why do you think this? Can you provide an error message or stack trace?

Also what are your ulimits or login.conf settings?

Tim.



Re: clementine stutters when playing local files

2014-12-21 Thread Mihai Popescu
 What remains unanswered is why my 50€ SSD gives worse throughput than
 5€ wifi adapter, but let's leave it for another thread.

There is a very good chance to stay like this in the future if you
don't send a dmesg to the list and developers. Do you own a secret
design machine which can't be shown to the public yet?



Re: ksh alias internal memory error

2014-12-21 Thread c...@chibacityblues.org
On December 21, 2014 5:12:33 AM CST, James Humphrey jh28...@gmail.com wrote:

 I have found a strange behavior while using aliases in the shell. I'm
 wondering if someone can provide an explanation for the error below.

I was curious, so I built /usr/bin/ksh with debugging symbols on 5.6-stable. 
The error seems to be occurring when malloc() fails when ksh exhausts its 
available memory. A stack trace suggests that this is occurring within a 
possibly logically-recursive backtick expansion. A bit of experimentation (see 
below) suggests that both a pre-existing alias with the same name and the use 
of backticks are prerequisites.

I leave it to someone with more ksh expertise to say what the defined behavior 
should be in this case. I'm not sure I see a useful real-world scenario where 
this would be triggered. But if it is, you can prevent it by running `unalias 
ls' before setting the alias using backtick expansion.

The non-pdksh implementation on CentOS  6 accepts this construct and behaves as 
you seem to expect (perhaps it processes the backtick expansion before the 
alias creation?):
$ alias ls='ls'
$ alias ls=`ls`
$ ls
ksh: access-logs: not found [No such file or directory]


Here is the backtrace from 5.6-stable:

(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /home/case/DEV/ksh/obj/ksh 
$ alias  whizbang=`whizbang`
[New process 27016]
/home/case/DEV/ksh/obj/ksh: whizbang: not found
$ alias  whizbang='date'  
$ alias whizbang=`whizbang`
$ alias date=`date`
$ unalias date  
$ alias date='date'
$ alias date=`date`
[time passes and memory usage increases]
^C
Program received signal SIGINT, Interrupt.
alloc (size=64, ap=0x890e5f0c) at /usr/src/bin/ksh/alloc.c:69
69  l-prev = NULL;
(gdb) bt
#0  alloc (size=64, ap=0x890e5f0c) at /usr/src/bin/ksh/alloc.c:69
#1  0x1a224850 in pushs (type=7, areap=0x890e5f0c)
at /usr/src/bin/ksh/lex.c:924
#2  0x1a225c97 in yylex (cf=Variable cf is not available.
) at /usr/src/bin/ksh/lex.c:813
#3  0x1a22efa7 in get_command (cf=44) at /usr/src/bin/ksh/syn.c:206
#4  0x1a22e7bb in pipeline (cf=Variable cf is not available.
) at /usr/src/bin/ksh/syn.c:77
#5  0x1a22e8ac in c_list (multi=1) at /usr/src/bin/ksh/syn.c:98
#6  0x1a22ff47 in compile (s=0x890e5688) at /usr/src/bin/ksh/syn.c:64
#7  0x1a2185a7 in expand (cp=0x7ac72cc8 \001d\001a\001t\001e\001=\003date, 
wp=0xcfbccf1c, f=Variable f is not available.
) at /usr/src/bin/ksh/eval.c:850
#8  0x1a21967b in eval (ap=0x80c0f98c, f=523) at /usr/src/bin/ksh/eval.c:86
#9  0x1a21ae8b in execute (t=0x84454748, flags=0, xerrok=0xcfbcd044)
at /usr/src/bin/ksh/exec.c:77
#10 0x1a2282ba in shell (s=0x83ea9a88, toplevel=1)
at /usr/src/bin/ksh/main.c:595
#11 0x1a228e92 in main (argc=0, argv=0xcfbcd274) at /usr/src/bin/ksh/main.c:400
(gdb) 


Regards,
c...@chibacityblues.org



Re: xfce4/apm Power-Management falls off a cliff

2014-12-21 Thread Riccardo Mottola

Hi,

Jason Adams wrote:

apm seems to be reporting percent of last charge, not % of design-full-charge.  
That may be part of
the problem.
one problem I often have had with genuine parts (= most usually some 
cheap china stuff) is that while the elements may be decent for the 
first 12 Months or so, is that the controller is not as smart or does 
not report full information or is anyway lying.
Of course this is general speaking, there are many of manufacturers and 
this might change from laptop to laptop replacement.


6Months and a dozen of cycles would still qualify the battery as 
reasonably new, except for a warranty case!


For example, it may not distinguish between a design charge or last charge.

It is correct to report the last charge as capacity.
E.g you have a 50Wh design capacity, but your cells now have about 40Wh 
effective, if you did not make a full charge you might have 25Wh.


If my laptop is consuming 25W, it will last 1h, not more, because that's 
the juice you have in.


This still does not explain your sudden percentage drop.

Is your laptop new enough to run acpi?

I will try to work on OpenBSD support for batmon.app during this holiday 
season.


Riccardo



free ipv6 KVM-based - cloudspin.me [was - Re: DigitalOcean's BSD debut is FreeBSD only]

2014-12-21 Thread Jiri B
On Sun, Dec 21, 2014 at 01:54:50AM +, Some Developer wrote:
 Vultr already support OpenBSD on their servers (you upload the
 OpenBSD install ISO and install it yourself) and their servers cost
 the same as Digital Ocean.
 
 Performance is good. They support IPv6 and they have more locations
 than Digital Ocean. Overall very pleased with them.

My coll told me about cloudspin.me, it's oVirt/KVM based service,
free of charge, public IPv6 only. oVirt is upstream OSS project
for Red Hat Enterprise Virtualization.

cloudspin.me does not offer OpenBSD image, what a suprise, but
I suppose everybody is able to `dd' minirootXX.fs onto virtio
disk :)

j.



Re: ksh alias internal memory error

2014-12-21 Thread James Humphrey
Hi,

Thanks for the confirmation and the analysis.

On Sun, Dec 21, 2014 at 08:48:56PM +, c...@chibacityblues.org wrote:
 I leave it to someone with more ksh expertise to say what the defined 
 behavior should be in this case. I'm not sure I see a useful real-world 
 scenario where this would be triggered. But if it is, you can prevent it by 
 running `unalias ls' before setting the alias using backtick expansion.

I agree I personally don't see any sane reason to use an alias like this,
but I did happened to stumble upon it and thought I'd mention it anyway.

Thanks,
James



Re: xfce4/apm Power-Management falls off a cliff

2014-12-21 Thread Jason Adams
On 12/21/2014 01:52 PM, Riccardo Mottola wrote:
 Is your laptop new enough to run acpi?

Yes it appears to be working at some level.  Its a Toshiba Satellite a60
sysctl hw.sensors lists a bunch of battery statistics

 I will try to work on OpenBSD support for batmon.app during this holiday 
 season. 

This isn't any priority in my view, so don't mess up your holidays on my 
account. 
I really don't use this machine on battery very often.


-- 
Those who do not understand Unix are condemned to reinvent it, poorly.



Re: OpenBSD -current AHCI on HP Probook 450 G0

2014-12-21 Thread Doug Hogan
On Sun, Dec 21, 2014 at 10:05:22AM +, ali wrote:
 Atanas Vladimirov vlado at bsdbg.net writes:
  This is the first time when I try to install OpenBSD on a such hardware.
  I used bsd.rd to install it on a usb flash drive. After reboot I choose 
  to boot from the usb drive.
  Bootloader can't load bsd kernel and the laptop restarts without error.
  If I change SATA mode in BIOS from AHCI to IDE I can boot from the usb 
  drive.
 
 I have the same problem with my HP ProBook 4530s. I don't want to switch
 to AHCI. Is there another way to install OpenBSD?

One of my laptops is a 4530s.  I was able to install by using a CD.
It's running snapshots so I upgrade with bsd.rd.  I'm using BIOS F.41 if
that helps.



Re: openhttpd

2014-12-21 Thread Eric Furman
https://en.wikipedia.org/w/index.php?search=openhttpdtitle=Special%3ASearchgo=Go

My guess is that it is a dead project.

On Sun, Dec 21, 2014, at 04:23 AM, Reyk Floeter wrote:
 On Sat, Dec 20, 2014 at 08:33:00PM -0600, Edgar Pettijohn wrote:
  Is there a mailing list for openhttpd?  Also all the links on openhttpd.net 
  are broken.
  
  thanks
  
 
 I don't know what openhttpd.net is, but it is not related to us. The
 page is not even new.
 
 Reyk



Re: openhttpd

2014-12-21 Thread Riley Baird
You're probably right. There's a sourceforge project called openhttpd
(http://sourceforge.net/projects/openhttpd/), but it seems to be made by
someone named Peter Müller, whereas `whois openhttpd.net` seems to
indicate that the owner of the site is named Volker Kokula.

On 22/12/14 14:41, Eric Furman wrote:
 https://en.wikipedia.org/w/index.php?search=openhttpdtitle=Special%3ASearchgo=Go
 
 My guess is that it is a dead project.
 
 On Sun, Dec 21, 2014, at 04:23 AM, Reyk Floeter wrote:
 On Sat, Dec 20, 2014 at 08:33:00PM -0600, Edgar Pettijohn wrote:
 Is there a mailing list for openhttpd?  Also all the links on openhttpd.net 
 are broken.

 thanks


 I don't know what openhttpd.net is, but it is not related to us. The
 page is not even new.

 Reyk



Re: Any experience running OpenBSD 5.6 or current on a Shuttle DS437?

2014-12-21 Thread Marcus MERIGHI
and...@fabbro.org (andrew fabbro), 2014.12.21 (Sun) 17:27 (CET):
 The issue referred to in that thread (boot hangs if there is no monitor) is
 common to many Shuttles.  I experience the same thing on a Shuttle SD11G5,
 which is about 10 years old.
 
 I believe the problem at the BIOS level, not something you can work around
 in the OS.  It's 100% consistent - if there is no monitor plugged in, no
 boot.

No boot? With mine (XS35, DS437) it's just no VGA.

 The dummy plug may be a solution if you want it to run headless.

If you want VGA on your headless machine or really for booting?

Bye, Marcus

 On Sun, Dec 21, 2014 at 7:51 AM, Marcus MERIGHI mcmer-open...@tor.at
 wrote:
 
  greencopperm...@yandex.com (Martin Hanson), 2014.12.21 (Sun) 05:26 (CET):
   If so, how well does the driver for the two NICs work? How does the
   box perform in general?
 
  http://marc.info/?l=openbsd-miscm=141138265927863

 !DSPAM:5496f51b159741470721115!