The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] 8th Edition Research Unix on SIMH
@ 2017-03-29  0:49 Noel Chiappa
  2017-03-29  1:02 ` Grant Taylor
  2017-03-29  2:44 ` [TUHS] 8th Edition Research Unix on SIMH Tim Newsham
  0 siblings, 2 replies; 34+ messages in thread
From: Noel Chiappa @ 2017-03-29  0:49 UTC (permalink / raw)


    > From: Tim Newsham

    > Would be great if someone scripted it up to make it dog-simple.

But if people just have to press a button (basically), they won't learn
anything. I guess I'm not understanding the point of the exercise? To say they
have V6 running? So what? All they did was press a button. If it's to
experience a retro-computing environment, well, a person who's never used one
of these older systems is going to be kind of lost - what are they going to
do, type 'ls -ls' and look at the output? Not very illuminating. (On V6,
without learning 'ed', they can't even type in a small C program, and compile
and run it.) Sorry, I don't mean to be cranky, but I'm not understanding the
point.

	Noel


^ permalink raw reply	[flat|nested] 34+ messages in thread
* [TUHS] 8th Edition Research Unix on SIMH
@ 2017-04-27  1:04 Norman Wilson
  2017-04-27  1:26 ` Kurt H Maier
  0 siblings, 1 reply; 34+ messages in thread
From: Norman Wilson @ 2017-04-27  1:04 UTC (permalink / raw)


Tim Newsham:

  I'm not sure what fd 3 is intended to be, but its the telnet socket in p9p.

====

By the 10/e days, file descriptor 3 was /dev/tty.  There was
no more magic driver for /dev/tty; the special file still
existed, but it was a link to /dev/fd/3.

Similarly /dev/stdin stdout stderr were links to /dev/fd/0 1 2.

(I mean real links, not mere symbolic ones.)

I have a vague recollection that early on /dev/tty was fd/127
instead, but that changed somewhere in the middle 8/e era.

None of which says what Plan 9 did with that file descriptor,
though I suppose it could possibly have copied the /dev/tty
use.

And none of that excuses the hard-coded magic number file
descriptor, but hackers will be hackers.

Norman Wilson
Toronto ON


^ permalink raw reply	[flat|nested] 34+ messages in thread
* [TUHS] 8th Edition Research Unix on SIMH
@ 2017-03-31 22:31 Nelson H. F. Beebe
  0 siblings, 0 replies; 34+ messages in thread
From: Nelson H. F. Beebe @ 2017-03-31 22:31 UTC (permalink / raw)


I was pleased to see the announcement from David du Colombier
<0intro at gmail.com> of a SIMH VAX image for the newly-released 8th
Edition Research Unix, and I had it downloaded and running in short
order.

I compiled and ran the traditional hello-world test in C,
successfully, but the C++ and Fortran companions would not link:

        # cat hello.cpp
        #include <stream>

        int 
        main(void)
        {
          cout << "Hello, world...this is C++" << endl;
          return (0);
        }

        # CC hello.cpp
        cc    hello.cpp -lC
        ld:hello.cpp: bad magic number

I also tried extensions .C, .cxx, and .cc, with the same error.

With Fortran, I get 

        # cat hello.f
              print *,'hello ... This is a Fortran 77 program!'
              end

        # f77 hello.f
        hello.f:
           MAIN:
        Undefined:
        __bufendtab
        _setvbuf

The missing symbols do not appear to be defined anywhere in /lib or
/usr/lib, suggesting that some V8 libraries have been lost.

David reports privately that he sees the same issues that I see.

Can anyone on this list identify the problem?  Normally, Unix
compilers should supply the necessary libraries for
standard-conforming code, and f77 would silently add -lI77 and -lF77.

The C++ compiler issue seems to be quite different: adding the -v
(trace) option shows what it does:

	# CC -v hello.cpp
	cc    -v hello.cpp -lC
	+ ld -X /lib/crt0.o hello.cpp -lC -lc 
	ld:hello.cpp: bad magic number

The source code, rather than the object code, is passed to the loader.
This may have to do with the choice of extension: what did early C++
compilers expect for filenames?

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe at math.utah.edu  -
- 155 S 1400 E RM 233                       beebe at acm.org  beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 34+ messages in thread
* [TUHS] 8th Edition Research Unix on SIMH
@ 2017-03-30 11:47 Jason Stevens
  0 siblings, 0 replies; 34+ messages in thread
From: Jason Stevens @ 2017-03-30 11:47 UTC (permalink / raw)


Thanks for the hints, and whatnot... I got v8 running!

> ----------
> From: 	Tim Newsham
> Sent: 	Wednesday, March 29, 2017 7:50 AM
> To: 	David du Colombier
> Cc: 	The Eunuchs Hysterical Society
> Subject: 	Re: [TUHS] 8th Edition Research Unix on SIMH
> 
> Would be great if someone scripted it up to make it dog-simple.
> Here's how I did it for v6:  http://www.thenewsh.com/~newsham/myv6/README
> (I should do this, but I'm not sure I'll have time in the near future).
> 
> On Tue, Mar 28, 2017 at 8:58 AM, David du Colombier < 0intro at gmail.com>
> wrote:
> 
> 
> 	Here are my notes to run 8th Edition Research Unix on SIMH.
> 
> 	http://9legacy.org/9legacy/doc/simh/v8
> 
> 	These notes are quite raw and unpolished, but should be
> 	sufficient to get Unix running on SIMH.
> 
> 	Fell free to use, improve and share.
> 
> 	--
> 	David du Colombier
> 
> 
> 
> 
> 
> -- 
> 
> Tim Newsham | www.thenewsh.com/~newsham | @newshtwit |
> thenewsh.blogspot.com
> 


^ permalink raw reply	[flat|nested] 34+ messages in thread
* [TUHS] 8th Edition Research Unix on SIMH
@ 2017-03-29  1:45 Noel Chiappa
  2017-03-29  1:57 ` Steve Nickolas
  2017-03-29  4:11 ` Grant Taylor
  0 siblings, 2 replies; 34+ messages in thread
From: Noel Chiappa @ 2017-03-29  1:45 UTC (permalink / raw)


    > From: Grant Taylor

    > However, I've had to teach enough people to know that they need a way to
    > boot strap themselves into an environment to start learning.

Right, but wouldn't they learn more from a clear and concise hand-holding
which explains what they are doing and why - 'do this which does that to get
this'?

There is no more a royal road to knowing a system, than there is to
mathematics.

    > I do consider what (I believe) Warren put together for the UUCP project
    > to be a very good start.  Simple how to style directions that are easy
    > to follow that yield a functional system.

Exactly....

	Noel


^ permalink raw reply	[flat|nested] 34+ messages in thread
* [TUHS] 8th Edition Research Unix on SIMH
@ 2017-03-28 18:58 David du Colombier
  2017-03-28 19:32 ` Cory Smelosky
                   ` (3 more replies)
  0 siblings, 4 replies; 34+ messages in thread
From: David du Colombier @ 2017-03-28 18:58 UTC (permalink / raw)


Here are my notes to run 8th Edition Research Unix on SIMH.

http://9legacy.org/9legacy/doc/simh/v8

These notes are quite raw and unpolished, but should be
sufficient to get Unix running on SIMH.

Fell free to use, improve and share.

-- 
David du Colombier


^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2017-04-27  1:26 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-29  0:49 [TUHS] 8th Edition Research Unix on SIMH Noel Chiappa
2017-03-29  1:02 ` Grant Taylor
2017-03-29 10:41   ` Steffen Nurpmeso
2017-03-29 11:19     ` [TUHS] Release of 8th, 9th and 10th Editions Unix (was: Re: 8th Edition Research Unix on SIMH) Steffen Nurpmeso
2017-03-29  2:44 ` [TUHS] 8th Edition Research Unix on SIMH Tim Newsham
  -- strict thread matches above, loose matches on Subject: below --
2017-04-27  1:04 Norman Wilson
2017-04-27  1:26 ` Kurt H Maier
2017-03-31 22:31 Nelson H. F. Beebe
2017-03-30 11:47 Jason Stevens
2017-03-29  1:45 Noel Chiappa
2017-03-29  1:57 ` Steve Nickolas
2017-03-29  4:11 ` Grant Taylor
2017-03-28 18:58 David du Colombier
2017-03-28 19:32 ` Cory Smelosky
2017-03-28 23:50 ` Tim Newsham
2017-04-25  3:16   ` Tim Newsham
2017-04-25 20:34     ` David du Colombier
2017-04-26  3:50     ` Cory Smelosky
2017-03-29  1:06 ` Henry Bent
2017-03-29  1:19   ` Cory Smelosky
2017-03-29  1:35     ` Henry Bent
2017-03-30 14:16 ` David du Colombier
2017-03-30 18:30   ` David du Colombier
2017-03-31  5:05     ` Michael Kerpan
2017-03-31  5:36       ` Kurt H Maier
2017-03-31 14:41         ` Michael Kerpan
2017-04-26  3:05       ` Tim Newsham
2017-04-26  5:53         ` Noel Hunt
2017-04-26  6:10           ` Tim Newsham
2017-04-26 23:49         ` Tim Newsham
2017-04-26 22:45     ` Tim Newsham
2017-04-26 23:02       ` Arthur Krewat
2017-04-26 23:21         ` Dave Horsfall
2017-04-26 23:07       ` Kurt H Maier

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).