Questions tagged [unix]

For questions about the Unix operating system.

Initially intended for use inside the Bell System, AT&T licensed Unix to outside parties from the late 1970s, leading to a variety of both academic and commercial variants of Unix from vendors such as the University of California, Berkeley (BSD), Microsoft (Xenix), IBM (AIX) and Sun Microsystems (Solaris).

112 questions
103
votes
19 answers

How did people use ed?

ed was the standard Unix editor, and is present on all POSIX certified systems (though it's not installed by default in Debian, FWIW). It's a line editor (meaning, you can't see all the text at a time. You query line numbers and it spits it back,…
Unix
  • 1,573
  • 3
  • 11
  • 7
38
votes
8 answers

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 when you are in command mode, which is very…
JoelFan
  • 2,117
  • 2
  • 15
  • 18
18
votes
4 answers

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 for the kernel with networking…
b degnan
  • 1,099
  • 7
  • 17
13
votes
2 answers

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). I was able to find a /usr/mdec directory in…
fuz
  • 1,574
  • 10
  • 35
13
votes
0 answers

Unix on the H11?

I'm curious if anyone is aware of actual uses of Unix on the Heathkit H11? I don't see any technical reason a memory-expanded H11 couldn't run Unix, but can't find any examples of it doing so.
Maury Markowitz
  • 19,803
  • 1
  • 47
  • 138
9
votes
2 answers

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 another Unix system?
Paolo Amoroso
  • 1,520
  • 1
  • 9
  • 21
8
votes
1 answer

Unix: Why was five (SysV) released *after* seven (V7)?

AT&T released UNIX Version 7 (seven) in 1979. The same company released UNIX System V (five) in 1983. Why did the later release have a lower number?
DrSheldon
  • 15,979
  • 5
  • 49
  • 113
7
votes
1 answer

How to get a list of processes on UNIX V7?

I am running UNIX V7 using the SimH emulator. I am trying to get a list of processes using ps, but I am getting the following error: No namelist So I tried the following fix (from this post): cd / ln rl2unix unix But now when I do ps, I get the…
user4938
  • 143
  • 2
7
votes
1 answer

"ps" returning "No namelist" on UNIX V7

I am using this emulator for UNIX V7: http://www.jbox.dk/sanos/pdp11.htm When I type ps to get a list of processes, I get the following error:
user4916
  • 73
  • 2
6
votes
1 answer

Can you get the file descriptors of a process in UNIX V7?

In Linux, if I want to get the file descriptors of a process, I would go to the following directory: /proc//fd But in UNIX V7, the /proc directory does not exist.
user7681202
  • 1,837
  • 12
  • 17
6
votes
1 answer

Was job control supported in UNIX V7 or earlier?

Linux supports job control, i.e. you can start a process in the background, or make a foreground process run in the background, or make a background process run in the foreground, etc. Did any V7 or earlier version of UNIX support such job control?
user7681202
  • 1,837
  • 12
  • 17
3
votes
1 answer

Does UNIX V7 have a built-in file editor?

I can use cat to display the content of a file in UNIX V7, but I don't know how can I edit the content of a file. Is there a built-in file editor in UNIX V7?
user4938
  • 143
  • 2