Re: history

2013-09-19 Thread Polytropon
On Thu, 19 Sep 2013 19:36:43 +, william benton wrote:
> when I log into free bsd I am in the sh shell. i type history
> at the command line and the machine says history not found.
> If I type h at the command line it works like i expect the
> history command to work.

That is strange. The sh shell (system scripting shell and
emergency dialog shell in SUM) does not have a history function.

% sh
$ h
h: not found
$ history
history: not found
$ _



> In the csh or tcsh shells history works as well as h.

This is correct. A system-wide alias is defined for those shells:

alias   h   'history 25'

It can be found in /etc/csh.cshrc.



> why does entering history at the command line work in the csh and
> tcsh  shells  but not in the sh shell.

The sh shell (Bourne-like shell, actually a derivate of ash) does
not have this functionality. Bash, the Bourne-again shell, supports
the "history" function internally, and a "h" alias can be defined
for this shell.

% bash
$ history
[...]
  501  history
$ _



> Considering that all three shells seem to have the same .cshrc file?

They don't. The csh and tcsh (system default dialog shell) use the
cshrc mechanism (/etc/csh.cshrc for global settings, .cshrc for user
settings, and .login and .logout for interactive shells), while sh
uses /etc/profile and .profile and .shrc similarly. Bash uses .profile
as well as .bash_profile and .bash_login in a comparable manner.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: history

2013-09-19 Thread Glenn Sieb
On 9/19/13 3:36 PM, william benton wrote:
> when I log into free bsd I am in the sh shell. i type history at the
> command line and the machine says history not found. If I type h at
> the command line it works like i expect the history command to work.
> In the csh or tcsh shells history works as well as h. why does
> entering history at the command line work in the csh and tcsh  shells
> but not in the sh shell. Considering that all three shells seem to
> have the same .cshrc file?


Bourne shell (sh) has no history component.

Bourne Again shell (bash) does, as well as C-shell and Turbo C-shell
(csh/tcsh).

http://en.wikipedia.org/wiki/Bourne_shell#Criticism

Best,
--Glenn


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: History of C (Re: Why do you use a devil as a mascot?)

2010-11-16 Thread Julian H. Stacey
per...@pluto.rain.com wrote:
> Wojciech Puchar  wrote:
> 
> > there will no no next language. there is no need to have C follower.
> > C is perfect
> 
> Which C are you referring to here?  The original K&R, ANSI, or some
> other variant?  ANSI C is different enough from K&R C -- in strength
> of typing if nothing else -- that some would say ANSI C _is_ the
> "next language" following K&R C.


Chat about flavours of C, better on chat@ not questi...@.
( The daemons noise was enough old FAQ )

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/x92.html
"Before submitting a question
 You can (and should) do some things yourself before asking a
 question on one of the mailing lists:"

http://www.freebsd.org/search/search.html#mailinglists
"Chat: Random topics (sometimes) related to FreeBSD."

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text;  Not HTML, quoted-printable & base 64 spam formats.
Avoid top posting, it cripples itemised cumulative responses.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: History of C (Re: Why do you use a devil as a mascot?)

2010-11-16 Thread perryh
Wojciech Puchar  wrote:

> there will no no next language. there is no need to have C follower.
> C is perfect

Which C are you referring to here?  The original K&R, ANSI, or some
other variant?  ANSI C is different enough from K&R C -- in strength
of typing if nothing else -- that some would say ANSI C _is_ the
"next language" following K&R C.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: History of C (Re: Why do you use a devil as a mascot?)

2010-11-15 Thread Ian Smith
In freebsd-questions Digest, Vol 337, Issue 1, Message: 19
On Sun, 14 Nov 2010 17:29:10 -0700 Chad Perrin wrote:
 > On Sun, Nov 14, 2010 at 02:39:32PM -0800, Gary Kline wrote:
 > > 
 > >About 2000, 2001 was when I shucked my "muuz" game/mind-machine 
 > >effort.  It was over 10K line of C-ish code that I rehacked into 
 > >C++.  Figured since C++ was "_the_ new language" that it was a 
 > >good move.  Then I realized how you could spend a lifetime
 > >learning C++ I backed off and kept it simple.

