Questions tagged [unix]

For questions about the Unix operating system.

Filter by
Sorted by
Tagged with
7 votes
1 answer
777 views

What is the oldest UNIX available for modern systems?

What is the oldest UNIX(-like) system that can be legally downloaded and run in a VM or emulator on a modern PC running Linux?
30 votes
2 answers
2k views

Process model in early UNIX

I heard recently that the process model in very early variants of UNIX was quite a bit different to the fork/exec model used nowadays. How did it differ from the current state?
103 votes
6 answers
46k views

Why did base64 win against uuencode?

From the the two methods of encoding 8-bit data as human-readable ASCII, for a time, uuencode format was more popular. USENET 'binaries' groups were filled with uuencoded posts with whatever goodies ...
17 votes
7 answers
4k views

Why did Linux standardise on RTS/CTS flow control for serial ports

I've recently been working out how best to wire up a serial cable for a vintage plotter, and it's thrown me down the rabbit hole of RS-232. As far as I can tell, many RS-232 devices which act as DTEs (...
3 votes
1 answer
538 views

Did DEMOS have a C compiler?

DEMOS was a Soviet operating system derived from BSD Unix. The answer to this question shows that the familiar, English-derived BSD commands were essentially the same in DEMOS. Did DEMOS have a C ...
49 votes
7 answers
36k views

How could early UNIX OS comprise so few lines of code?

I start my journey to become a hardware / software specialist with an internship in two weeks time and decided to start studying the C language early. I came across this video, Learn C Programming ...
31 votes
5 answers
4k views

In what ways was the Windows NT POSIX implementation unsuited to real use?

Windows NT implemented POSIX compatibility because some US government contracts required such. It is said that the POSIX implementation was only pro forma, not intended or suitable for real use (i.e. ...
5 votes
1 answer
315 views

A SunOS kernel configuration file in the CSRG ISOs?

Does anyone know why there is a SunOS kernel configuration file in the 4.1c.1 BSD directory tree in the CSRG ISOs? How to see that this file exists: McKusick sells the CSRG ISOs. But let's face it, ...
15 votes
2 answers
1k views

Trying to understand some assembly syntax in the Unix v7 write system call

so here is the code: (which comes from here, I've also verified this source is in my unix v7 distribution). For reference, this is running on a PDP-11 simulated with the simh program (so please keep ...
33 votes
7 answers
10k views

What are the major technical difference between Multics and Unix?

From the naming of operating system only i.e Unix = Uniplexed Information and Computing Service vs Multics = Multiplexed Information and Computing Service, I was first having a misconception that the ...
27 votes
3 answers
8k views

Why was MacOS unix certified?

As I understand it most Linux distros adhere to the UNIX specifications while only a few actually get UNIX certified. If plenty of Linux distros can happily adhere to the standard without being ...
2 votes
1 answer
945 views

How do I compile C code with the IRIX X Window System?

I have typed out a rather large file in C code that is defining OpenGL graphics and will draw a triangle on the screen. While I know all of the functions of the X Windowing System, I do not know how ...
7 votes
2 answers
373 views

Which historical Unixes supported terminal I/O with five or six bits per character, and with what character sets?

The specification for termios.h includes a facility for controlling the number of bits per character sent over the serial line, the CSIZE and CSn constants. You can request five, six, seven, or eight ...
13 votes
2 answers
907 views

Where did /usr/mdec come from?

On UNIX, the boot code is traditionally found in the directory /usr/mdec. Some modern UNIX variants keep this tradition up (e.g. OpenBSD) while others have changed the directory layout (e.g. FreeBSD)....
18 votes
2 answers
3k views

What does 'try again' mean in Unix v6?

I am running a stripped down version of BSD Unix V6, bkunix on my Elektronika BK 0010-01. It has a very limited range of Unix commands. The contents of /bin are: cal cat clock cp date df echo ed halt ...
18 votes
4 answers
5k views

What is the simplest UNIX system with a MMU?

I was recently looking at a Motorola 68010 and 68451 that have been in some ESD foam on a shelf for a very, very long time. Now, things are all so huge in memory, but BSD4.4-Lite can run in only 256k ...
78 votes
4 answers
26k views

Why is Windows using CR+LF and Unix just LF when Unix is the older system?

Windows and MS-DOS use the control characters CR+LF (carriage return ASCII 13 followed by line feed ASCII 10) for new lines, while Unix uses just LF. As far as I know CR+LF made sense for systems ...
10 votes
1 answer
2k views

Did the rm project remove itself during early development?

Is it true that Brian Kernighan while developing rm accidentally tested the project so that it removed itself? Then, according to story, he had to start over from the beginning because there was no ...
18 votes
0 answers
406 views

Is an X Window System older than release 10 available online?

I'm looking for any copy of the X Window System older than release 10. The oldest on x.org is X10R3. Bob Scheifler doesn't have anything. Jim Gettys may have something, but has yet to retrieve it ...
18 votes
10 answers
5k views

Why does cat with no argument read from standard input?

In advice about how to design good CLI commands I read: If your command is expecting to have something piped to it and stdin is an interactive terminal, display help immediately and quit. This means ...
21 votes
2 answers
2k views

Origin of UNIX symbolic links?

When I search the web for information about the origin of UNIX symbolic links, I see "Symbolic links were first introduced into Unix with 4.1c-BSD". But when I go to fact check that, it ...
20 votes
3 answers
3k views

when did command line applications start using "-h" as a "standard" way to print "help"?

I am interested to hear about the history because I have a prominent command line product that has decided to use -h for something that does not print a help message. when did command line ...
20 votes
2 answers
613 views

What is the history of SysV i386 calling convention for struct return?

I would like to understand historical roots of the quirk in the SysV calling convention for the 32-bit x86, which was inherited by the ELF standard, and so remains used on Linux to this day. Consider ...
9 votes
3 answers
1k views

Why does -z and -n exist in most shells and /bin/test?

The test command on Unix-like systems provides two special syntax forms for checking whether a string is empty or not: test -z "$foo" # the length of $foo is zero test -n "$foo" # ...
25 votes
2 answers
4k views

Did any DOS compatibility layers exist for any UNIX-like systems before DOS started to become outmoded?

Quoting from Jim Hall's "FreeDOS turns 25 years old: An origin story": Around 1994, Microsoft announced that its next planned version of Windows would do away with MS-DOS. But I liked DOS. ...
29 votes
2 answers
8k views

Correct pronunciation of `vi` (Unix editor)?

According to this video with Brian Kernighan, the correct pronunciation of the classical Unix editor ed is "Eee. Dee." — not "Edd". So that made me wonder — what about the other ...
5 votes
3 answers
523 views

Circuit design tool mentioned in AT&T Unix promotion

In this video from AT&T about Unix is a circuit design tool displayed that is claimed to be based on YACC (timestamped link). Does anyone have information about this tool? Like: Documentation ...
26 votes
5 answers
2k views

What software stack could I use to get X10 (the version of X before X11) up and running on a modern system?

"What's the story behind the name "X11"?" showed up in the sidebar while I was browsing stackoverflow earlier and I noticed the question getting some high-signal answers, so I added a ...
7 votes
1 answer
294 views

How did Bell Labs start to work on Project MAC?

Did Bell Labs approach MIT or was it the other way around? Did participating in Project MAC come from researchers requesting management at Bell Labs/MIT or did management make the decision due to ...
7 votes
1 answer
540 views

Mainframe Hater's Handbook?

The famous The UNIX-HATERS Handbook claims this mailing list had been inspired by TWENEX-HATERS(1) and other *-LOVERS mailing lists, a long tradition of MIT. Moreover, the quote below implies there ...
7 votes
1 answer
1k views

When did SunOS get a graphical interface?

I understand that the first graphical user interface for SunOS was SunTools (later renamed to SunView), but I cannot find any documentation that states when it was released and for which versions of ...
38 votes
8 answers
4k views

Why does UNIX ed not have a prompt by default

The line editor ed in UNIX/Linux has a "command mode" and an "insert mode" and there is no visual way to tell which mode you are in. However, there is a -p option that causes it to display a prompt ...
30 votes
10 answers
7k views

What happened to all those Unix workstations in the '90s?

Around the early to mid '90s it seems there was a trend for high-end workstations running some form of Unix, and running a RISC or at least some kind of non-x86 architecture. For example: Sun ...
16 votes
3 answers
2k views

Why is the Unix epoch January 1st 1970?

In honor of this weekend being 1,600,000,000 (1.6 billion) seconds since the Unix epoch, I was wondering if anyone knows why January 1st 1970 was chosen? According to Wikipedia, The earliest versions ...
6 votes
1 answer
603 views

Can you remember the name of a public access Unix system, around 1990/1, Spug or Spud?

Hey I recall accessing a public-access UNIX system in the UK, likely around 1990/91. I seem to recall it gave you shell access but it might actually have only been Mail or UUCP/usenet client? I have a ...
8 votes
4 answers
1k views

What were the Major Public Access Unix Systems Available in the 1980s-90s?

Back in the 1980s-90s, using a UNIX system required running expensive servers or paying for timesharing service, so they were beyond the reach of most individuals, and only available to members in ...
8 votes
3 answers
1k views

Was The Telemark Assembler available for the Unix or Mac Environments?

I'm trying to build the recently released Infinity Game Boy Color source code on my macOS El Capitan box. The original development environment was a Windows box, and I'm trying to modify the build ...
12 votes
6 answers
9k views

What was the original unix font?

I'm looking for a font for a tattoo. I don't have any preferred font so I thought using the original Unix font could be a great reference to the great history. Can't find any reliable information ...
22 votes
2 answers
1k views

Where and when did the ".s" suffix for assembly-language source files originate?

The closest I was able to find on StackOverflow is What are .S files?, in which no answerer addresses why we use .s for assembly. (And .S for preprocessor/macro assembly; and gcc -S to produce ...
25 votes
2 answers
3k views

Slash versus backslash as directory separator – what/who caused this rift?

MS-DOS and derived systems use backslash \ for path separator and slash / for command parameters. Unix and a number of other systems used slash / for paths and backslash \ for escaping special ...
19 votes
4 answers
4k views

What was the purpose of those special user accounts in Unix?

In a modern Linux system – modern enough to have upgraded useradd to a version from no earlier than February 2008 – it is usually the case that user accounts with UIDs no less than 1000 (other than ...
4 votes
0 answers
279 views

What does this image in Space Travel represent?

I was touching up the Space Travel article on the Wiki and realized no one had answered a question I posted some time ago. I suspect someone here knows the answer. This image is used in the infobox to ...
46 votes
6 answers
14k views

How should we interpret Dave Cutler's criticism of Unix?

Dave Cutler is well known for his contributions to operating systems, having led the effort on VAX VMS at DEC and Windows NT at Microsoft. According to his Wikipedia page, he is also known for ...
8 votes
4 answers
2k views

Is the SimH emulator available on macOS?

Is the SimH emulator available for macOS? I can't find it on their website: http://simh.trailing-edge.com/ What I am specifically interested in is to run UNIX V7 on a PDP-11 emulator.
11 votes
5 answers
2k views

Early implementations of the `system()` call in a consumer OS

Nowadays, it's easy to take for granted the system() call (as defined in POSIX), which allows a user program to easily execute a child process and wait for it to complete. Obviously, this is a trivial ...
5 votes
1 answer
395 views

Why did Dennis Ritchie write that UNIX was a modern implementation of CTSS? [closed]

At the Tenth Hawaii International Conference on the System Sciences in 1977 Dennis Ritchie presented the paper The Unix Time-sharing System: A retrospective in which he states: ...a good case can be ...
7 votes
0 answers
236 views

Small format X terminal with EL screen

I remember an ad for a small-format (about as wide as a 60% keyboard) dark-ish grey colored X terminal that had a 12" (?) yellow electroluminescent screen similar to the Grid laptops but higher ...
10 votes
1 answer
565 views

Nontrivial B program

I have been able to find very little about the B programming language online. the predominant resources seem incomplete, particularly in regards to standard library functions. I have not been able ...
73 votes
8 answers
23k views

Which Linux or BSD distributions do still support i386, i486 or i586 CPUs?

Unfortunately Debian kicked out Pentium 1 (i586) CPU support from its 32-bit PC port (named i386 for historic circumstances) for its next stable release Debian 9 Stretch. (Then again they complain ...
9 votes
2 answers
385 views

What environment was Coherent developed with?

Coherent was a Unix clone for IBM compatibles Mark Williams Company produced and sold in the 1980s and early 1990s. What environment and tools was Coherent developed with? Was it cross-developed on ...