Re: ksh vs bash

2006-08-27 Thread STeve Andre'
On Sunday 27 August 2006 00:02, Default User wrote: I just know I'm going to regret asking this, but . . . why does OpenBSD have ksh as the default shell, rather than bash? Also, what ever happened to the statically-compiled bash that used to be available in OpenBSD packages? BTW, thanks

Re: ksh vs bash

2006-08-27 Thread Woodchuck
On Sat, 26 Aug 2006, Default User wrote: I just know I'm going to regret asking this, but . . . why does OpenBSD have ksh as the default shell, rather than bash? Also, what ever happened to the statically-compiled bash that used to be available in OpenBSD packages? BTW, thanks for

Re: sysctl modifications during install?

2006-08-27 Thread Woodchuck
On Sat, 26 Aug 2006, Edd Barrett wrote: On 25/08/06, Matthew R. Dempsky [EMAIL PROTECTED] wrote: On Fri, Aug 25, 2006 at 05:38:19AM +1000, Scott Radvan wrote: Or am I missing something which could allow the install to use all available bandwidth? Can you first choose S for shell,

Re: ssh auth

2006-08-27 Thread Julien TOUCHE
Joachim Schipper wrote on 26/08/2006 23:29: At a random guess, ssh-agent(1). Or ssh -A. i don't have ssh-agent on the two system. i have one on a third which is connected on the soekris with putty using password Could it be the putty option Allow agent forwarding ??? (equivalent of -A in cli,

Re: ksh vs bash

2006-08-27 Thread Matthias Kilian
On Sat, Aug 26, 2006 at 11:02:32PM -0500, Default User wrote: I just know I'm going to regret asking this, but . . . why does OpenBSD have ksh as the default shell, rather than bash? Size, speed[1], license (PD vs. GPL), possibly standard conformance. Also, what ever happened to the

Re: ksh vs bash

2006-08-27 Thread Martin Toft
Sam Chill wrote: ksh does most everything bash does too, so it doesn't seem like a loss. FWIW, I miss a couple of features in ksh and consider to switch (back) to bash: - When using tab completion, and you press tab two times to get a list of possibilities, ksh doesn't use less/more to

Re: ksh vs bash

2006-08-27 Thread Martin Toft
Martin Toft wrote: FWIW, I miss a couple of features in ksh and consider to switch (back) to bash: I forgot one: - I miss the for (( expr1 ; expr2 ; expr3 )) ; do list ; done construct. Of course, using e.g. jot, it is possible to do semantically equivalent stuff. /Martin

Re: usb Y converter to PS2

2006-08-27 Thread Bachman Kharazmi
encoding issue solved by reading the ukbd man. /bkw On 26/08/06, Bachman Kharazmi [EMAIL PROTECTED] wrote: now I've solved the problem by taking a bus to nearest computerstore buying a usb-by-default kb from logitech (model: flat something..) and it works flawless! But in console it ain't the

Re: sysctl modifications during install?

2006-08-27 Thread Ingo Schwarze
Woodchuck schrieb am Sun, Aug 27, 2006 at 03:19:38AM -0400: On Sat, 26 Aug 2006, Edd Barrett wrote: On 25/08/06, Matthew R. Dempsky [EMAIL PROTECTED] wrote: On Fri, Aug 25, 2006 at 05:38:19AM +1000, Scott Radvan wrote: Or am I missing something which could allow the install to use all

RAIDframe Root on RAID -- configuring dump device

2006-08-27 Thread Josh Grosse
Has anyone using Root on RAID managed to point their dumpdev at a swap space, either within a RAID array or on a standard swap partition? I have not, and a search of the archives only came up with one posting, with a similar question, but no answer:

Re: Subscription Model for OpenBSD CDs

2006-08-27 Thread Joachim Schipper
On Sun, Aug 27, 2006 at 01:09:57AM +, Todd Alan Smith wrote: Hello misc, Has the OpenBSD project ever considered offering a subscription to the OpenBSD CDs. I'm thinking of something similar to that[0] offered by the Slackware Linux Project. I like the idea of knowing that the newest

