Questions tagged [historical-unix]

The historical Unix from Bell Labs in the 1970s and 1980s, as opposed to Unix variants and clones from other vendors. This tag is only about the historical product known as UNIX Time-Sharing System or UNIX System III/IV/V. For the history of the Unix family of operating systems in general, use the "history" tag.

Filter by
Sorted by
Tagged with
2
votes
2answers
87 views

Undump od (octal or hex dump) in Version 6 Unix

od (octal dump) command is implemented in Unix since Version 1. However, I couldn't find a reverse command in the Version 6 Unix manual (1975). Modern ways of reversing od with either xxd or sed do ...
6
votes
1answer
103 views

How to understand this TMG's assembly code from the Version 6 Unix?

Early versions of Unix included Doug McIlroy's tool tmg ("transmogrifier"), an early compiler-compiler. TMG was implemented in Dennis Ritchie's assembly language as well as in TMGL itself (the ...
4
votes
1answer
115 views

What checksum algorithm is used by Version 5 Unix?

I can't figure out, what algorithm was used in Unix V5 and V6 for the sum command. At first, I thought that it is a simple sum of bytes modulus 2^16. However for a string "1111111111\n" repeated 320 ...
0
votes
1answer
58 views

What is the most similar distro/flavor to the original UNIX source code? [duplicate]

Just like Ubuntu, Arch, Red Hat etc are just modifications to the original Linux Kernel... macOS (XNU), Solaris etc are some variants of the closed source code of AT&T's UNIX. But what is the ...
0
votes
1answer
34 views

How to make a script command work in both linux & UNIX

As the command NUMBER=$((${NEW_COUNT}-${OLD_COUNT})) in a shell script did work in Linux system but not work in UNIX system, how can I make a new command work the same as the above command in UNIX ...
0
votes
6answers
255 views

I need to take first 4 characters of first line in a file and i need it in a variable

I have a file like sample1.txt ABCDE10998909 10898990XYZ 1898772222YGH 8980000000000sihgj Output: ABCD I need to take first 4 characters of first line in a file and i need it in a variable.
1
vote
0answers
34 views

Are BSD systems evidently more fault tolerant than other family of operating systems? [closed]

I remember reading somewhere, that BSD systems are more fault tolerant than other Unix and Unix-like system families such as System III/V and Linux, but I checked all online FreeBSD books and searched ...
1
vote
1answer
53 views

What's the content of license that AT&T licensed Unix to third-party vendors?

Initially intended for use inside the Bell System, AT&T licensed Unix to outside parties in the late 1970s, leading to a variety of both academic and commercial Unix variants from vendors ...
1
vote
1answer
115 views

History of the saying “Everything is a file”

Upon my journey to master Unix/Linux, I came across this saying and some of its derivaties: Everything is a file. or Everything in Unix is a file. Reflecting upon my humble knowledge of Unix/...
2
votes
2answers
98 views

What were the original reason(s) for adding a “standard error” which is separate from “standard output”?

Unix provides standard output and standard error, which can be redirected independently. $ ls /not-exist ls: cannot access '/not-exist': No such file or directory $ ls /not-exist > redirect.out ...
8
votes
2answers
252 views

Why was `.` chosen to represent the dot command?

I am wondering after seeing this question why the . symbol was chosen to represent the dot command? I am not able to find much about it's origin or who created it and am curious as to why a full stop ...
5
votes
3answers
1k views

Why was the dot (.) used as an alias for source & why don't other commands have shortcuts too? [closed]

EDIT : actually, it is not an alias (see answers) As you all know, in a shell, the dot-command (.) is an alias to the source command. But I wonder if there's a reason behind such a weird alias? ...
5
votes
1answer
181 views

How was Unix installed in the 70's-80's?

Well I've been around computers since the late 80's(I was like 3 actually). Went the whole mile: Atari Xl-XE, MS-DOS, Windows 3.1, 95, etc. Then started using Linux because of the looks(yes I know, ...
16
votes
3answers
2k views

Where can I get the original Unix? [duplicate]

Where can I get the original Unix (from the year 1969)? I would like to look at the source code of the original Unix.
0
votes
2answers
360 views

What was the reason for lseek function to return file descriptors as long integer? [closed]

According to the book Advanced Programming in the Unix Environment :- "The character l in the name lseek means ‘‘long integer.’’ Before the introduction of the off_t data type, the offset argument ...
5
votes
1answer
521 views

Is UNIX System V's source still available?

I was wondering if the AT&T system V's source code still available.
5
votes
1answer
132 views

How did UNIX programs interact with each other, before the invention of the pipe?

I read recently, that the concept of a pipe did not come about before UNIX version 3. But since UNIX was always about simple programs, that do one thing, composed to do more complex things: How did ...
4
votes
1answer
403 views

What's special about “!xxx%s%s%s%s%s%s%s%s”?

I was linked to The Unix-Haters Handbook and stumbled on (page 149): Subject: Relevant Unix bug October 11, 1991 Fellow W4115x students— While we’re on the subject of activation ...
23
votes
3answers
476 views

Kernighan and Pike challenge: how to put a slash in a filename?

I've just encounter the following question in Unix Programming Environment, the Kernighan and Pike's classic book on Unix (I found the below text on p. 79 of year 1984 edition, ISBN:0-13-937699-2): ...
44
votes
1answer
4k views

What's this I hear about First Edition Unix being restored?

I commented elsewhere that the source code of First Edition Unix had been restored from tapes. The response was amazement and a request for more information. What have people done? Who did it? ...
7
votes
1answer
5k views

Why is the default umask 002 or 022 in many Unix systems? Seems insecure by default [closed]

I have been using Linux & Unix for a long time. The first time I learned Unix is in a computer classroom with many students, where the instructor told us that you can use ssh to log in to remote ...
4
votes
3answers
1k views

When was the UNIX single-user vs multi-user modes distinction first introduced?

Practically if not actually every single UNIX-like operating system today makes the distinction between multi-user and single-user modes. Single user mode is generally intended for low-level system ...
2
votes
1answer
111 views

Behold System V; what about systems I-IV?

System V (by AT&T) is the ancestral Unix, and I have used it. But I have never read or heard anything about systems I-IV, other than they existed once upon a time in the dim past. How effective ...
3
votes
1answer
179 views

No stdlib in UNIX v7?

Browsing through the v7 UNIX Sources I noticed there is no "stdlib" directory - further more using a v7 UNIX Emulator, there is no such file as <stdlib.h>. However functions like exit() and ...
1
vote
4answers
337 views

How to run Unix?

I always wanted to try Unix but I can't seem to find an ISO file or somewhere to buy it. Is Unix published for the whole wide world to use or is it a special OS only for high-class servers, mainframes ...
4
votes
2answers
2k views

Why did Unix become open source/free?

Why did the original Unix versions suddenly become open source/free? It seems odd that AT&T and Bell Labs would let something like an operating system become moldable and resellable with all of ...
1
vote
0answers
46 views

The SUS v4 would not be able to certify Bell Labs unix v8 because unix has changed right?

How UNIX v8 from Bell Labs might not be able to certify with the Single Unix Specification v4 because UNIX has changed since then (and I would also like to include the IEEE Std 1003.1 and ISO/I.E.C. ...