Deftly avoiding the whirlpool.  Delphi was the similar suck from Pascal.

 > Hardly new.  It hasn't been the Next Big Thing since the '80s.  Java was
 > the Next Big Thing in the '90s.  We don't exactly have a new Next Big
 > Thing for the '00s, from what I can see -- and maybe that's a good thing.
 >
 > Agile development is the Next Big Thing for development methodologies,
 > but that's a somewhat separate issue.

Whatever that means, I'll take your word for it :)

 > >Yeah, it's on amazon.com, but "my bible" {seriously!} is good
 > >enough.  Dog-earned and coffee-stained; but it's the same as the
 > >2nd Ed.  The 2nd is ANSI-ified, IIRC.
 > 
 > That's correct -- 2nd Ed is the ANSI C version of basically the same
 > text.

Hey, didn't know I had a rare '78 first ed; ANSI not even in the index. 
I confess to buying it secondhand in '94 from a likely sorry bloke, and 
wonder if anyone's published a diff (ono) to the 2nd ed?

But my most dog-eared, tabbed and note-stuffed reference is Kernighan & 
Plauger's Software Tools in Pascal ('81) - lovely if only for quality of 
the writing and typesetting.  Appropriate thread for a little heresy? :)

cheers, Ian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: History of C (Re: Why do you use a devil as a mascot?)

2010-11-15 Thread Arthur Chance

On 11/14/10 20:44, Gary Kline wrote:

TWo questions: didn't IBM create CPL? And doesn't BCPL
Stand for "British Computer Programming Language"?  (I did have
both editions of the C book by Brian and DEnnis; then loaned the
2nd edition and never got ti back.)  I think Dennis gives credit
to BCPL Somewhere.  Pretty sure those guys are all retired to
somewhere *warm and sunny* by now!


According to Wikipedia:

> The Combined Programming Language (CPL) was a computer programming
> language developed jointly between the Mathematical Laboratory at the
> University of Cambridge and the University of London Computer Unit
> during the 1960s hence CPL gained the nickname "Cambridge Plus London"

Martin Richards, who invented/first implemented BCPL is technically 
retired but still active here in Cambridge (the UK one):


http://www.cl.cam.ac.uk/~mr10/index.html

[Note the address of Cambridge Computer Lab :-)]

--
"Although the wombat is real and the dragon is not, few know what a
wombat looks like, but everyone knows what a dragon looks like."

-- Avram Davidson, _Adventures in Unhistory_
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: History of C (Re: Why do you use a devil as a mascot?)

2010-11-15 Thread Wojciech Puchar

implemented at all -- but BCPL developed a following.  Someone
(at Bell Labs?) produced a derivative called B, from which a few
researchers at Murray Hill derived C.  Thus the question:  should
the next language in the series be named D (next alphabetically)
or P (next letter of BCPL)?
there will no no next language. there is no need to have C follower. C is 
perfect

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: History of C (Re: Why do you use a devil as a mascot?)

2010-11-14 Thread Chad Perrin
On Sun, Nov 14, 2010 at 09:54:42PM -0800, Charlie Kester wrote:
> 
> I'd say the "Next Big Thing" in the '00s was Python ... or was it XML?

Python hasn't been dominant enough.  *Maybe* XML -- but that might be a
bit of a stretch.  It might be a couple years before we can identify it.

Hm.  Maybe JavaScript . . . ?  You know, that AJAXy thing.


> 
> BTW, it's now the '10s.  ;-)

Yeah, but there obviously hasn't been a Next Big Thing programming
language for the '10s yet.  Give it time.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgp7rDO0QKypC.pgp
Description: PGP signature


