On 2017-02-09 20:55, corey(a)lod.com (Corey Lindsly) wrote:
>
>> In spite of that, I'm typing away to you all, I'm 3ms away from 8.8.8.8
>> (Google's dns server). Go wireless. It's pretty remarkable to be here
>> and have decent net connectivity.
>>
>> I do not yearn for the days of SLIP.
>> --
>> ---
>> Larry McVoy lm at mcvoy.comhttp://www.mcvoy.com/lm
> 3ms? Really? I'm impressed, and I'd like to see your traceroute. We peer
> directly with Google and I get 4-5ms. Do share.
Meh. From Uppsala in Sweden I seem to have about 2ms ping time to 8.8.8.8...
Psilocybe:update/bqt> ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=56 time=2.10 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=56 time=1.93 ms
64 bytes from 8.8.8.8: icmp_req=3 ttl=56 time=2.05 ms
64 bytes from 8.8.8.8: icmp_req=4 ttl=56 time=1.89 ms
64 bytes from 8.8.8.8: icmp_req=5 ttl=56 time=2.02 ms
64 bytes from 8.8.8.8: icmp_req=6 ttl=56 time=2.05 ms
64 bytes from 8.8.8.8: icmp_req=7 ttl=56 time=2.00 ms
64 bytes from 8.8.8.8: icmp_req=8 ttl=56 time=1.97 ms
64 bytes from 8.8.8.8: icmp_req=9 ttl=56 time=2.03 ms
64 bytes from 8.8.8.8: icmp_req=10 ttl=56 time=2.10 ms
^C
--- 8.8.8.8 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9011ms
rtt min/avg/max/mdev = 1.894/2.020/2.108/0.067 ms
Psilocybe:update/bqt> traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
1 r1.n.it.uu.se (130.238.19.254) 1.986 ms 2.324 ms 2.717 ms
2 l-uu-1-b1.uu.se (130.238.6.251) 0.288 ms 0.680 ms 0.646 ms
3 uu-r1.sunet.se (130.242.6.148) 0.686 ms 0.685 ms 0.673 ms
4 uppsala-upa-r1.sunet.se (130.242.4.138) 0.672 ms 0.661 ms 0.657 ms
5 stockholm-fre-r1.sunet.se (130.242.4.26) 3.503 ms 3.468 ms 3.483 ms
6 se-fre.nordu.net (109.105.102.9) 24.456 ms 24.532 ms 24.153 ms
7 se-kst2.nordu.net (109.105.97.27) 1.934 ms 1.902 ms 1.891 ms
8 as15169-te-tc1.sthix.net (192.121.80.47) 2.204 ms 2.189 ms
72.14.196.42 (72.14.196.42) 1.872 ms
9 216.239.40.29 (216.239.40.29) 1.862 ms 1.941 ms 216.239.40.27
(216.239.40.27) 1.995 ms
10 209.85.251.233 (209.85.251.233) 2.398 ms 209.85.245.61
(209.85.245.61) 2.778 ms 72.14.234.85 (72.14.234.85) 2.385 ms
11 google-public-dns-a.google.com (8.8.8.8) 2.372 ms 2.366 ms 2.337 ms
Johnny
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt(a)softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
> Lots of commands are now little shells
...
> Linux today is much more like the systems
> Unix displaced than it is like Unix
So depressingly true!
Doug
Thanks a lot for the tip Paul. It's great that others are working in
this area. Although I must say that as a kind of a "historian" I try
to go to primary sources where possible. Although I had already
converted a fair bit of code in the manner you describe, I am actually
re-converting a fair bit of it since I now have a semi-automated
system for doing so, that way I get pretty consistent results that
aren't reliant on ad-hoc decisions made during porting. Well, good
judgement is still needed, but I have a set of mental algorithms for
fixing exactly the kinds of questionable constructs you describe,
which lead to pretty consistent results. Using my scripts I converted
bin, usr.bin and lib of 4.3BSD in a few weeks, although a fair bit of
that time was spent on "bin/as" and "bin/sh" and "bin/csh" and other
pathological cases. When I have time I will proceed to ucb. I did all
subdirectories of bin (things like sed which are multi-module
programs) but not usr.bin yet.
So what I'll probably do when I get to looking at LSX is to re-convert
and then compare against your work, since either of us could quite
well have found questionable constructs missed by the other. Also,
earlier today I was looking at Noel's page about improving V6:
http://mercury.lcs.mit.edu/~jnc/tech/ImprovingV6.html
Anyway, I'm much more of a V7 guy and I think I would find V6 strange
and compromised, so I am thinking I will definitely have to apply some
of these patches, or at least check how much they increase the code
size by. At the very least, lseek() and mdate() have to go in, I'm not
sure about stdio since having a suite of the standard commands that
don't use stdio and hence are smaller/slower might be OK. But probably
my preferred approach is to calculate a patch V6 -> Mini Unix or V6 ->
LSX and then try to apply that on top of V7. Hmm.
As to moving to a V7 kernel and then adding TCP/IP I'm not sure if
this is adviseable, as I was saying earlier I think it might be best
to keep that functionality outboard from the kernel. The question in
my mind is (1) does the Mini Unix / LSX system have to be a fully
participating node on the network or can it be a leaf node without any
routing, and (2) does it have to respond to ping or incoming
connections at any time. Since my scenario is a simple SLIP link to my
home server, (1)=No for me. As to (2), I see two scenarios, (a) the
machine is used as a development machine, where I run "ed" and "cc"
and so on, and occasionally "ftp" or "rcp" as a client only, or (b)
the machine is used as a remote node for something like say data
logging or web serving, where it runs the same application all the
time, and I connect to it to retrieve results and/or download software
updates. In case (a) there are only outgoing connections. In case (b)
there are incoming connections, but the machine runs the same
application all the time, so there's no disadvantage to having TCP in
userspace. I don't envisage a more complicated scenario where it runs
inetd in the background and a console in the foreground, due to RAM
limits.
cheers, Nick
On Thu, Feb 9, 2017 at 12:56 AM, Paul Ruizendaal <pnr(a)planet.nl> wrote:
> Nick,
>
> If you want to work with LSX, you might have a look at the LSX port I did for the TI990 mini computer: http://1587660.websites.xs4all.nl/cgi-bin/9995/dir?ci=1c38b1fc8792c80b&name…
> It is a further development from the work that was done for BKUNIX by Leonid Broukhis (https://sourceforge.net/p/bkunix/code/HEAD/tree/)
>
> You get stuff converted to a dialect of C acceptable by modern compilers, and some kludges like using 'char*' for 'unsigned' and 'int a[2]' for 'long a' are cleaned up.
>
> The repository also has a V6 kernel with similar clean up and some V7 compatibility ('lseek' instead of 'seek', etc.). My next step would be to move to a V7 kernel and add TCP/IP capability. This is how I got interested in the history of sockets and TCP/IP. I have found that the BSD stack (as found in e.g. ULTRIX-11) will not fit in 64KB (note: just the network stack). The BBN stack appears to fit in 56KB, with 15KB of buffers available; I think it could be integrated with a V7 kernel as a second kernel process.
>
> Paul
>
> On 8 Feb 2017, at 12:21 , Nick Downing wrote:
>
>> Yes, NetBSD and 386BSD are interesting. They could well form a good
>> basis for a minimal but fully functional OS for a modern platform. One
>> reservation I have though, is as follows: When 386BSD and its
>> derivatives like OpenBSD, NetBSD, FreeBSD came out, Unix was still
>> encumbered and thus they had to be based on 4.4BSD Lite (not even
>> NET/2 was safe). Nobody made an unencumbered version of say 4.3BSD or
>> even NET/2, even though it was theoretically possible, by examining
>> what had to be taken out/added to produce 4.4BSD Lite.
>>
>> Given that Unix is now unencumbered I believe there is no point
>> adopting 4.4, or even 4.3Reno, because the main thing done in those
>> releases as far as I know, is to add partial POSIX compliance. But if
>> you want POSIX compliance you will not achieve minimality. As an
>> example consider the BSD sigvec() routine. POSIX calls this
>> sigaction(), the old SV_ONSTACK flag becomes SA_ONSTACK, the old
>> integer mask becomes a sigset_t and so on... and in any reasonable
>> POSIX compliant BSD the two calls are gonna have to coexist, etc.
>>
>> As to 32V, I appreciate your idea, as I was having some similar
>> thoughts myself. However I personally wouldn't use 32V as a basis for
>> any serious porting work, because I would assume V7 and 4.3 are much
>> more stable and well tested, since they ran in a lot of installations
>> over a long time. That's not to denigrate the huge achievement in
>> porting V7 to the VAX and producing 32V, but it probably has some
>> rough edges that were smoothed out over time to produce the 4BSDs. The
>> situation is a bit different for kernel/toolchain/other userspace.
>>
>> As to the kernel I have been trying to make a detailed comparison
>> between 32V and the BSDs, but have been a bit put off by the fact that
>> all files moved around and may have been renamed, I will figure it all
>> out eventually though. As to the toolchain I have compared it quite
>> carefully with 4.3BSD, and I conclude you should use the later
>> toolchain as there is no disadvantage and some advantages to doing so.
>> As to the rest of the userspace, I BELIEVE that it's stock V7 with any
>> 32-bit issues fixed, but I suspect somewhat hastily and superficially.
>>
>> Producing a 32V-like kernel from 4.3BSD sources would probably be
>> quite difficult, it would be relatively easy to disable added system
>> calls, but harder to disable things like setpgrp() or the associated
>> support in the TTY drivers. More seriously the memory management would
>> have to change, I am planning however to make virtual memory optional
>> in the 4.3BSD kernel, by maybe putting the 32V code back in, protected
>> by #ifndef VM or some such (somewhat like Steven Schultz has done in
>> porting 4.3BSD to PDP-11 to produce 2.11BSD).
>>
>> On the other hand producing a 32V-like userland from the 4.3BSD
>> sources would be pretty easy, I think just delete the sources for any
>> executables that weren't distributed with 32V and possibly, if any of
>> the tools seem particularly bloated, comment out any command line
>> switches or features that weren't in 32V. Going to this level of
>> effort would likely be pointless though. Another option would be
>> taking V7 and re-porting it (except the toolchain) over to a 32-bit
>> environment and kernel. I have developed over the past months, tools
>> that make this relatively straightforward, and in the process would
>> rediscover any 32-bit issues that were fixed in creating 32V. So I
>> wouldn't use 32V.
>>
>> On a slightly different tack, I also have been for some time
>> investigating the idea of an Apple II port of Unix, there are massive
>> technical issues to be solved, but I think I got a bit closer the
>> other night when I decided to collect all information and resources I
>> could find about Mini-Unix and LSX (LSI Unix). Both are
>> self-supporting V6-based environments, the compiler can only compile
>> small programs but it is nonetheless possible for each Unix to
>> recomple itself. LSX I believe could run from floppies (dunno about
>> 140K floppies) in less than 64K.
>>
>> So, you know, true minimality is a relative term. We want something
>> LSX-like for an Apple II, something 2.11BSD-like for an IBM PC/XT or
>> 286 (as Peter Jeremy noted, it's a good fit, and I'd be interested to
>> know more), something 4.3BSD-like for a VAX or 386... something a bit
>> more fully featured for a modern 64-bit multi-gigabyte system... but
>> just not as bloated as what we currently rely on. Hmm well it's hard.
>> What I do know, is that I have a lot of old hardware with <16M RAM and
>> Linux won't run on it anymore, and this annoys me very greatly.
>>
>> In talking about FreeBSD/Linux bloat I forgot to mention the packet
>> filter, iptables (Linux) or pf (FreeBSD). I have a bit of experience
>> with this, since I regularly used to put 2 Ethernet cards in my home
>> server and make it Internet facing through one of them and share the
>> connection using NAT through the other card. But I've come to the
>> conclusion this is stupid, and moreover, that putting a complete
>> mini-language into the kernel just for this purpose is utterly stupid.
>> Programming the thing from userspace is incredibly intricate, and all
>> this complexity serves no purpose.
>>
>> I recently found out about SLIRP (userspace packet rewriting) and I
>> think this would be a good way to implement NAT on servers or routers
>> that actually need to do NAT -- just make a userspace process that
>> runs something SLIRP-like and has a raw socket to the second Ethernet
>> card, and Bob's your uncle.
>>
>> But this got me thinking along pretty productive lines in terms of the
>> tiny Apple II port -- I have been wanting to put the 2.11BSD network
>> stack into an Apple II for a long time, but I've now realized this is
>> not necessary. A much better approach for those Mini-Unix or LSX or
>> even V7 systems, would be to have a userspace library that does SLIP
>> and contains its own TCP, UDP, IP drivers, resolver and so on. Then if
>> you run a userspace program like say, ftp, which is linked to the
>> userspace TCP library, it would basically just open /dev/ttyXX, bring
>> up the SLIP link itself, do any necessary downloads etc, then close
>> the TTY and stop responding to any IP stuff coming over the SLIP link
>> whilst you quit to the prompt, until another program reopens it.
>>
>> cheers, Nick
>>
>> On Wed, Feb 8, 2017 at 2:56 PM, Jason Stevens
>> <jsteve(a)superglobalmegacorp.com> wrote:
>>> What about NetBSD 1.1 or even 386BSD?
>>>
>>> There never was a 4.2 or 4.3 for i386 was there?
>>>
>>> I'd guess the 32v userland could be built on early 4.4BSD Lite/NET2 greatly
>>> reducing its footprint.
>>>
>>>
>>>
>>>
>>> On February 8, 2017 11:47:03 AM GMT+08:00, Nick Downing
>>> <downing.nick(a)gmail.com> wrote:
>>>>
>>>> This is an issue that interests me quite a bit, since I was running
>>>> FreeBSD in an effort to get around Linux bloat problems discussed.
>>>> Well not that I really mind Linux as a user interface / runtime
>>>> environment / main development machine, but I think it probably
>>>> shouldn't be used as a "least common denominator" for development
>>>> since you end up introducing unwanted dependencies on a whole lot of
>>>> stuff.
>>>>
>>>> So I was running FreeBSD as a more minimal *nix. I did quite a lot of
>>>> interesting stuff with FreeBSD such as setting up diskless
>>>> workstations in my home, etc. I spent a lot of time tinkering around
>>>> in the kernel code. I was planning to do some serious development on
>>>> 4.4BSDLite or FreeBSD to create an operating system more to my liking.
>>>> So, I was looking carefully at differences since ancient *nixes.
>>>>
>>>> And, I can say that FreeBSD is pretty bloated. Umm well they've added
>>>> SMP, at the time it was using the Giant Lock although that could be
>>>> fixed by now. They've added VFS and NFS of course. They've added an
>>>> entire subsystem for block devices IIRC that handles partitioning and
>>>> possibly some other sophisticated stuff, which I believe is their own
>>>> design. Umm the kqueues and I believe they have their own
>>>> implementation of kernel threading or lightweight processes including
>>>> some sort of idle daemon. The network stack is heavily upgraded, to
>>>> the extent I looked into it, the added features are things you would
>>>> want (syncookies = DOS protection, etc) but also could not possibly be
>>>> called minimal, and would preclude running it on other than a
>>>> multi-megabyte machine. They have multiple ABIs so the kernel can
>>>> accept Linux or BSD syscalls or whatever else (I used it to run
>>>> Acrobat Reader Linux on my FreeBSD desktop). Umm I am pretty sure they
>>>> have kernel modules ala Linux. Lots and lots and lots of stuff... and
>>>> that's only considering the kernel. If you look in the ports
>>>> collection you see they have incredible amounts of bloat there too...
>>>> for instance GNOME, Libreoffice, LATEX, gcc, python... not that I'm
>>>> denigrating these tools, since they do invaluable work and I use them
>>>> every day, but the point is, you CANNOT call them minimal.
>>>>
>>>> The quest for a clean minimal system goes on ->. FreeBSD is not the
>>>> answer. In fact I believe 4.3BSD-Reno and 4.4 go strongly offtrack.
>>>>
>>>> cheers, Nick
>>>>
>>>> On Wed, Feb 8, 2017 at 1:55 PM, Greg 'groggy' Lehey <grog(a)lemis.com>
>>>> wrote:
>>>>>
>>>>> On Tuesday, 7 February 2017 at 15:38:40 -0800, Steve Johnson wrote:
>>>>>>
>>>>>> Looking back, the social dynamics of the Unix group helped a lot in
>>>>>> keeping the bloat small. The rule was, whoever touches something
>>>>>> last becomes its owner. Of course, we were all free to complain
>>>>>> about things, and did, but the amalgamation of tinkerings that
>>>>>> characterizes most of the Linux commands just didn't happen.
>>>>>
>>>>>
>>>>> Out of interest: where do you (or others) consider that the current
>>>>> BSD projects it in this comparison?
>>>>>
>>>>> Greg
>>>>> --
>>>>> Sent from my desktop computer.
>>>>> Finger grog(a)lemis.com for PGP public key.
>>>>> See complete headers for address and phone numbers.
>>>>> This message is digitally signed. If your Microsoft mail program
>>>>> reports problems, please read http://lemis.com/broken-MUA
>>>
>>>
>>> --
>>> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>
DEL, sometimes labeled RUBOUT has a very important feature. It's all ones. When punching a paper tape, if you make a mistake you can mechanically backspace the tape (there's a button on the punch rather than the actual backspace key), you can then press RUBOUT which overpunches the incorrect character. Presumably, whatever system that this was designed for disregards those characters when encountered.
Amusingly, we though the HERE IS key was just to generate leaders because none of our teletypes had the drum programmed. Later I found out that you could break the tabs on the drum and have HERE IS send a short string of characters. ^E (called ENQ or sometimes WRU ...for who are you) triggers this to be sent in response.
To get back to the UNIX tie in, I actually had for years a Model 37 teletype. This was one of the few terminals that you didn't have to set the nl mode mapping for. It had a large key marked NEWLINE where RETURN usually is and sent ^J (\n) and responded to it the way UNIX expected. In addition it handles all the ESC-8 ESC-9 etc... codes that nroff sent by default without needing a filter. Mine was an ASR so it had the tape unit. It lacked the "greek box" that the one at JHU had to print greek characters after an ^N (shift in). The thing was amusing as it didn't turn on the motor until the modem came ready and when carrier detect was asserted a big green PROCEED light lit on the front.
It was quaint, but when I finally got a higher speed modem, I switched back to using a CRT. The Model 37 was a screaming 150 baud.
I finally "donated" it to RS who dumped the thing behind someone's car somewhere.
> From: Michael Kjorling
> That wouldn't have anything to do with how ^@ is a somewhat common
> representation of 000, would it? .. I've always kind of wondered where
> that notation came from.
Well, CTRL-<*> is usually just the <*> character with the high bits cleared.
So, to have a printing representation of NULL, you have two character choices
- SPACE, and '@'. Printing "^ " is not so hot, so "^@" is better.
Also, if you look at an ASCII table, usually people just take the @-_ column,
and use that, since every character in that column has a printing
representation. The ' '-? column is missing the ' ', and `-<DEL> is missing
the DEL. So if you just take a CTRL character and set the 0100 bit, and print
it as "^<char>", you get something readable.
(Note that CTRL-' ' _is_ usually used when one needs to _input_ a NUL
character.)
Noel
Inspired by:
> Stephen Bourne after some time wrote a cron job that checked whether an
> update in a binary also resulted in an updated man page and otherwise
> removed the binary. This is why these programs have man pages.
I want to tell a story about working at Sun. I feel like I've sent this
but I can't find it in my outbox. If it's a repeat chalk it up to old
age.
I wanted to work there, they were the Bell Labs of the day, or as close
as you could get.
I got hired as a contractor through Lachman (anyone remember them?) to do
POSIX conformance in SunOS (the 4.x stuff, not that Solaris crap that I
hate).
As such, I was frequently the last guy to touch any file in the kernel,
my fingerprints were everywhere. So when there was a panic, it was
frequently laid at my doorstep.
So here is how I got a pager and learned about source management.
Sun had two guys, who will remain nameless, but they were known as
"the SCSI twins". These guys decided, based on feedback that "people
can interrupt sun install", to go into the SCSI tape driver and disable
SIGINT, in the driver. The kernel model doesn't allow for drivers messing
with your signal mask so on exit, sometimes, we would get a "panic: psig".
Somehow, I sure was because of the POSIX stuff, I ended up debugging this
panic. It had nothing to with me, I'm not a driver person (I've written
a few but I pretty much suck at them), but it landed in my lap.
Once I figured it out (which was not easy, you had to hit ^C to trigger it
so unless you did that, and who does that during an install) I tracked down
the code to SCSI twins.
No problem, everyone makes mistakes. Oh, wait. Over the next few months
I'm tracking down more problems, that were blamed on me since I'm all over
the kernel, but came from the twins.
Suns integration machines were argon, radon, and krypton. I wrote
scripts, awk I think, that watched every update to the tree on all
of those machines and if anything came from the SCSI twins the script
paged me.
That way I could go build and test that kernel and get ahead of the bugs.
If I could fix up their bugs before the rest of the team saw it then I
wouldn't get blamed for them.
I wish I could have figured out something like Steve did that would have
made them not screw up so much but this was the next best thing. I actually
got bad reviews because of their crap. My boss at the time, Eli Lamb, just
said "you are in kadb too much".
--lm
> From: Paul Ruizendaal
> The best one seems to have been the 3Com stack, which puts IP in the
> kernel and TCP in a daemon.
I've gotta get the MIT V6 one online.
Incoming demux is in the kernel; all of the TCP, and everything else, is in
processes along with the application - one process per application instance.
It sounds like it might be clunky, but it's not: there are a couple of
different TCP's (a small, low performance one for things like User TELNET,
timer servers, yadda-yadda; a bigger, higher-performance one for things like
FTP), and the application just calls them as subroutine libraries
(effectively). Since there's no IPC overhead, the performance is pretty good.
Unfortumately, a lot of the stuff never migrated from personal directories to
the system folder, so I have to go curate out the personal files (or, more
likely, move them all to a system folder) before I can release it all.
> Perhaps economizing on fragmentation and and window management is
> better.
Fragmentation, perhaps - but good window management is a must.
> I wonder if just putting the code for this state in the kernel and
> handling only the state changes and other states in a daemon is perhaps
> the best split on constrained hardware.
I don't think that's a good idea; cutting the TCP in two parts, which have to
communicate over an interface is going to be _really_ ugly: do you have one
copy of the connection state data (in which case one them has to go through an
interface to get to it), or two (synchronization issues). If you want a small
kernel footprint, take the MIT approach.
Noel
> I'm fairly certain it was originally in BCPL.
>
> You could just drop a note to Bjarne Stroustrup and ask. :-)
On page 44 of _The Design and Evolution of C++_ (Addison-Wesley, 1994), Stroustrup says:
“However, only C, Simula, Algol68, an in one case BCPL left noticeable traces in C++ as released in 1985. Simula gave classes, Algol68 operating overloading, references, and the ability to declare variables anywhere in a block, and BCPL gave // comments.”
He says a bit more about // comments on page 93, including an example of how they introduced an incompatibility with C.
> From: Nick Downing
> I'm much more of a V7 guy and I think I would find V6 strange and
> compromised
De gustibus. I used it for many years, and am quite at home in it. I think
it's a marvel of functionality/size - at the time it came out, not much bigger
than DEC PDP-11 OS's, but with a 'big system' feel to it (which they
_definitely_ did not) - in fact, _better_ than most big systems of the day.
But I can see it would be rather too simple (and in the kernel inelegant,
code-wise, by today's standards - see below) for many. V7 is not that
different, in terms of user experience, from V6, though.
> I am thinking I will definitely have to apply some of these patches, or
> at least check how much they increase the code size by.
Sorry, that page is kind of a mish-mosh. Most of the stuff that's talked about
there is for user commands, not the kernel.
There are only a few kernel changes (lseek() and mdate(), and param.c so that
the new 'si' command can get thing from param.h without having to have it
compiled in), and they are all small.
> But probably my preferred approach is to calculate a patch V6 -> Mini
> Unix or V6 -> LSX and then try to apply that on top of V7.
I'm a little confused as to what your goal is here. Get V6 running on some
other architecture? Upgrade V6 for some goal which I am not aware of? I know
you probably said something in an earlier email, sorry, I don't recall.
Anyway, if you're going to do anything with V6 kernel code, you need to be
aware that it's really idiosyncratic - a lot of its written in a very early
dialect of C, and while things like 'a =+ b' -> 'a += b' and 'int a 1' -> 'int
a = 1' are pretty easy to fix, there are lots of intances of int's being used
as pointers to several different kinds of structures, etc, etc.
If you want to move an early, small Unix to something other than a PDP-11, V7
is probably a much better bet.
> As to moving to a V7 kernel and then adding TCP/IP I'm not sure if this
> is adviseable, as I was saying earlier I think it might be best to keep
> that functionality outboard from the kernel.
There are a couple of early TCP/IP's which ran outside the kernel, but I think
the standard Berkeley one might be a handful to move out.
Noel
> From: Charles Anthony
> Sigh. That tops my Multics bug report.
No way! You actually got the fix approved by an MCB! Much cooler! :-)
> BSD4.1 is circa 1890?
Well, it's old, but not _that_ old!! :-)
Noel
> Hi, we just read the second tape, which read without error.
> ...
> So at this point we have access to everything that was on that machine.
So, in the process of transferring this all to a TAR file, we found a bug in
BSD 4.1b. (The length of some directories whose last sector held only one
entry was being incorrectly set to the actual length of the directory, not a
multiple of the sector size.)
Anyone know where I can report a BSD 4.1b bug? :-)
Noel
PS: Although the Algol-60 isn't there, there is a nice LISP (good enough to
run The Doctor ... :-)
> From: Nick Downing
> is it possible for you to read the other tapes also?
Hi, we just read the second tape, which read without error. It appears to be
mostly the same stuff as the first, except that for some not-now-understood
reason, a lot of the sub-directories in /src/src (the directory that held most
of the sources) weren't there on the _first_ tape, but _are_ there on the
_second_. So at this point we have access to everything that was on that
machine.
It's too long a list to go through, but here:
http://ana-3.lcs.mit.edu/~jnc/tech/pdp11/tmp/csr2_edfiles.txt
is an edited list of the files on the machine. Most of /usr/ has been deleted,
since it contains a lot of personal files, the names of which I don't wish to
make public.
Alas, some of the code (e.g. the much of the MIT TCP/IP) was in some personal
directories; it will take me a while to curate all that.
Also, this machine did not contain everything that was done at MIT: one
particularly saddening lacuna is that the Algol-60 (written for the 'Intro to
programming for CS majors' course, 6.031 to those for whom that means
anything) isn't there, along with its documentation. With that being _such_ an
incredibly influential language, I'd really wanted to see a PDP-11 version
made available.
There's also an APL, and some missing subdirectories in the BCPL source
directory ('henke', 'richards' and 'tenex'). Etc, etc.
I have reached out to people at MIT, to see if a tape backup from the machine
where all that was can be found; I will keep you all posted if anything shows
up.
> I would be particularly interested in the early 8080 compiler
Yes, that's there ('c8080'), but object-only - it may have been something that was
purchased from an outside vendor. There does seem like there might be an 8080-back
end for the BCPL compiler.
Noel
> From: Paul Ruizendaal
> Great! I'd love to take a look at all that.
OK, it'll all be appearing once we have a chance to get organized (it's all
mixed in with personal files).
> That is very interesting. It may be related to the V6 with NCP from
> UoI/DTI.
I think it _is_ the V6 from UoI/DTI. The source has Gary (?) Grossman's and
Steve Holmgren's name on it, and the headers say they date from 1074-75.
> The printout does not have the kernel modifications with it, so it would
> be great if your archive does include that.
The archive does include the complete kernel, but i) the changes aren't listed
in any way (I forsee a lot of 'diffs', unless you just take the entire
kernel), ii) there's a file called 'history' which contains a long list of
general changes/improvements of the kernel not really related to TCP/IP, by a
long list of people, dated from the middle of '78 to the middle of '79. So it
looks like he started with a considerably modified system.
The only client code I see is User Telnet. (The MIT code has User and
Server Telnet and FTP, as well as SMTP, but it uses a wholly different
TCP interface.)
Noel
Side story on Unix related to Xview.
I go to a conference in San Jose for Sun users in the mid 80’s
and am discussing Xview with a few folks (names lost to memory).
A very nice person named Nancy Blackman walks up and joins
the discussion. We get to talking and she has a weird memory
bug and I’m willing to help her look at it. So we go to ‘her place’
which is her lab at Moffet field. We discuss her bug, find a fix
and I go back home to San Diego.
I mention that I met this very nice lady named Nancy Blackman
at the conference to my wife. Turns out my wife went to school
with Nancy before she moved to San Diego.
So, who else has weird stories of how Unix development or
Unix conferences had the side effect of making the world a
smaller place.
If this is too off topic, drop the conversation here.
David
> On Feb 1, 2017, at 1:52 PM, tuhs-request(a)minnie.tuhs.org wrote:
>
> Date: Wed, 1 Feb 2017 13:40:11 -0800
> From: Larry McVoy <lm(a)mcvoy.com>
> To: Noel Chiappa <jnc(a)mercury.lcs.mit.edu>
> Cc: tuhs(a)minnie.tuhs.org
> Subject: Re: [TUHS] shared memory on Unix
> Message-ID: <20170201214011.GG880(a)mcvoy.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Wed, Feb 01, 2017 at 02:44:34PM -0500, Noel Chiappa wrote:
>>> From: "Steve Johnson"
>>
>>> The meetings went on for over a year, but _I NEVER MET WITH THE SAME
>>> PERSON TWICE!_ It seemed that the only thing the marketing group knew
>>> how to do was reorganize the marketing group...
>>
>> Shades of SI:Electric-Marketing (I _think_ that was its name) on the Symbolics
>> LISP Machine...
>>
>> (For those who never had the joy of seeing this, it randomly drew a bunch of
>> boxes with people in them on the screen in a hierarchy, connected them, and
>> then started randomly moving the boxes around... I wonder if the source
>> still exists - or, better yet, a video of it running? Probably not, alas.)
>
> Sun had reorgtool (orgtool) that had all the high up people down to
> directors I think and you pushed a button and it reshuffled them.
> It was a Xview app, anyone remember that toolkit (I sorta miss it).
>
> --lm
I hope this isn't too far off topic here.
I've been meaning to rename the few systems I administer with names
that reference famous (or at least somewhat well-known in the proper
circles) historical UNIX systems, but I have been unable to find any
lists of such names so have no real place to start. About the closest
I _was_ able to find is the ARPANET map[1] of the late 1970s that is
on Wikipedia and is occasionally circulated, but which gives mostly
architecture, location and links, not any system (host) names.
Short of unimaginative things like calling my home router IMP[2] or
things like that, can anyone either suggest names with a bit of
background (where they were, what hardware, what time period, etc.),
or point me toward online resources where I can find lists of those?
[1]: https://en.wikipedia.org/wiki/File:Arpanet_logical_map,_march_1977.png
[2]: https://en.wikipedia.org/wiki/Interface_Message_Processor
--
Michael Kjörling • https://michael.kjorling.se • michael(a)kjorling.se
“People who think they know everything really annoy
those of us who know we don’t.” (Bjarne Stroustrup)
> From: Mark Hare <markhare(a)buffalo.edu>
> I believe I have found the problem.
Excellent!
> Looking at the DL11-W, I saw that there is an uncovered trace on the
> circuit board just below the pins of the BERG connector. It appears
> that the exposed conductor ends of the cable were making contact with
> this trace, which shorted the entire cable together.
Shorting any set of DL11-W pins together still shouldn't have caused that
symptom, AFAICS.
I'm too lazy to pull out a DL11-W, and prints thereof, to check, but I suspect
that what actually happened is that trace carries some 'interesting' signal,
and it got grounded 'or something' by the exposed ends of the flat cable.
> I'm just glad that there doesn't appear to be any lasting damage.
Indeed! I was worried about that...
Noel
> From: Mark Hare
> For a more permanent solution, I designed a simple adapter board that
> connects to the BERG 40 connector on the DL11-W and converts it to a DB9
> serial port ... I also ordered a 40-pin (non-IDE) ribbon cable to
> connect the DL11-W to my adapter.
> When I connected everything, the 11/34 would start but no lights would
> appear on the front panel. I tried disconnecting the adapter but leaving
> the ribbon cable plugged into the BERG connector, but the problem
> persisted. When I removed the ribbon cable entirely, the unit powered on
> with no problems.
That's extremely odd. There isn't a pin on the DL11-W Berg connector which
should be able to cause anything like that kind of behaviour. The only
_possible_ thing I can think of, looking at the list of signals on the Berg,
is that you are grounding +5 (TT). Either that, or your DL11-W has some
serious issue?
> Since this is a straight-through ribbon cable, I don't see what could be
> causing this problem.
Me either. But clearly it's not just a straight-through ribbon cable....
I myself wouldn't have gone that route; one can obtain 40-pin IDE/DuPont (they
are all .1" spacing pins, and basically interchangeable, module keying)
connector shells, and female pins for same; I would have made a custom cable
to plug into the Berg with that, to a DE-9S or DB-9P connector (depending on
whether one wanted one wired as a DCE or DTE). (I myself make such cables, but
to a DB-25S connector, and then use a commercial DB-25P to DE-9S adapter when
needed.) Oh well...
Does the DL11-W still work, using the jumper cables kludge?
Noel
Hello all,
This is my first time emailing the list, so please let me know if this
doesn't belong here of if I'm breaking any rules.
A few months ago, I rescued a PDP 11/34a with 2 RL01 drives from the scrap
heap. The unit appears to work fine based on my limited front-panel
testing. I haven't gotten the drives running yet since someone cut the
power cords when the cabinet was being removed.
There is a DL11-W serial line unit/realtime clock (M7856) installed in the
11/34 that I want to use for serial input/output. I have configured the
card for 9600 baud, 8N1. Using some jumper wires, I carefully connected the
card to a serial cable and a computer running a terminal and I was able to
send some characters back and forth successfully.
For a more permanent solution, I designed a simple adapter board that
connects to the BERG 40 connector on the DL11-W and converts it to a DB9
serial port (In restrospect, this product was already available at
https://oshpark.com/shared_projects/uTMf3v08 but I didn't know about that
at the time). I also ordered a 40-pin (non-IDE) ribbon cable to connect the
DL11-W to my adapter.
When I connected everything, the 11/34 would start but no lights would
appear on the front panel. I tried disconnecting the adapter but leaving
the ribbon cable plugged into the BERG connector, but the problem
persisted. When I removed the ribbon cable entirely, the unit powered on
with no problems.
Since this is a straight-through ribbon cable, I don't see what could be
causing this problem. I have checked the continuity of each wire in the
cable, and there doesn't appear to be a problem. I'd appreciate any advice
that anyone has to offer.
Yours,
Mark D. Hare
markhare(a)buffalo.edu
University at Buffalo
B. S. Civil Engineering '16
M. S. Structural/Earthquake Engineering Student
> From: Clem Cole
> don't expect a lot of wild and crazy names
Yeah, those arrived when places started to get lots of identical machines,
and needed a theme to name them. So I remember MIT-LCS had VAX 750's called
Tide, Borax, etc (cleaners); MIT-AI had Suns called Grape-Nuts, Wheaties, etc
(cereals).
I know other places had similar name sets, but I can't recall the themes of
any of them - although looking at an old HOSTS.TXT, I see CMU had systems
called Faraday, Gauss, etc, while Purdue had Fermat, Newton, etc; U-Texas had
Disney characters, BBN had fish, U-Washington had South Pacific islands - the
list just goes on and on.
Google for a old Host file, that's a good source if you want to know more.
Noel
Co-inventor of Unix, he was born on this day in 1943. Just think: without
those two, we'd all be running M$ Windoze and thinking that it's
wonderful.
--
Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer."
As a tourist in Christchurch NZ in 1982, I saw a notice of a student piano
recital at the university. Free, why not? The fellow who sat next to me turned
out to be a phyicist. On learning that I was a computer scientist, he proudly
described his wonderful new computer and operating system--the first of its
kind in the university, if I remember correctly. I let on that I was familiar
with it, so we both left the recital with a small-world story to tell.
Doug
Slartibartfast brings back fond memories of THHGTTG.
Of course those in IT simply know that with a Guide and a towel
there's no need to panic :-)
Cheers,
rudi
The presence of some sort of shared memory facility in the
BBN V6 Unix kernel got me thinking about the origins of
shared memory on Unix.
I had a vague recollection that primordial versions were present
in either PWB or CB3, but a quick glance at the source indicates
that this is not correct.
What are the origins of shared memory on Unix, i.e. what came
before mmap() and SysV IPC? Was the BBN kernel the first to
implement such a facility on Unix?
Paul
Not so long ago I joked about putting a Cray-1 in a watch. Now that we are
essentially living in the future, what audacious (but realistic)
architectures can we imagine under our desks in 25 years? Perhaps a mesh
of ten-million of today's highest end CPU/GPU pairs bathing in a vast sea
of non-volatile memory? What new abstractions are needed in the OS to
handle that? Obviously many of the current command line tools would need
rethinking (ps -ef for instance.)
Or does the idea of a single OS disintegrate into a fractal cloud of
zero-cost VM's? What would a meta-OS need to manage that? Would we still
recognize it as a Unix?