Re: struggling with pf

2006-08-27 Thread Joachim Schipper
On Sat, Aug 26, 2006 at 11:29:54PM -0400, NetNeanderthal wrote: On 8/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: For some reason, I'm not getting it when it comes to pf... Two things I can't figure out: (1) filtered vs blocked for some TCP ports and (2) rules for tun0, my vpn interface.

Re: struggling with pf

2006-08-27 Thread Joachim Schipper
On Sat, Aug 26, 2006 at 09:57:31PM -0500, [EMAIL PROTECTED] wrote: For some reason, I'm not getting it when it comes to pf... Two things I can't figure out: (1) filtered vs blocked for some TCP ports and (2) rules for tun0, my vpn interface. First, my /etc/pf.conf: int_if = vr1

Re: ksh vs bash

2006-08-27 Thread Joachim Schipper
On Sun, Aug 27, 2006 at 11:22:13AM +0200, Martin Toft wrote: Sam Chill wrote: ksh does most everything bash does too, so it doesn't seem like a loss. FWIW, I miss a couple of features in ksh and consider to switch (back) to bash: - When using tab completion, and you press tab two times

Re: Dual-core and Dual Dual-core servers.

2006-08-27 Thread Joachim Schipper
On Sun, Aug 27, 2006 at 01:39:51AM -0400, [EMAIL PROTECTED] wrote: I am pricing out two servers right now. One server will be an Apache/PHP web server. The other will be a MySQL database server. I plan to install OpenBSD 3.9-stable and PHP and MySQL packages. These server will be Dell

Re: struggling with pf

2006-08-27 Thread NetNeanderthal
On 8/27/06, Joachim Schipper [EMAIL PROTECTED] wrote: Actually, you got it the wrong way round - nmap assumes a port is filtered when it gets no response. You're correct, an oversight on my part. From the nmap man page (which I clearly failed to read): 'Filtered means that a firewall,

Too many open files in system, /bsd: file: table is full

2006-08-27 Thread Mackan
Hi! I got a few Postmaster notify from Sendmail, telling me there was mail.local: /var/mail/many: Too many open files in system and also a few with mail: can't load library 'libc.so.39.0'. /var/log/messages told me: Aug 27 16:00:01 blowfish /bsd: file: table is full Aug 27 16:00:01 blowfish

-CURRENT

2006-08-27 Thread Gilles Chehade
I did a checkout and tried to build current (on top of a snapshot) but compilation breaks: === sbin/wsconsctl cc -O2 -pipe-I/usr/src/sbin/wsconsctl -I. -c display.c cc -O2 -pipe-I/usr/src/sbin/wsconsctl -I. -c keyboard.c cc -O2 -pipe-I/usr/src/sbin/wsconsctl -I. -c keysym.c

Re: -CURRENT

2006-08-27 Thread Miod Vallat
I did a checkout and tried to build current (on top of a snapshot) but compilation breaks: [...] Is it a problem local to my laptop or anyone noticed the same ? You forgot the ``make depend'' phase. Miod

Re: console screensafer

2006-08-27 Thread Andreas Bartelt
Andreas Bartelt wrote: ... thanks, you made me look at my BIOS and (at least I think) I found the cause. There's an option called Video Off method, which was set to DPMS support. I just switched it to blank screen and didn't experience the usual problems after rebooting. I think (hope ;) )

Re: Too many open files in system, /bsd: file: table is full

2006-08-27 Thread Stuart Henderson
On 2006/08/27 17:09, Mackan wrote: I did sysctl -w kern.maxfiles=1 to increase the value from 1772 to 1, and put the same value in /etc/sysctl.conf Keep an eye on kern.nfiles, if it's higher than expected take a look at fstat and check there isn't a problem. I had a box where a program

Re: console screensafer

