Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jun 2011 16:44:55 +0200
From:      Joerg Wunsch <j@uriah.heep.sax.de>
To:        freebsd-stable@freebsd.org
Subject:   Re: doscmd under 8-stable, anyone?
Message-ID:  <20110615144455.GS23206@uriah.heep.sax.de>
In-Reply-To: <20110615140051.GL48734@deviant.kiev.zoral.com.ua>
References:  <20110615135704.GQ23206@uriah.heep.sax.de> <20110615140051.GL48734@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
As Kostik Belousov wrote:

> Do sysctl security.bsd.map_at_zero=1

Just for the record, this sysctl also makes my really really old utree
binary work again.  The binary dates back to 386BSD 0.0, and I'm only
keeping it out of curiosity:

j@uriah 66% ls -l /usr/local/bin/utree
-rwxr-xr-x  1 bin  bin  179639 Apr 30  1992 /usr/local/bin/utree*

The only thing to make it run is to use a termcap entry that is
smaller than 1024 byte, as this used to be a hard-coded limitation in
the termcap library of those days, and the binary is statically
linked.  TERM=vt100 works, xterm no longer does.

The ability to run this binary only serves as a proof that no backward
compatibility has ever been broken in FreeBSD. ;-)  (Obviously, all
the various COMPAT_* options must be present in the kernel config.)
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110615144455.GS23206>