Re: History of C (Re: Why do you use a devil as a mascot?)

2010-11-14 Thread Charlie Kester

On Sun 14 Nov 2010 at 16:29:10 PST Chad Perrin wrote:

On Sun, Nov 14, 2010 at 02:39:32PM -0800, Gary Kline wrote:


About 2000, 2001 was when I shucked my "muuz" game/mind-machine
effort.  It was over 10K line of C-ish code that I rehacked into
C++.  Figured since C++ was "_the_ new language" that it was a
good move.  Then I realized how you could spend a lifetime
learning C++ I backed off and kept it simple.


Hardly new.  It hasn't been the Next Big Thing since the '80s.  Java was
the Next Big Thing in the '90s.  We don't exactly have a new Next Big
Thing for the '00s, from what I can see -- and maybe that's a good


I'd say the "Next Big Thing" in the '00s was Python ... or was it XML?

BTW, it's now the '10s.  ;-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: History of C (Re: Why do you use a devil as a mascot?)

2010-11-14 Thread Chad Perrin
On Sun, Nov 14, 2010 at 02:39:32PM -0800, Gary Kline wrote:
> 
>   About 2000, 2001 was when I shucked my "muuz" game/mind-machine 
>   effort.  It was over 10K line of C-ish code that I rehacked into 
>   C++.  Figured since C++ was "_the_ new language" that it was a 
>   good move.  Then I realized how you could spend a lifetime
>   learning C++ I backed off and kept it simple.

Hardly new.  It hasn't been the Next Big Thing since the '80s.  Java was
the Next Big Thing in the '90s.  We don't exactly have a new Next Big
Thing for the '00s, from what I can see -- and maybe that's a good thing.

Agile development is the Next Big Thing for development methodologies,
but that's a somewhat separate issue.


> 
>   Yeah, it's on amazon.com, but "my bible" {seriously!} is good
>   enough.  Dog-earned and coffee-stained; but it's the same as the
>   2nd Ed.  The 2nd is ANSI-ified, IIRC.

That's correct -- 2nd Ed is the ANSI C version of basically the same
text.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpr3nBarPs1j.pgp
Description: PGP signature


Re: History of C (Re: Why do you use a devil as a mascot?)

2010-11-14 Thread Gary Kline
On Sun, Nov 14, 2010 at 03:37:15PM -0700, Chad Perrin wrote:
> On Sun, Nov 14, 2010 at 02:02:49PM -0800, Chip Camden wrote:
> > Quoth Gary Kline on Sunday, 14 November 2010:
> > > 
> > > 
> > >   Just about the whole Murray Hill gang stopped by Cray 
> > >   (in Chippewa Falls), late 80's, and I remember asking Dennis
> > >   what the deal was with "C++"; I remember him dodging the
> > >   thing.  Whoever-invented-C++ did a convoluted job, i s my
> > >   opinion.  It might be nice to add classes to C, but that's
> > >   about it.
> > > 
> > The inventor of C++ is Bjarne Stroustrop.  I had the chance opportunity
> > to sit down at a table with him and have a conversation prior to an SD
> > West conference several years ago.  He's a nice guy, with a great sense
> > of humor -- but even he admits "C makes it easy to shoot yourself in the
> > foot; C++ makes it harder, but when you do it blows your whole leg off."
> > http://en.wikiquote.org/wiki/Bjarne_Stroustrup
> 
> There's always the theory that Bjarne Stroustrup actually meant C++ as a
> joke:
> 
> http://harmful.cat-v.org/software/c++/I_did_it_for_you_all
> 
> It's generally regarded as a hoax, and there is an actually published
> interview that corresponds with this time period in IEEE's Computer
> Magazine that reads quite differently from this.  Still . . . if this is
> real, it would certainly explain a lot.
> 