2006-08-27 Thread Andreas Bartelt
Andreas Bartelt wrote: ... sorry, I forgot a add dmesg output... OpenBSD 4.0-beta (GENERIC) #0: Sat Aug 26 05:17:41 CEST 2006 [EMAIL PROTECTED]:/home/a/src/sys/arch/i386/compile/GENERIC cpu0: AMD Athlon(tm) XP 2600+ (AuthenticAMD 686-class, 512KB L2 cache) 1.93 GHz cpu0:

Re: ksh vs bash

2006-08-27 Thread Randal L. Schwartz
Woodchuck == Woodchuck [EMAIL PROTECTED] writes: Woodchuck Perl has obviated the need for some sort of interactive interpreted Woodchuck system language. Bash has some new and expanded features, but not Woodchuck enough to make its use compelling. Since discovering Perl, the longest thing I

Re: console screensafer

2006-08-27 Thread Nick Holland
Andreas Bartelt wrote: Andreas Bartelt wrote: ... thanks, you made me look at my BIOS and (at least I think) I found the cause. There's an option called Video Off method, which was set to DPMS support. I just switched it to blank screen and didn't experience the usual problems after rebooting.

Re: struggling with pf

2006-08-27 Thread Stuart Henderson
On 2006/08/26 21:57, [EMAIL PROTECTED] wrote: For some reason, I'm not getting it when it comes to pf... Two things I can't figure out: (1) filtered vs blocked for some TCP ports and (2) rules for tun0, my vpn interface. You didn't mention the OS version; if I can assume you're running an

Re: -CURRENT

2006-08-27 Thread Gilles Chehade
Miod Vallat wrote: I did a checkout and tried to build current (on top of a snapshot) but compilation breaks: [...] Is it a problem local to my laptop or anyone noticed the same ? You forgot the ``make depend'' phase. Miod sorry, I feel lame :|

Re: ksh vs bash

2006-08-27 Thread Nick Holland
Martin Toft wrote: Sam Chill wrote: ksh does most everything bash does too, so it doesn't seem like a loss. FWIW, I miss a couple of features in ksh and consider to switch (back) to bash: - When using tab completion, and you press tab two times to get a list of possibilities, ksh doesn't use

Re: ksh vs bash

2006-08-27 Thread Joachim Schipper
On Sun, Aug 27, 2006 at 09:14:12AM -0700, Randal L. Schwartz wrote: Woodchuck == Woodchuck [EMAIL PROTECTED] writes: Woodchuck Perl has obviated the need for some sort of interactive interpreted Woodchuck system language. Bash has some new and expanded features, but not Woodchuck enough

Re: struggling with pf

2006-08-27 Thread Stuart Henderson
On 2006/08/27 15:23, Joachim Schipper wrote: pass in log on $ext_if inet proto tcp from any to ($ext_if) \ port $tcp_services flags S/SA keep state Also, the flags directive is redundant with scrub, unless I am mistaken. Where you're using a standard PF setup using stateful

Re: ksh vs bash

2006-08-27 Thread smith
When I started using OpenBSD, I got tired of having to install Bash all the time so I just stuck with ksh. That was several years ago. I don't know much about shell programming nor do I do any configuring with ksh. Now everytime I use linux, I find bash very annoying. I don't know why, I just

Re: Subscription Model for OpenBSD CDs

2006-08-27 Thread Todd Alan Smith
On 8/26/06, Theo de Raadt [EMAIL PROTECTED] wrote: Has the OpenBSD project ever considered offering a subscription to the OpenBSD CDs. Yes we have considered it, and no, we won't be doing it. Understood. You consider it to be too risky. And you could have googled before you became the

Re: Dual-core and Dual Dual-core servers.

2006-08-27 Thread Eric Stewart
On Aug 27, 2006, at 9:33 AM, Joachim Schipper wrote: On Sun, Aug 27, 2006 at 01:39:51AM -0400, [EMAIL PROTECTED] wrote: I am pricing out two servers right now. One server will be an Apache/PHP web server. The other will be a MySQL database server. I plan to install OpenBSD 3.9-stable and PHP

bug in ksh ?

