Re: xterm initial tty weirdness

2015-01-23 Thread Thorsten Glaser
Alexander Hall beard.se> writes: >Editing commands sometimes don't (seem to) work on the first shell >prompt in newly opened xterm window: > > $ bar^A^E^Afoo Interesting. I sometimes have that after exiting a curses application (e.g. lynx) or less.

Re: sudo bad practice or inconsistency?

2014-10-17 Thread Thorsten Glaser
Alessandro DE LAURENZIS gmail.com> writes: (line-wrapped because of GMane) > #define SUDOCMD "-fn 7x14 -geometry 60x4 -e sudo su -c 'nohup \ > xfe >& /dev/null & sleep 1'" ^^ Note that this will not work on OpenBSD anyway; even mksh, which does implement this bashism, will not parse this

Re: ksh: bad number (with leading zeroes) should not work for 0 - 7

2011-09-15 Thread Thorsten Glaser
Abel Abraham Camarillo Ojeda dixit: >On Thu, Sep 15, 2011 at 4:19 PM, Pascal Stumpf wrote: >>> month=10#$(date +%m) >> >> Is that a mkshism? No, that's proper Korn shell. >> The easiest solution here is: >> >> typeset -Z2 month That can break as soon as month is made an integer someplace down

Re: ksh: bad number (with leading zeroes) should not work for 0 - 7

2011-09-15 Thread Thorsten Glaser
Abel Abraham Camarillo Ojeda dixit: >I meant portable among other shells, or bourne shell... They donbt have $((b&)) either, sob& bye, //mirabilos -- Yay for having to rewrite other people's Bash scripts because bash suddenly stopped supporting the bash extensions they make use of -- To

Re: ksh: bad number (with leading zeroes) should not work for 0 - 7

2011-09-15 Thread Thorsten Glaser
Abel Abraham Camarillo Ojeda verlet.org> writes: > Some of our shell scripts that work with dates and do something like: > > month=`date +%m` > something && month=$((month-1)) month=10#$(date +%m) bye, //mirabilos

Re: linux default shell, how annoying

2011-05-05 Thread Thorsten Glaser
Followup-to: poster Marco Peereboom peereboom.us> writes: > All lies. Nothing to see there. Just someone who took some code and > pretends it's theirs. $ man mksh | fgrep -C3 recognises AUTHORS The MirBSD Korn Shell is developed by Thorsten Glaser and currently main

Re: svnd is incredible slow... somebody else notice that?

2009-05-08 Thread Thorsten Glaser
Sebastian Rother jpberlin.de> writes: > vnconfig -cK 52527 -S saltfile /dev/sd0k /dev/svnd1c I think that does synchronous writes, even if you mount the svnd device async or softdep, which is why it is so slow. After losing a hard disc image _file_ to fsck on the filesy- stem containing the ima

greytrapping and sendmail

2009-01-13 Thread Thorsten Glaser
Hi all, imagine you have an address like "junk@" added to the list of traps. Now, someone sends mails to you (or, via spamlogd, vice versa) then spams the trap address. Sendmail will let him pass, and either reject junk@ or have it alia- sed to /dev/null. Not with me b: Diffs slightly hand-edite

Re: /var/mail permissions?

2009-01-13 Thread Thorsten Glaser
On Wed, 8 May 2002, J.D. Bronson wrote: > What is the correct permissions for /var/mail? $ sudo chown root:wheel /var/mail; sudo chmod 1777 /var/mail In this order. Not 1. And not g+s, that is only required on SYSV UNIXB.. > I am concerned about this as some POP3 daemons make the file rw-rw

Re: OpenKSH?

2007-03-04 Thread Thorsten Glaser
Han Boetes dixit: >Thorsten Glaser already made a portable version of the OpenBSD >version of ksh, which compiles on lots of platforms and works >great. > > http://www.mirbsd.org/?mksh The canonical URI is http://mirbsd.de/mksh which redirects to the correct page, btw. See

Re: The future of NetBSD

