|
90 | 90 | %%%%% |
91 | 91 |
|
92 | 92 | \begin{slide} |
93 | | -\sltitle{Historie UNIXu, pokraèování} |
| 93 | +\sltitle{UNIX history, continued} |
94 | 94 | \begin{itemize} |
95 | | -\item únor 1973 -- UNIX V3 obsahoval \emph{cc} pøekladaè (jazyk C |
96 | | -byl vytvoøen \emsl{Dennisem Ritchiem} pro potøeby UNIXu) |
97 | | -\item øíjen 1973 -- UNIX byl pøedstaven veøejnosti èlánkem \emph{The |
98 | | -UNIX Timesharing System} na konferenci ACM |
99 | | -\item listopad 1973 -- \emsl{UNIX V4 pøepsán do jazyka C} |
100 | | -\item 1975 -- UNIX V6 byl první verzí UNIXu bì¾nì k dostání mimo BTL |
101 | | -\item 1979 -- UNIX V7, pro mnohé ``the last true UNIX'', obsahoval |
102 | | -\emph{uucp}, Bourne shell; velikost kernelu byla pouze 40KB !!! |
103 | | -\item 1979 -- UNIX V7 portován na 32-bitový VAX-11 |
104 | | -\item 1980 -- Microsoft pøíchází s XENIXem, který je zalo¾ený na |
105 | | -UNIXu~V7 |
| 95 | +\item february 1973 -- UNIX V3 contained the \emph{cc} compiler (the C |
| 96 | +language was created by \emsl{Dennisem Ritchiem} for UNIX) |
| 97 | +\item october 1973 -- UNIX presented to the public in \emph{The |
| 98 | +UNIX Timesharing System} article in ACM conference |
| 99 | +\item november 1973 -- \emsl{UNIX V4 rewritten to C} |
| 100 | +\item 1975 -- UNIX V6 was the first UNIX available outside of BTL |
| 101 | +\item 1979 -- UNIX V7, for many ``the last true UNIX'', contained |
| 102 | +\emph{uucp}, Bourne shell; kernel size was just 40KB !!! |
| 103 | +\item 1979 -- UNIX V7 ported to 32-bit VAX-11 |
| 104 | +\item 1980 -- Microsoft introduces XENIX, based on UNIX~V7 |
106 | 105 | \end{itemize} |
107 | 106 | \end{slide} |
108 | 107 |
|
109 | 108 | \begin{itemize} |
110 | | -\item ACM = Association for Computing Machinery, zalo¾ena 1947. UNIX pøedstavili |
111 | | -Ken Thompson a Dennis Ritchie. |
112 | | -\item \emsl{akt pøepsání UNIXu do jazyka C byl mo¾ná nejvýznamnìj¹ím momentem |
113 | | -v historii tohoto systému} $\Rightarrow$ UNIX mohl být mnohem jednodu¹eji |
114 | | -portován na jiné architektury |
115 | | -\item na verzi 6 je zalo¾ena legendární kniha \emph{A commentary on the Unix |
116 | | -Operating System}, její¾ autorem je John Lions. |
117 | | -\item Microsoft neprodával XENIX pøímo, ale licencoval ho OEM výrobcùm |
118 | | -(Original Equipment Manufacturer) jako byl Intel, SCO a jiní. Jiné firmy pak |
119 | | -XENIX dále portovaly na 286 (Intel) a 386 (SCO, 1987). Na webu je mo¾né najít |
120 | | -zajímavé informace popisující tuto dobu a tehdy kladný vztah Microsoftu k |
121 | | -UNIXu. |
| 109 | +\item ACM = Association for Computing Machinery, founded in 1947. UNIX was |
| 110 | +presented by Ken Thompson and Dennis Ritchie. |
| 111 | +\item \emsl{The act of rewriting UNIX to C was possible to most important moment |
| 112 | +in the history of this system} $\Rightarrow$ it was much easier to port UNIX to |
| 113 | +different architectures. |
| 114 | +\item The legendary book \emph{A commentary on the Unix |
| 115 | +Operating System} by John Lions was found on version 6. |
| 116 | +\item Microsoft did not sell XENIX directly, it was licensed to OEM companies |
| 117 | +(Original Equipment Manufacturer) such as Intel, SCO a others. Ohter companies |
| 118 | +then ported XENIX to 286 (Intel) and 386 (SCO, 1987). It is possible to find |
| 119 | +interesting information on the web describing these times and then positive |
| 120 | +attitude of Microsoft towards UNIX. |
122 | 121 | % find UNIX-v7/ -type f -name '*. wc -l {} \; | \ |
123 | 122 | % awk 'BEGIN { cnt = 0; } { cnt += $1; } END { printf("lines: %d\n", cnt); }' |
124 | 123 | %lines: 188319 |
125 | 124 | %find UNIX-v7/ -type f -name '*.[cshy]' | wc -l |
126 | 125 | % 1131 |
127 | | -\item UNIX V7 mìl cca 188 tisíc øádek zdrojového kódu |
128 | | -v cca 1100 souborech (zji¹tìno pomocí \texttt{find}, \texttt{wc} a \texttt{awk} |
129 | | -pøes soubory se jménem \texttt{*.[cshy]}). |
130 | | -\item pokud vás více zajímá historie uni{}xu, podívejte se na Wikipedii na heslo |
131 | | -``u{}nix'' a skrz odkazy máte na dlouho co èíst. |
| 126 | +\item UNIX V7 had some 188 lines of source code in circa |
| 127 | +1100 files (determined using \texttt{find}, \texttt{wc} and \texttt{awk} |
| 128 | +across all files matching \texttt{*.[cshy]}). |
| 129 | +\item If you are interested in UNIX history, see the ``u{}nix'' on Wikipedia and |
| 130 | +you will find lots of content just by clicking through. |
132 | 131 | % http://minnie.tuhs.org/Seminars/Saving_Unix/sslides/ss-sslides.html |
133 | | -\item V roce 1973 byl UNIX víceu¾ivatelský systém (konta s hesly) s podporou pro |
134 | | -multiprocessing s ochranou procesù a stránkováním. Mìl signály, roury, |
135 | | -hierarchický systém souborù s mount pointy, souborová práva (User/group/other |
136 | | -r/w/x), hard linky, zaøízení pøístupná jako soubory. Kernel byl napsán v jazyku C |
137 | | -a v pamìti zabíral jeho obraz 26 Kilobytù. Pro práci se soubory slou¾ily |
138 | | -systémová volání \texttt{open()}, \texttt{close()}, \texttt{read()}, |
139 | | -\texttt{write()}, \texttt{seek()}, \texttt{pipe()}. |
140 | | -K manipulaci s procesy volání \texttt{fork()}, \texttt{exec()}, \texttt{wait()}, |
141 | | -\texttt{exit()}. Celkem bylo 48 syscallù, z nich existuje 35 do dne¹ní doby. |
| 132 | +\item UNIX was multiuser system (accounts with passwords) in 1973 with |
| 133 | +multiprocessing support and process protection and paging. It had signals, |
| 134 | +pipes, hierarchical file system with mount points, file rights (user/group/other |
| 135 | +r/w/x), hard links, devices accessible as files. The kernel was written in C |
| 136 | +and its image occupied 26 Kilobytes in memory. For file operations there were |
| 137 | +\texttt{open()}, \texttt{close()}, \texttt{read()}, |
| 138 | +\texttt{write()}, \texttt{seek()}, \texttt{pipe()} system calls. |
| 139 | +For process manipulation there were \texttt{fork()}, \texttt{exec()}, |
| 140 | +\texttt{wait()}, \texttt{exit()}. In total there were 48 syscalls, out of which |
| 141 | +35 exist till today. |
142 | 142 | \end{itemize} |
143 | 143 |
|
144 | 144 | %%%%% |
|
0 commit comments