Hmmm.  I'll ck out the quote when I'm using evo.  I honestly
doesn't see C++ as any joke--or attempt to be.  What I can't 
grok is the supposed "re-useability."  Was/Isn't a big part of
C++ supposed to be that you could easily reuse part of proven,
flawless code?  I probably never got that far into learning the
language.  I have and still do edit, cut/paste, hammer and saw
away at my C examples to get at functions that are reusable.


> -- 
> Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   http://journey.thought.org
   For non-text MUA's
   http://theopenpress.com/index.php?a=print&code=00&id=88532
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: History of C (Re: Why do you use a devil as a mascot?)

2010-11-14 Thread Gary Kline
On Sun, Nov 14, 2010 at 02:02:49PM -0800, Chip Camden wrote:
> Quoth Gary Kline on Sunday, 14 November 2010:
> > 
> > 
> > Just about the whole Murray Hill gang stopped by Cray 
> > (in Chippewa Falls), late 80's, and I remember asking Dennis
> > what the deal was with "C++"; I remember him dodging the
> > thing.  Whoever-invented-C++ did a convoluted job, i s my
> > opinion.  It might be nice to add classes to C, but that's
> > about it.
> > 
> The inventor of C++ is Bjarne Stroustrop.  I had the chance opportunity
> to sit down at a table with him and have a conversation prior to an SD
> West conference several years ago.  He's a nice guy, with a great sense
> of humor -- but even he admits "C makes it easy to shoot yourself in the
> foot; C++ makes it harder, but when you do it blows your whole leg off."
> http://en.wikiquote.org/wiki/Bjarne_Stroustrup
> 

I'm sure I had my share of disasters with C++ hacking test code
, but OMG, the head banging was nothing compared to heavy C
coding in the early days.   The number of segv's brings back
evil memories:-)  That, and having to take a notebook and draw
out where you were [or _thought_ you were] pointing to.
--Things they can't teach very well in the classroom-- that sort
of stuff.

Great quote!


> > 
> -- 
> Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
> http://camdensoftware.com | http://chipstips.com| 
> http://chipsquips.com



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   http://journey.thought.org
   For non-text MUA's
   http://theopenpress.com/index.php?a=print&code=00&id=88532
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: History of C (Re: Why do you use a devil as a mascot?)

2010-11-14 Thread Chad Perrin
On Sun, Nov 14, 2010 at 02:02:49PM -0800, Chip Camden wrote:
> Quoth Gary Kline on Sunday, 14 November 2010:
> > 
> > 
> > Just about the whole Murray Hill gang stopped by Cray 
> > (in Chippewa Falls), late 80's, and I remember asking Dennis
> > what the deal was with "C++"; I remember him dodging the
> > thing.  Whoever-invented-C++ did a convoluted job, i s my
> > opinion.  It might be nice to add classes to C, but that's
> > about it.
> > 
> The inventor of C++ is Bjarne Stroustrop.  I had the chance opportunity
> to sit down at a table with him and have a conversation prior to an SD
> West conference several years ago.  He's a nice guy, with a great sense
> of humor -- but even he admits "C makes it easy to shoot yourself in the
> foot; C++ makes it harder, but when you do it blows your whole leg off."
> http://en.wikiquote.org/wiki/Bjarne_Stroustrup

There's always the theory that Bjarne Stroustrup actually meant C++ as a
joke:

http://harmful.cat-v.org/software/c++/I_did_it_for_you_all

It's generally regarded as a hoax, and there is an actually published
interview that corresponds with this time period in IEEE's Computer
Magazine that reads quite differently from this.  Still . . . if this is
real, it would certainly explain a lot.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgp1ZRsKuA2As.pgp
Description: PGP signature


Re: History of C (Re: Why do you use a devil as a mascot?)