2006-09-09 Thread Thorsten Glaser
Marc G. Fournier dixit: > And what I'm learning with bsdstats.org is that there are more then just those > four ... GNU/kFreeBSD is reporting Now _that_'s funny ;) > are there any others? DragonFly DesktopBSD PC-BSD 4.3BSD-Quasijarus ekkoBSD (dead) MidnightBSD (nascent) MicroBSD (once dead, but

Re: The future of NetBSD

2006-08-31 Thread Thorsten Glaser
(When do you stop putting people into Cc instead of just the lists?) Marc G. Fournier dixit: > source code drivers provided by a > vendor, and supported by them Yeah, and what if the vendor goes out of business, is bought or simply bankrupt? You're pretty much SOL then. //mirabile -- I believe

Re: The future of NetBSD

2006-08-31 Thread Thorsten Glaser
Marc G. Fournier dixit: > I'm curious here, but why did the *kernel* diverge for each project? Because kernel, userland, ports and attitude come as a package, they cannot be separated, for together they are the operating system. //mirabile -- I believe no one can invent an algorithm. One just h

Re: The future of NetBSD

2006-08-31 Thread Thorsten Glaser
Marc G. Fournier dixit: > If the vendor is bought up, bankrupt, out of business, dead (like that person who ported g++ to Plan 9, whose window managers' copyright is now set in stone), etc... you're SOL9. //mirabile 9) wtf knows it -- I believe no one can invent an algorithm. One just happens t

Re: The future of NetBSD

2006-08-31 Thread Thorsten Glaser
Please don't Cc: people when you respond to mailing lists *sigh* Marc G. Fournier dixit: > for us, they need to write 1. Companies don't write drivers for BSD 2. Companies don't even release specs so that people can write drivers for BSD //mirabile -- I believe no one can invent an algorit

Re: The future of NetBSD

2006-08-31 Thread Thorsten Glaser
Marc G. Fournier dixit: (Please don't keep individual persons in the Cc, only the lists, otherwise people will get the mails several times.) > Put together a *BSD "core" ... representative from each camp and try and steer > the *kernel* itself towards a more common BSD ... BSD is about an operat

Re: The future of NetBSD

2006-08-31 Thread Thorsten Glaser
Benny Siegert dixit: > A very pessimistic article but well worth a read: > > http://mail-index.netbsd.org/netbsd-users/2006/08/30/0016.html You could've just replied to it so that the References: header can be perused. I've changed this mail to reply to it for threading. Charles M. Hannum dixit

Re: cruxports for OpenBSD

2006-06-18 Thread Thorsten Glaser
Marc Balmer dixit: >what's next? The MirPorts Framework already runs on OpenBSD and Mac OSX, in addition to being the native package source for MirOS BSD. (It also works on In- terix aka MS Services for Unix 3.5, but that's currently not supported. It will come when time permits, though.) bye, /

Re: FYI, 1and1 hosting fun (ip subnet zero)

2006-05-11 Thread Thorsten Glaser
(keeping cross-post of original poster because I don't have a better idea) Todd T. Fries dixit: >The problem is that 1and1 hosting choses to have any root servers >setup with `ip subnet zero'. That's a fancy way of stating that they >expect systems to setup IP's with netmasks of 255.255.255.255

leap second support for (portable) OpenNTPD

2006-05-09 Thread Thorsten Glaser
@@ -111,4 +111,8 @@ daemon.c, sys-queue.h: The Regents of th * SUCH DAMAGE. */ +The leap second support is an extension by Thorsten Glaser and +is covered by the MirOS licence, but available under the ISC +licence for use by the OpenBSD project in rdate(8) as well. + $Id: openntpd-3.7p1-leapsec

Re: ntpd "dispatch_imsg in main: pipe closed"

2005-09-09 Thread Thorsten Glaser
Ray cyth.net> writes: > Oct 11 09:29:24 sparky ntpd[30592]: dispatch_imsg in main: pipe closed I've encountered this on several GNU/Linux boxen and tracked it down to | listen on * When I replace this by | listen on :: everything works fine. On BSD systems, you have to use | listen on :: | lis

Re: Is /dev on mfs possible?

2005-06-11 Thread Thorsten Glaser
Jason Crawford dixit: >Yes, it is possible to have /dev on mfs, however that would mean you'd >have to run MAKEDEV on every boot after mounting the /dev memory file >system. Cannot -P do this? //mirabile -- I believe no one can invent an algorithm. One just happens to hit upon it when God enlig

Re: perl -MCPAN checksum mismatch on anything

2005-06-11 Thread Thorsten Glaser
Wijnand Wiersma dixit: >Funny, I was trying to install Net::Jabber too. But all modules will >fail in the exact same way. I remember something about HASHFile() being broken some time ago; maybe that was the case? //mirabile -- I believe no one can invent an algorithm. One just happens to hit up

Re: mounting ext3fs via ext2fs

2005-06-02 Thread Thorsten Glaser
Frank Denis (Jedi/Sector One) dixit: >On Mon, May 30, 2005 at 03:25:02PM +0000, Thorsten Glaser wrote: >> ports/sysutils/e2fsprogs > > Sure, but to be fair, if he cares about his data, it's probably a bad idea >to try a 3-years old version of e2fsprogs I don't know

Re: mounting ext3fs via ext2fs

2005-05-30 Thread Thorsten Glaser
Frank Denis (Jedi/Sector One) dixit: > While running Linux, try ports/sysutils/e2fsprogs //mirabile -- I believe no one can invent an algorithm. One just happens to hit upon it when God enlightens him. Or only God invents algorithms, we merely copy them. If you don't believe in God, just consi

Re: Passing random mac to lladdr in ifconfig

2005-05-30 Thread Thorsten Glaser
Nick Holmes dixit: > found it in the Linux-based "Auditor" LiveCD) and that can generate a random > MAC for the interface. Does anyone here have a script (Perl or otherwise) > which > can achieve the same in OpenBSD and they'd be willing to share? Yuck, Perl, you are evil. #!/bin/ksh function a

Re: IMAP servers

2005-05-24 Thread Thorsten Glaser
Rod.. Whitworth dixit: >I just wondered how somebody who has a string of alerts of his own can >regard anything else as unsafe. Eh, you are reading things I did not write, I think. >The Cheez Wizz 1998 alert. >The several buffer overflows detected in June 2001 I patched some of these; besides,

Re: IMAP servers

2005-05-24 Thread Thorsten Glaser
Rod.. Whitworth dixit: >You really believe those UW people really can consider something unsafe It was considered so by the OpenBSD porter. UTSL. >before they clean up their own exploit history? Insane? The sky is >falling! I don't know about many IMAP servers but I know that UW-IMAP >is conside

Re: IMAP servers

2005-05-24 Thread Thorsten Glaser
Gaby vanhegan dixit: > we still have a lot of legacy mbox accounts. uw-imapd can read (and write) a plethora of formats using libc-client. Except Maildir, which they consider unsafe to access and insane to implement. In my ~/mail/ on the server, there are some mbox/unix and some MBX folders in p

Re: IMAP servers

2005-05-24 Thread Thorsten Glaser
Gaby vanhegan dixit: > What IMAP servers do people use for email access? uw-imapd's imapd for imaps (port 993) access; sendmail with uw-imapd's dmail/tmail instead of mail.local(8) for delivery to MBX format mailboxes. Allows concurrent access. uw-imaps allows reading arbitrary files on the serv

csh -> ksh script

2005-05-05 Thread Thorsten Glaser
Hi, any csh guru out here who wants to help rewriting src/usr.bin/vgrind/vgrind.sh in ksh? bye, //mirabile -- Hey, I just realized that OpenBSD CDs are $45. Any chance I could get you to update your sig? -- Steve Shockley after reading my previous signature

Re: Hackathon 2005

2005-05-04 Thread Thorsten Glaser
[EMAIL PROTECTED] dixit: >Yes you're right but a "OpenHTTPD" with "OpenMOD_GZIP" and maybe IPv6 is >still missing. And maybe a OpenSQUID... :-))) >Just jokingoO(But httpD improvements would be realy cool. :) ) $ uname -a OpenBSD jiyu.gnook.org 3.7 GENERIC#97 i386 Doing a $ cvs -qz1 -d [EMAIL

Re: in-kernel pppoe

2005-04-30 Thread Thorsten Glaser
Can Erkin Acar dixit: >There should be no need for this in -current Thanks, will try. //mirabile -- > Hi, does anyone sell openbsd stickers by themselves and not packaged > with other products? No, the only way I've seen them sold is for $40 with a free OpenBSD CD. -- Haroon Khalid and