The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Clem Cole <clemc@ccc.com>
To: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Cc: TUHS main list <tuhs@tuhs.org>
Subject: [TUHS] Re: Was curses ported to Seventh Edition Unix?
Date: Sat, 25 May 2024 12:14:10 -0400	[thread overview]
Message-ID: <CAC20D2Nmqeb1_jfWQVko-vKVpXQ2yDDz00qDiKEt-=qxaoK+FQ@mail.gmail.com> (raw)
In-Reply-To: <CAC20D2N0xZCr_Fwe8Z77gELa3D59ROqg9LFUuZWOkhvxrjPJYQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4300 bytes --]

Ouch -- there was no licensing issue with curses or termcap.

termcap and curses were written at UCB.

When MaryAnn went to Columbus - there was  desire to rewrite to be
"compiled".  That work was terminfo.    AT&T >>restricted<< terminfo.
Pavel (with coaching from a few of us, including me], wrote a  new
implementation of terminfo.
When he was added it, he combined a rewrite of curses.

Clem
ᐧ

On Sat, May 25, 2024 at 12:06 PM Clem Cole <clemc@ccc.com> wrote:

> Ken was working in Ing70 [he was part of the Ingres group] - IngVax did
> not yet exist,
> ᐧ
> ᐧ
>
> On Sat, May 25, 2024 at 11:57 AM G. Branden Robinson <
> g.branden.robinson@gmail.com> wrote:
>
>> Hi Clem,
>>
>> At 2024-05-25T11:40:13-0400, Clem Cole wrote:
>> > It was never needed to be ported -- it was developed on V7.
>> > It was released in comp.sources.unix volume1 as pcurses
>>
>> This bit conflicts with other accounts.  Here's what I have in draft.
>>
>> HISTORY
>>      4BSD (1980) introduced curses, implemented largely by Kenneth
>>      C. R. C. Arnold, who organized the terminal abstraction and screen
>>      management features of Bill Joy’s vi(1) editor into a library.
>>      That system ran only on the VAX architecture; curses saw a port to
>>      2.9BSD (1983) for the PDP‐11.
>>
>>      System V Release 2 (SVr2, 1984) significantly revised curses and
>>      replaced the termcap portion thereof with a different API for
>>      terminal handling, terminfo.  System V added form and menu
>>      libraries in SVr3 (1987) and enhanced curses with color support in
>>      SVr3.2 later the same year.  SVr4 (1989) brought the panel library.
>>
>> pcurses by distinction was, by the accounts I have, a later effort by
>> Pavel Curtis to clone SVr2 curses by taking BSD curses and replacing its
>> termcap bits with a reimplementation terminfo.  This was apparently done
>> for licensing reasons, as BSD code was free ("as in freedom") and System
>> V certainly was not.
>>
>> The pcurses 0.7 tarball I have contains a document, doc/manual.tbl.ms,
>> which starts as follows.  Note the 2nd and 3rd paragraphs.
>>
>> .po +.5i
>> .TL
>> The Curses Reference Manual
>> .AU
>> Pavel Curtis
>> .NH
>> Introduction
>> .LP
>> Terminfo is a database describing many capabilities of over 150
>> different terminals.  Curses is a subroutine package which
>> presents a high level screen model to the programmer, while
>> dealing with issues such as terminal differences and optimization of
>> output to change one screenfull of text into another.
>> .LP
>> Terminfo is based on Berkeley's termcap database, but contains a
>> number of improvements and extensions.  Parameterized strings are
>> introduced, making it possible to describe such capabilities as
>> video attributes, and to handle far more unusual terminals than
>> possible with termcap.
>> .LP
>> Curses is also based on Berkeley's curses package, with many
>> improvements.  The package makes use of the insert and delete
>> line and character features of terminals so equipped, and
>> determines how to optimally use these features with no help from the
>> programmer.  It allows arbitrary combinations of video attributes
>> to be displayed, even on terminals that leave ``magic cookies''
>> on the screen to mark changes in attributes.
>>
>> > That said, I believe late volumes have nervous updates.
>>
>> I'm gathering data for another paragraph of that "History" section now.
>> The long and short of it seems to be that:
>>
>> BSD curses, besides getting ported to many platforms, begat pcurses.
>>
>> pcurses begat PCCurses, PDCurses, and ncurses.
>>
>> PCCurses died.
>>
>> PDCurses went dormant, begat PDCursesMod, and roused from its slumber.
>>
>> ncurses, after a long period of erratic early administration that seemed
>> more concerned with seizing celebrity status for its developers (one of
>> whom was more single-minded and successful at this goal than the other)
>> than with software development, has been maintained with a steady hand
>> over 25 years.
>>
>> There also exists NetBSD curses, which wasn't developed ex nihilo but
>> I'm not sure yet what origin it forked from.
>>
>> Regards,
>> Branden
>>
>

[-- Attachment #2: Type: text/html, Size: 6830 bytes --]

  parent reply	other threads:[~2024-05-25 16:14 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-25  0:03 [TUHS] " G. Branden Robinson
2024-05-25  0:46 ` [TUHS] " Clem Cole
2024-05-25  0:57   ` G. Branden Robinson
2024-05-25 10:48 ` Jonathan Gray
2024-05-25 11:08   ` Arrigo Triulzi via TUHS
2024-05-25 12:16   ` Clem Cole
2024-05-25 23:06     ` Rob Pike
2024-05-25 15:06   ` [TUHS] " Douglas McIlroy
2024-05-25 15:11     ` [TUHS] " Rich Salz
2024-05-25 15:40       ` Clem Cole
2024-05-25 15:43         ` Clem Cole
2024-05-25 15:51         ` Clem Cole
2024-05-25 15:57         ` G. Branden Robinson
2024-05-25 16:06           ` Clem Cole
2024-05-25 16:13             ` G. Branden Robinson
2024-05-25 16:21               ` Clem Cole
2024-05-25 16:38                 ` G. Branden Robinson
2024-05-25 17:02                   ` Warner Losh
2024-05-25 16:14             ` Clem Cole [this message]
2024-05-25 16:25               ` G. Branden Robinson
2024-05-25 18:07               ` Adam Sampson
2024-05-27 18:31                 ` Mary Ann Horton
2024-05-25 15:28     ` G. Branden Robinson
2024-05-25 17:24 Steve Simon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAC20D2Nmqeb1_jfWQVko-vKVpXQ2yDDz00qDiKEt-=qxaoK+FQ@mail.gmail.com' \
    --to=clemc@ccc.com \
    --cc=g.branden.robinson@gmail.com \
    --cc=tuhs@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).