On Thu, 10 Sep 2015, Norman Wilson wrote:
> #$%^&*\{{{
>
> NO CARRIER
>
> +++
> ATH
My favourite would be:
+++
(pause - this was necessary)
ATZ
I.e. a reset.
I think there were even worse ones in the Hayes codes, like ATH3 or
something. Dammit, but mental bit-rot is setting in.
Of course, I never did such an evil thing, your honour... Honest! Never!
--
Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer."
I'll support shark-culling when they have been observed walking on dry land.
I've used realloc a lot, and never run into bugs. Maybe I've just
been lucky, or maybe it's that I probably didn't use it that much
until the latter 1980s, and then more with pukka Doug malloc code
than with the stuff floating around elsewhere.
Never mind that sometime around 1995 I found a subtle bug in the
pukka Doug malloc (not realloc): arena blew up badly when presented
with a certain pattern of alternating small and large allocs and frees,
produced by a pukka Brian awk regression test. I had a lot of (genuine)
fun tracking that down, writing some low-level tools to extract the
malloc and free calls and sizes and then a simulator in (what else?)
awk to test different fixes. Oh, for the days when UNIX was that
simple.
I've never heard before of a belief that the new memory belonging
to realloc is always cleared, except in conjunction with the utterly-
mistaken belief that that's true of malloc as well. I don't think it
was ever promised to be true, though it was probably true by accident
just often enough (just as often as with malloc) to fool the careless.
Norman Wilson
Toronto ON
I’ve just had a discussion with my boss about this and he claimed that it did at one point and I said it hasn’t in all the unix versions I’ve ever played with (v6, v7, sys III, V, BSD 2, 3, 4, SunOS and Solaris).
My question to this illustrious group is: Did any Unix or Unix like OS ever zero fill on realloc?
David
I never used realloc(), only malloc() and calloc().
Checking a few unixes I have access to all reallocs() seem to state
either nothing on contents of memory added or state explicitly
'undefined'.
The only function which zeroes allocated memory is calloc() it seems.
Unixes checks: SCO UNIX 3.2V4.2, Digital Unix 4.0G, Tru64 Unix V5.1B,
HP-UX 11.23, HP-UX 11.31
Cheers
On 9/11/15, tuhs-request(a)minnie.tuhs.org <tuhs-request(a)minnie.tuhs.org> wrote:
> Send TUHS mailing list submissions to
> tuhs(a)minnie.tuhs.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://minnie.tuhs.org/mailman/listinfo/tuhs
> or, via email, send a message with subject or body 'help' to
> tuhs-request(a)minnie.tuhs.org
>
> You can reach the person managing the list at
> tuhs-owner(a)minnie.tuhs.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of TUHS digest..."
>
>
> Today's Topics:
>
> 1. Did realloc ever zero the new memory? (David)
> 2. Re: Did realloc ever zero the new memory? (Jim Capp)
> 3. Re: Did realloc ever zero the new memory? (David)
> 4. Re: Did realloc ever zero the new memory? (Larry McVoy)
> 5. Re: Did realloc ever zero the new memory? (David)
> 6. Re: Did realloc ever zero the new memory? (Larry McVoy)
> 7. Re: Did realloc ever zero the new memory? (Clem Cole)
> 8. Re: Did realloc ever zero the new memory? (Dave Horsfall)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 10 Sep 2015 12:52:45 -0700
> From: David <david(a)kdbarto.org>
> To: tuhs(a)minnie.tuhs.org
> Subject: [TUHS] Did realloc ever zero the new memory?
> Message-ID: <E798E102-2C50-4AB2-92CC-188D05AA951F(a)kdbarto.org>
> Content-Type: text/plain; charset=utf-8
>
> I?ve just had a discussion with my boss about this and he claimed that it
> did at one point and I said it hasn?t in all the unix versions I?ve ever
> played with (v6, v7, sys III, V, BSD 2, 3, 4, SunOS and Solaris).
>
> My question to this illustrious group is: Did any Unix or Unix like OS ever
> zero fill on realloc?
>
> David
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 10 Sep 2015 16:10:41 -0400 (EDT)
> From: Jim Capp <jcapp(a)anteil.com>
> To: david(a)kdbarto.org
> Cc: tuhs(a)minnie.tuhs.org
> Subject: Re: [TUHS] Did realloc ever zero the new memory?
> Message-ID: <5962857.12872.1441915841364.JavaMail.root@zimbraanteil>
> Content-Type: text/plain; charset="utf-8"
>
> On every system that I've ever used, I believe that realloc did not do a
> zero fill. There might have been a time when malloc did a zero fill, but I
> never counted on it. I always performed a memset or bzero after a malloc.
> I'm pretty sure that I counted on realloc to NOT perform a zero fill.
>
>
> $.02
>
>
>
> From: "David" <david(a)kdbarto.org>
> To: tuhs(a)minnie.tuhs.org
> Sent: Thursday, September 10, 2015 3:52:45 PM
> Subject: [TUHS] Did realloc ever zero the new memory?
>
> I?ve just had a discussion with my boss about this and he claimed that it
> did at one point and I said it hasn?t in all the unix versions I?ve ever
> played with (v6, v7, sys III, V, BSD 2, 3, 4, SunOS and Solaris).
>
> My question to this illustrious group is: Did any Unix or Unix like OS ever
> zero fill on realloc?
>
> David
>
> _______________________________________________
> TUHS mailing list
> TUHS(a)minnie.tuhs.org
> https://minnie.tuhs.org/mailman/listinfo/tuhs
>
Can't say much more, really...
--
Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer."
Concerned about shark attacks? Then don't go swimming in their food bowl...
---------- Forwarded message ----------
From: Jim Haynes
Cc: greenkeys(a)mailman.qth.net
Subject: Re: [GreenKeys] Teletype Industrial Design
On Fri, 28 Aug 2015, Jack wrote:
> How were they still applying for patents in 1993?
>
> D332,465 (1993) Sokolowski
>
It was filed for in 1988 and was assigned to AT&T Bell Laboratories.
So I guess that was after what was left of Teletype had gone to
Naperville. And what was left of Bell Labs was still part of AT&T,
before the spinoff of Lucent in 1996.
Incidentally if you google for Bell Laboratories the first thing that
comes up is
Bell Laboratories - Home
www.belllabs.com/
An exclusive manufacturer of rodent control products, Bell Laboratories produces
the highest quality rodenticides and other rodent control products available to
...
Just stirring up the gene pool, so to speak... And who hasn't played
chess with a computer, and caught it cheating?
--
Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer"
RIP Cecil the Lion; he was in pain for two days, thanks to some brave hunter.
---------- Forwarded message ----------
Date: Sat, 15 Aug 2015 16:49:19 -0400
From: Christian Gauger-Cosgrove
To: David Tumey
Cc: GREENKEYS BULLETIN BOARD <greenkeys(a)mailman.qth.net>
Subject: Re: [GreenKeys] TELETYPE Chess Anyone??
On 15 August 2015 at 16:37, David Tumey via GreenKeys
<greenkeys(a)mailman.qth.net> wrote:
> house. I got to play a game of Chess on a Model 33/PDP-?? and it totally
> blew my mind. I knew that I wanted that to be part of my current teletype
You know, the current version of the SIMH emulator can connect to
serial ports now. If you want I can help you setup SIMH's PDP-11
simulator running a PDP-11 UNIX which of course has chess you play. So
that it'll work on your TTY.
Only required information is: "What serial port is your Teletype's
current loop adapter connected?" and "What do you want to run? V6, V7,
Ultrix-11, RT-11 (V4, V5.3, V5.7), RSTS/E (V7, V10.1-L), RSX-11/M+,
DSM-11 (kill it with fire)? All of the above?"
Cheers,
Christian
--
Christian M. Gauger-Cosgrove
STCKON08DS0
Contact information available upon request.
______________________________________________________________
GreenKeys mailing list
Home: http://mailman.qth.net/mailman/listinfo/greenkeys
Help: http://mailman.qth.net/mmfaq.htm
Post: mailto:GreenKeys@mailman.qth.net
2002-to-present greenkeys archive: http://mailman.qth.net/pipermail/greenkeys/
1998-to-2001 greenkeys archive: http://mailman.qth.net/archive/greenkeys/greenkeys.html
Randy Guttery's 2001-to-2009 GreenKeys Search Tool: http://comcents.com/tty/greenkeyssearch.html
This list hosted by: http://www.qsl.net
Please help support this email list: http://www.qsl.net/donate.html
Ah hah! My stray memory of `Not War?' must date from my TOPS-10 days.
I can't find a trace of the string `love' anywhere in any of the make
sources in Kirk's multi-CD compendium of historic BSD, so it certainly
can't have been from there.
Norman Wilson
Toronto ON
So me, being an uber-geek, tried it on a few boxen again...
On the Mac:
ozzie:~ dave$ make love
make: *** No rule to make target `love'. Stop.
Boring...
On FreeBSD:
aneurin% make love
Not war.
Thank you for keeping the faith!
And on my tame penguin:
dave@debbie:~$ make love
-bash: make: command not found
Sigh...
--
Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer."
Watson never said: "I think there is a world market for maybe five computers."