2010-11-14 Thread Gary Kline
On Sun, Nov 14, 2010 at 02:41:41PM -0700, Chad Perrin wrote:
> On Sun, Nov 14, 2010 at 12:44:50PM -0800, Gary Kline wrote:
> > 
> > I'd vote for "E" since that might have more positive
> > connotations that "D".  :-)  Skip "F" altogether.
> 
> That might be a good point.
> 
> Google has taught me that single-letter names for programming languages
> (or anything else, apparently) are not so good for the Internet age,
> however.


I won't argue the point! but how about "IEEE"?  I subscribed
to that for years and some people noted that spoken as a word,
"Ieee" was like the primal scream!  Hm maybe the EEE
language?!
> 
> 
> > 
> > Just about the whole Murray Hill gang stopped by Cray 
> > (in Chippewa Falls), late 80's, and I remember asking Dennis
> > what the deal was with "C++"; I remember him dodging the
> > thing.  Whoever-invented-C++ did a convoluted job, i s my
> > opinion.  It might be nice to add classes to C, but that's
> > about it.
> 
> Perhaps ironically, some called C++ "C With Classes" early on, as I
> recall.  Meanwhile, Objective-C ended up being what C++ initially claimed
> it would be (a strict superset of C that provided facilities for OOP),
> while C++ failed to live up to its own promises while expanding into all
> kinds of things that were not actually desired in those early days (like
> a politician once elected to office).  This is, of course, largely the
> perspective of an outsider, so take it for what it's worth.
> 

About 2000, 2001 was when I shucked my "muuz" game/mind-machine 
effort.  It was over 10K line of C-ish code that I rehacked into 
C++.  Figured since C++ was "_the_ new language" that it was a 
good move.  Then I realized how you could spend a lifetime
learning C++ I backed off and kept it simple.

> 
> > 
> > TWo questions: didn't IBM create CPL? And doesn't BCPL
> > Stand for "British Computer Programming Language"?  (I did have
> > both editions of the C book by Brian and DEnnis; then loaned the
> > 2nd edition and never got ti back.)  I think Dennis gives credit
> > to BCPL Somewhere.  Pretty sure those guys are all retired to
> > somewhere *warm and sunny* by now!
> 
> The second edition is still in stores all over the place.  It's the first
> edition that would be difficult to find these days, I think.  My father
> tells me he has a copy, though I've never seen it; I only have the second
> edition.


Yeah, it's on amazon.com, but "my bible" {seriously!} is good
enough.  Dog-earned and coffee-stained; but it's the same as the
2nd Ed.  The 2nd is ANSI-ified, IIRC.

gary
> 
> -- 
> Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   http://journey.thought.org
   For non-text MUA's
   http://theopenpress.com/index.php?a=print&code=00&id=88532
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: History of C (Re: Why do you use a devil as a mascot?)

2010-11-14 Thread Chip Camden
Quoth Gary Kline on Sunday, 14 November 2010:
> 
> 
>   Just about the whole Murray Hill gang stopped by Cray 
>   (in Chippewa Falls), late 80's, and I remember asking Dennis
>   what the deal was with "C++"; I remember him dodging the
>   thing.  Whoever-invented-C++ did a convoluted job, i s my
>   opinion.  It might be nice to add classes to C, but that's
>   about it.
> 
The inventor of C++ is Bjarne Stroustrop.  I had the chance opportunity
to sit down at a table with him and have a conversation prior to an SD
West conference several years ago.  He's a nice guy, with a great sense
of humor -- but even he admits "C makes it easy to shoot yourself in the
foot; C++ makes it harder, but when you do it blows your whole leg off."
http://en.wikiquote.org/wiki/Bjarne_Stroustrup

> 
-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpmezCqzSzcR.pgp
Description: PGP signature


Re: History of C (Re: Why do you use a devil as a mascot?)

2010-11-14 Thread Chad Perrin
On Sun, Nov 14, 2010 at 12:44:50PM -0800, Gary Kline wrote:
> 
>   I'd vote for "E" since that might have more positive
>   connotations that "D".  :-)  Skip "F" altogether.

That might be a good point.

