Tara Lie : 31 January 2023 23:27
Author: Carlo Denza
Original Publication Date: 07/10/2021
Translator: Tara Lie
Star Trek IV – The Voyage Home, directed by Leonard Nimoy (USA, 1986, Paramount Pictures): “The starship ‘U.S.S. Enterprise NCC-1701’ and its crew, led by Admiral James Tiberius Kirk, tasked with the exploration of new worlds and researching new civilisations, is forced to embark on a risky journey back in time. The objective: return to Earth, to 20th-century California, to solve complex energy and environmental issues. The mission entrusted to the crew by Starfllet is to recover and transport two of the last whale specimens to the 23rd century, to try to save their world from a climate catastrophe.
Having landed on Earth, the Officer and Chief Engineer of the spaceship, Montgomery Scott, struggles with a Macintosh Plus. Scotty tries to give voice commands to the Mac, but nothing happens. He has to resign himself to the uncomfortable and impractical use of the keyboard – the main input method of the time period he finds himself in. The scene plays out as follows:
Sei un Esperto di Formazione?
Entra anche tu nel Partner program!
Accedi alla sezione riservata ai Creator sulla nostra Academy e scopri i vantaggi riservati ai membri del Partner program.
Per ulteriori informazioni, scrivici ad [email protected] oppure su Whatsapp al 379 163 8765
Supporta RHC attraverso:
Scotty: Computer? Computer?
Computer: *stays silent*
At this point, the medical officer of the Starship Enterprise, McCoy, hands Scotty the mouse. Scotty, believing that he can use it as a microphone for vocal commands, grabs it and says “Hello Computer”.
But nothing happens! The Mac stays cold in its silence until a third character suggests that he should just use the keyboard. At this point, Scotty whispers: “Keyboard? How quaint!”.
You have probably already guessed the Unix reference here. The famous operating system of the bitten apple, even that, also conforms to the POSIX standard. By virtue of this, it too has its roots in BSD (Berkeley Software Distribution). Therefore, Mac OS is based on Unix.
There it is – one of the reasons that Mac OS is so popular – has been clarified!
For those who have not read the previous article, here is a brief summary. Unix was created in 1969 by Bell Labs, its creators being K. L. Thompson and D. M. Ritchie. In 1974 the first version was installed at the University of California, Berkeley. Rewritten entirely in C language, Unix’s principle characteristics are: it is general purpose, interactive, multi-user, multi-program and time-sharing.
The advantages for the user are the power and flexibility of a full screen editor and an email system. The Unix virtual machine divides into:
Access to a UNIX system is done using a program called “login”. The program identifies users by asking them for their username and password. If the authentication is successful, the system runs a shell, as shown in the next figure.
In the modern UNIX systems (after the mid-1980s), with the introduction of graphical interfaces and windows, accessing the system could also be done through a program called “display manager”. Once again, it requires a username and password.
If the authentication is successful, the system usually runs a series of programs with a graphical interface called ‘desktop environment’. This then allows the user to run the desired programs, as in the next image.
Modern versions of UNIX provide several alternatives to the Desktop Environment. Some of the most popular Desktop Environments are: GNOME, KDE, XFCE, UNITY, LXDE.
Each UNIX system user belongs to one or more Groups. Every user has a unique login Group, and can be a member of multiple additional Groups. On some systems, membership in certain Groups determines the ability to use some system functionality.
The most important structure of a computer system is its data, that is, the information stored and manipulated by programs. The UNIX file system is tasked to collect all the data present on the computer – whether in the form of programs, documents, databases or text files.
For the most part, the file system runs automatically, although at times it requires maintenance. Although the word ‘file’ usually means an archive or a binder, for PC users it takes on a more specific meaning. In fact, the term ‘file’ is used to refer to a collection of data stored on the PC disk. It could be a program, a spreadsheet, an image, or anything else.
Each file also has a name by which it is possible to refer to it with. The crucial point is that in a UNIX or UNIX-like system, the definition of ‘file’ takes on a wide range of meanings. Under the UNIX lens, we may also mean any source from which it is possible to read data, or a destination in which data can be written.
Therefore we refer to not only a data store with ‘file’, like a file on disk, but to any physical device. That’s right, in a UNIX environment even the keyboard (input device), the monitor (output device), and a printer (another output device) are seen as files! This feature gives UNIX and UNIX-like systems a certain flexibility when compared to other OS’s.
Specifically, any program that performs read and write operations using standard input/output can use any input source and any output destination. To summarise:
UNIX contains many files that are organised into directories and subdirectories. The file system originates in a single directory called the ‘root directory’, which is the parent of all the others.
The root is the basis of the UNIX system and owes its importance to the fact that it contains within it, among other directories, a very important file; the program that constitutes the heart of UNIX – the Kernel.
In BSD systems this file takes the name “Vmunix”, a term that stands for ‘Virtual Memory Unix’, in reference to the technique of using disk space to simulate large amounts of memory.
The points in the image below read:
Looking at the image above, we should remember that:
Here are some terms used in the UNIX world and beyond:
The tree structure uniquely identifies an item in the file system by the path from a directory to the file itself. This path is called ‘pathname’. In the pathname, all the directories on the path are separated by the character ‘/’ and the pathname can be either relative or absolute.
I end this short article by thanking anyone who has managed to read these few pages to the end. And to keep the Star Trek plot accurate – the crew actually decided to return to Earth, not on the USS Enterprise, but with a Sparrowhawk captured by the Klingons in the previous film. My version was more functional for the article…