2006-08-27 Thread Paul de Weerd
hi all, While reading ksh(1) I found : A pipeline may be prefixed by the `!' reserved word, which causes the exit status of the pipeline to be logically complemented: if the original status was 0, the complemented status will be 1; if the original status

Re: Dual-core and Dual Dual-core servers.

2006-08-27 Thread Henning Brauer
* Eric Stewart [EMAIL PROTECTED] [2006-08-28 01:04]: The thought of using something other than MySQL has crossed my mind. But I'm trying not to stray to far from what I already know. I usually farm out the server maintenance to another company but I decided to do it myself on this

Re: bug in ksh ?

2006-08-27 Thread Paul de Weerd
On Mon, Aug 28, 2006 at 12:59:28AM +0200, Paul de Weerd wrote: | hi all, | | While reading ksh(1) I found : | | A pipeline may be prefixed by the `!' reserved word, | which causes the exit status of the pipeline to be | logically complemented: if the original status was |

Re: bug in ksh ?

2006-08-27 Thread Ingo Schwarze
Please now try `if ! false; then echo true; fi`. Why does my shell eat muchos CPU RAM after such a short pipeline? [EMAIL PROTECTED] $ uname -a OpenBSD idefix 3.9 GENERIC#617 i386 [EMAIL PROTECTED] $ /bin/ksh $ date Mon Aug 28 01:28:07 CEST 2006 $ if ! false; then echo true; fi true $ date

Re: Dual-core and Dual Dual-core servers.

2006-08-27 Thread Timo Schoeler
thus Eric Stewart spake: On Aug 27, 2006, at 9:33 AM, Joachim Schipper wrote: On Sun, Aug 27, 2006 at 01:39:51AM -0400, [EMAIL PROTECTED] wrote: I am pricing out two servers right now. (...) Is OpenBSD and Apache/PHP gonna take advantage of a second processor and show some decent increase

Re: bug in ksh ?

2006-08-27 Thread Joachim Schipper
On Mon, Aug 28, 2006 at 01:22:19AM +0200, Paul de Weerd wrote: On Mon, Aug 28, 2006 at 12:59:28AM +0200, Paul de Weerd wrote: | hi all, | | While reading ksh(1) I found : | | A pipeline may be prefixed by the `!' reserved word, | which causes the exit status of the pipeline to be

Re: bug in ksh ?

2006-08-27 Thread Joachim Schipper
On Mon, Aug 28, 2006 at 12:59:28AM +0200, Paul de Weerd wrote: hi all, While reading ksh(1) I found : A pipeline may be prefixed by the `!' reserved word, which causes the exit status of the pipeline to be logically complemented: if the original status was 0, the

Re: Subscription Model for OpenBSD CDs

2006-08-27 Thread Kenny Mann
stan wrote: On Sun, Aug 27, 2006 at 02:57:00PM -0700, Darrin Chandler wrote: On Sun, Aug 27, 2006 at 03:53:55PM -0500, Todd Alan Smith wrote: On 8/26/06, Theo de Raadt [EMAIL PROTECTED] wrote: Has the OpenBSD project ever considered offering a subscription to the OpenBSD CDs.

Re: sysctl modifications during install?

2006-08-27 Thread Sam Chill
On 8/27/06, Ingo Schwarze [EMAIL PROTECTED] wrote: During the install, before downloading the sets, he can escape to a shell (there is even a prompt Do you want to do any manual network configuration? at one point), get the binary via ftp into the ramdisk, run it (if the install kernel does

Re: Subscription Model for OpenBSD CDs

2006-08-27 Thread Todd Alan Smith
On 8/28/06, Kenny Mann [EMAIL PROTECTED] wrote: stan wrote: On Sun, Aug 27, 2006 at 02:57:00PM -0700, Darrin Chandler wrote: On Sun, Aug 27, 2006 at 03:53:55PM -0500, Todd Alan Smith wrote: On 8/26/06, Theo de Raadt [EMAIL PROTECTED] wrote: Has the OpenBSD project ever considered offering