Google has taught me that single-letter names for programming languages
(or anything else, apparently) are not so good for the Internet age,
however.


> 
>   Just about the whole Murray Hill gang stopped by Cray 
>   (in Chippewa Falls), late 80's, and I remember asking Dennis
>   what the deal was with "C++"; I remember him dodging the
>   thing.  Whoever-invented-C++ did a convoluted job, i s my
>   opinion.  It might be nice to add classes to C, but that's
>   about it.

Perhaps ironically, some called C++ "C With Classes" early on, as I
recall.  Meanwhile, Objective-C ended up being what C++ initially claimed
it would be (a strict superset of C that provided facilities for OOP),
while C++ failed to live up to its own promises while expanding into all
kinds of things that were not actually desired in those early days (like
a politician once elected to office).  This is, of course, largely the
perspective of an outsider, so take it for what it's worth.


> 
>   TWo questions: didn't IBM create CPL? And doesn't BCPL
>   Stand for "British Computer Programming Language"?  (I did have
>   both editions of the C book by Brian and DEnnis; then loaned the
>   2nd edition and never got ti back.)  I think Dennis gives credit
>   to BCPL Somewhere.  Pretty sure those guys are all retired to
>   somewhere *warm and sunny* by now!

The second edition is still in stores all over the place.  It's the first
edition that would be difficult to find these days, I think.  My father
tells me he has a copy, though I've never seen it; I only have the second
edition.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpBjOf4A6ihn.pgp
Description: PGP signature


Re: History of C (Re: Why do you use a devil as a mascot?)

2010-11-14 Thread Gary Kline
On Sun, Nov 14, 2010 at 01:00:35AM -0800, per...@pluto.rain.com wrote:
> Chad Perrin  wrote:
> > On Sat, Nov 13, 2010 at 02:32:04PM -0600, Robert Bonomi wrote:
> > > should the one-leter name for 'c++' be 'd' or 'p'?
> > > (nobody could decide/agree, which *IS* why it is 'c++'
> > > to this day)
> >
> > ... D is already another programming language ...
> 
> It wasn't back then :)
> 
> > I don't know what this P has to do with it.
> 
> You have revealed yourself as a newbie :)
> 
> In the beginning there was CPL, the "Combined Programming Language."
> It was large enough to be infeasible to implement using then-current
> technologies, so the "Bootstrap Combined Programming Language" (BCPL)
> was invented, with the intent that the first CPL compiler would be
> written in BCPL.
> 
> CPL never amounted to much -- I don't know whether it was ever
> implemented at all -- but BCPL developed a following.  Someone
> (at Bell Labs?) produced a derivative called B, from which a few
> researchers at Murray Hill derived C.  Thus the question:  should
> the next language in the series be named D (next alphabetically)
> or P (next letter of BCPL)?


I'd vote for "E" since that might have more positive
connotations that "D".  :-)  Skip "F" altogether.

Just about the whole Murray Hill gang stopped by Cray 
(in Chippewa Falls), late 80's, and I remember asking Dennis
what the deal was with "C++"; I remember him dodging the
thing.  Whoever-invented-C++ did a convoluted job, i s my
opinion.  It might be nice to add classes to C, but that's
about it.

TWo questions: didn't IBM create CPL? And doesn't BCPL
Stand for "British Computer Programming Language"?  (I did have
both editions of the C book by Brian and DEnnis; then loaned the
2nd edition and never got ti back.)  I think Dennis gives credit
to BCPL Somewhere.  Pretty sure those guys are all retired to
somewhere *warm and sunny* by now!

gary


> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   http://journey.thought.org
   For non-text MUA's
   http://theopenpress.com/index.php?a=print&code=00&id=88532
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: History of C (Re: Why do you use a devil as a mascot?)

2010-11-14 Thread Chad Perrin
On Sun, Nov 14, 2010 at 01:00:35AM -0800, per...@pluto.rain.com wrote:
> Chad Perrin  wrote:
> >
> > ... D is already another programming language ...
> 
> It wasn't back then :)

