> From: "Lange, David" <Extern.David.Lange(a)gedas.com>
> To: "'tuhs(a)minnie.tuhs.org'" <tuhs(a)minnie.tuhs.org>
> Subject: [TUHS] The ^ = | ?
>
> Greetings,
>
> I've been searching for some reference to the ^ symbol being the same a | in
> Bourne shell. Does anyone remember seeing anything like this? I've searched
> the early manpages to no avail.
It's here in my printed copy of the 6th Edition Unix Programmer's Manual.
Page entitled SH(I)
Section DESCRIPTION
Subsection Command lines. One or more commands separated by '|' or '^'
constitute a chain of filters. . . .
carl
--
carl lowenstein marine physical lab u.c. san diego
clowenst(a)ucsd.edu
Greetings,
I've been searching for some reference to the ^ symbol being the same a | in
Bourne shell. Does anyone remember seeing anything like this? I've searched
the early manpages to no avail.
Regards,
D.
> I've been searching for some reference to the ^ symbol being the same a |
Yes, pre Bourne shell, edition 6 and earlier used ^ for piped. Also chdir
insteads of the shortened 'cd'
I'm trying to run 2.11 BSD on the p11 emulator...
The 2.11 BSD boot image I'm using is 211_on_rl2
(which works on sim, but without network sup-
port).
Before downloading 2.11_rp_unknown.gz that seems
to work for sure with p11 (at least I found enough
posts hinting at that), I would like to know if
anybody has successfully used the 211_on_rl2 distro
to boot 2.11 BSD on p11.
My results so far are p11 boots (after FIGHTING
with p11conf), recognizes the 4 rl and 5 rk disks
and images and gives me a @-prompt.
Telnetting to the defined ports won't do :-(
Any hints anybody?
--
M. Giegerich, mail: migieger(a)vsnl.com, phone: +91.(0)80.5530154
Hi -
> From: David Evans <dfevans(a)bbcr.uwaterloo.ca>
> What's up with the 2.11BSD patch archive? I assume that the version
Both it and the mirror are up and running. There are quite a few
netblocks that have portscanned/spammed/whatever me here (dialups
and cablemodems for the most part) and they're listed in the packet
filters so if you're seeing timeouts, etc connecting that's probably
the reason.
> in the Unix Archive is the original release and does not have these
> patches applied. The mirror to which 2bsd.com referrs is gone and I
Companies play the "musical domain name" everytime they have a
re-organization (and, sigh, another one is in the works as I type).
What was listed was probably a name from the last reorganization and
of course it's very difficult to track down all the places that an
old name was used.
The mirror I maintain at work is:
ftp://ftp.cato.gd-ais.com
(for some time yet it will also respond to 'ftp.to.gd-es.com')
There may be other sites that also mirror
> don't want to pound on Steve's site if I don't have to. Any
Others have done that - usually it's not too bad, especially if I'm
asleep at the time :)
> suggestions? Once I get the files I presume I'm just supposed to feed them
> through patch in sequence (with the appropriate options, of course).
Sequence is important because the patches are diffs against the last
current version of a file.
Each patch has rather good (if I do say so myself ;)) instructions and
explainations of what was changed, how to apply, what to rebuild
immediately (and what can be deferred until it is convenient).
Have Fun!
Steven Schultz
sms(a)2bsd.com
This *must* be a FAQ, but I didn't find a real answer to it anywhere.
What's up with the 2.11BSD patch archive? I assume that the version
in the Unix Archive is the original release and does not have these
patches applied. The mirror to which 2bsd.com referrs is gone and I
don't want to pound on Steve's site if I don't have to. Any
suggestions? Once I get the files I presume I'm just supposed to feed them
through patch in sequence (with the appropriate options, of course).
--
David Evans (NeXTMail/MIME OK) dfevans(a)bbcr.uwaterloo.ca
Ph.D. Candidate, Computer/Synth Junkie http://bbcr.uwaterloo.ca/~dfevans/
University of Waterloo "Default is the value selected by the composer
Ontario, Canada overridden by your command." - Roland TR-707 Manual
Yanked a SCSI disk and the penguin could manage dding the simh image on to
it. The PDP-11 booted quite happily.
--
David Evans (NeXTMail/MIME OK) dfevans(a)bbcr.uwaterloo.ca
Ph.D. Candidate, Computer/Synth Junkie http://bbcr.uwaterloo.ca/~dfevans/
University of Waterloo "Default is the value selected by the composer
Ontario, Canada overridden by your command." - Roland TR-707 Manual
If all that is needed is to concatenate three files into a single
tape file, with each new file aligned on a block boundary, isn't
(for f in f1 f2 f3; do dd <$f conv=sync; done) >/dev/rmt0
sufficient?
The only time I had to do anything like this, the target system was
a MicroVAX; hence the tape had to have ISO labels, and the program
to be booted a particular tape filename. I don't remember how I
handled that; probably I used one of the several public-domain
tape-label-writing programs. But that was a VAX; I would assume
an 11/73 doesn't have so much enforced complexity in its firmware.
Howdy.
I'd like to confirm that somebody has successfully made a TK50 boot tape
for 2.11BSD using a TK50Z attached to some other Unix box. In my case it will
likely have to be Linux, though IRIX might be doable. It *should* work, after
all, but, well, you know. :)
--
David Evans (NeXTMail/MIME OK) dfevans(a)bbcr.uwaterloo.ca
Ph.D. Candidate, Computer/Synth Junkie http://bbcr.uwaterloo.ca/~dfevans/
University of Waterloo "Default is the value selected by the composer
Ontario, Canada overridden by your command." - Roland TR-707 Manual
Warren replies:
>Not sure if:
>
>http://www.tuhs.org/Archive/PDP-11/Bug_Fixes/Net.v7bugs/0017
>
>is a bug fix for this.
And Dennis replies:
>Does
> http://www.cs.bell-labs.com/who/dmr/odd.html#muldiv
>suffice to explain the behavior
Thanks for the replies, but the bug I found is about unsigned int's and
not long int's.
The V7 C code simply the DIV instruction for unsigned division. The dividend
is put in the low word of a register pair with the upper word cleared.
When the divisor is >= 2^15, DIV interprets it as a negative integer
and produces the result (N = 2^16):
N - a/(N-b) instead of a/b, and
a%(N-b) instead of a%b.
This explains the bug I've sent yesterday. I is easily fixed, since
when b >= N/2 and a < N, then a/b is either zero or one.
And there is another bug when using DIV for unsigned integers: If b = 1 and
a >= N/2, then a/b >= N/2, that is a signed overflow. With V7 on Bob Supniks
simulator (2.10), I get
60000/1: 0, 60000%1: 60000
DIV did not change the dividend because of overflow.
Again a fix is easy: With unsigned ints, don't use DIV to divide by one.
In all other cases, DIV produces the correct unsigned results, if the dividend
is less N, that is its high word is zero.
I wonder why these bugs went unnoticed.
Greetings
Wolfgang