It is now, though, so it's a little late.  So sorry.


> 
> > I don't know what this P has to do with it.
> 
> You have revealed yourself as a newbie :)

No -- I've revealed myself as someone who doesn't care nearly as much
about C++ as about C.


> 
> In the beginning there was CPL, the "Combined Programming Language."
> It was large enough to be infeasible to implement using then-current
> technologies, so the "Bootstrap Combined Programming Language" (BCPL)
> was invented, with the intent that the first CPL compiler would be
> written in BCPL.
> 
> CPL never amounted to much -- I don't know whether it was ever
> implemented at all -- but BCPL developed a following.  Someone
> (at Bell Labs?) produced a derivative called B, from which a few
> researchers at Murray Hill derived C.  Thus the question:  should
> the next language in the series be named D (next alphabetically)
> or P (next letter of BCPL)?

. . . and there was a flamewar over it, blah blah blah, and finally it
was C++.  Okay.  Good historical reference.  Thanks.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgp5bl4l2AkvF.pgp
Description: PGP signature


Re: History of C (Re: Why do you use a devil as a mascot?)

2010-11-14 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Sun Nov 14 03:09:59 2010
> Date: Sun, 14 Nov 2010 01:00:35 -0800
> From: per...@pluto.rain.com
> To: per...@apotheon.com
> Cc: freebsd-questions@freebsd.org
> Subject: History of C (Re: Why do you use a devil as a mascot?)
>
> Chad Perrin  wrote:
> > On Sat, Nov 13, 2010 at 02:32:04PM -0600, Robert Bonomi wrote:
> > > should the one-leter name for 'c++' be 'd' or 'p'?
> > > (nobody could decide/agree, which *IS* why it is 'c++'
> > > to this day)
> >
> > ... D is already another programming language ...
>
> It wasn't back then :)
>
> > I don't know what this P has to do with it.
>
> You have revealed yourself as a newbie :)
>
> In the beginning there was CPL, the "Combined Programming Language."
> It was large enough to be infeasible to implement using then-current
> technologies, so the "Bootstrap Combined Programming Language" (BCPL)
> was invented, with the intent that the first CPL compiler would be
> written in BCPL.
>
> CPL never amounted to much -- I don't know whether it was ever
> implemented at all -- but BCPL developed a following.

Trivia:  BCPL was the _first_ programming language to use 'curly braces'
to group statements.  It also used '//' to indroduce a 'single-line comment'.

>Someone
> (at Bell Labs?) 

Ken Thompson, 1969

> produced a derivative called B, from which a few
> researchers at Murray Hill derived C.

Mostly one.  Dennis Ritchie, circa 1972.  Brian Kernighan contributed, 
and Ken stuck his oar in occasionally.

>Thus the question:  should
> the next language in the series be named D (next alphabetically)
> or P (next letter of BCPL)?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: History of C (Re: Why do you use a devil as a mascot?)

2010-11-14 Thread Sergio de Almeida Lenzi


> 
> CPL never amounted to much -- I don't know whether it was ever
> implemented at all -- but BCPL developed a following.  Someone
> (at Bell Labs?) produced a derivative called B, from which a few
> researchers at Murray Hill derived C.  Thus the question:  should
> the next language in the series be named D (next alphabetically)
> or P (next letter of BCPL)?

Wow!!!  I had forgotten... I have done some projects using BCPL... in a
mainframe (S370) running
MVS in the 70's...
it was lightning fast. we had made a kind of TSO (time sharing option)
that runs on top
of VTAM, to bring "online compile and run" cobol programs to the
desktop...   
while a batch work responds  in 3 hours, a TSO (written in bcpl)
responds in seconds...

Thanks for remember the "good old days" ...
it is still active!!! => http://www.cl.cam.ac.uk/~mr10/BCPL.html


Sergio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"