<?xml version="1.0" encoding="utf-8" ?><transcript><text start="1.079" dur="4.081">so this is a preview of a conference</text><text start="3.419" dur="4.041">talk I&amp;#39;ve got coming up so we don&amp;#39;t</text><text start="5.16" dur="6.12">normally think too much these days about</text><text start="7.46" dur="6.099">what Unix means you know in 2023 most</text><text start="11.28" dur="4.019">Unix systems are actually running some</text><text start="13.559" dur="3.72">kind of Linux which includes you know</text><text start="15.299" dur="4.801">modern tools modern commands that were</text><text start="17.279" dur="5.701">just Unthinkable when Unix hit the scene</text><text start="20.1" dur="6">in the early 1970s but here we are some</text><text start="22.98" dur="4.5">you know 50 years later and Unix is</text><text start="26.1" dur="4.2">still going on and so I wanted to go</text><text start="27.48" dur="5.52">back into Unix history and sort of</text><text start="30.3" dur="6.36">demonstrate first hand what it was like</text><text start="33" dur="5.34">to use an original Unix now to do that I</text><text start="36.66" dur="4.8">need to talk a little bit about history</text><text start="38.34" dur="6.239">here so the first version of what we</text><text start="41.46" dur="5.22">would Call Unix came out in 1971 that</text><text start="44.579" dur="4.401">was Unix first edition and that was the</text><text start="46.68" dur="5.52">first one to run on the PDP 11 computer</text><text start="48.98" dur="5.5">the second edition came out uh in in</text><text start="52.2" dur="3.839">1972 and that was the first version that</text><text start="54.48" dur="3.719">included a c compiler because that&amp;#39;s</text><text start="56.039" dur="4.441">when the C programming language was born</text><text start="58.199" dur="3.961">the Third Edition included features that</text><text start="60.48" dur="2.879">we kind of take for granted today and</text><text start="62.16" dur="3.06">that was the first version that had</text><text start="63.359" dur="4.201">pipes and that&amp;#39;s where you could take</text><text start="65.22" dur="5.04">one command and send the output directly</text><text start="67.56" dur="5.82">to another command before that you had</text><text start="70.26" dur="4.859">to Output uh to a file and then you had</text><text start="73.38" dur="3.84">to read that file into another program</text><text start="75.119" dur="4.981">but now with pipes you could string one</text><text start="77.22" dur="4.92">command into the next</text><text start="80.1" dur="3.3">also that later that same year was</text><text start="82.14" dur="3.9">unix&amp;#39;s fourth edition that was really</text><text start="83.4" dur="5.579">the first time people got to see Unix uh</text><text start="86.04" dur="5.219">out Beyond much Beyond Bell Labs uh</text><text start="88.979" dur="4.32">fifth edition was really meant for</text><text start="91.259" dur="3">higher education the sixth edition was</text><text start="93.299" dur="2.721">the one where they started to see</text><text start="94.259" dur="3.961">commercial licenses</text><text start="96.02" dur="4.419">1979 things started to slow down a</text><text start="98.22" dur="3.539">little bit because it&amp;#39;s not really uh</text><text start="100.439" dur="2.401">something that Bell devs wanted to focus</text><text start="101.759" dur="2.581">on in terms of operating system</text><text start="102.84" dur="4.08">development but this is where we got the</text><text start="104.34" dur="4.919">Bourne shell in seventh edition 8th</text><text start="106.92" dur="6">Edition was again really meant for</text><text start="109.259" dur="5.161">higher education ninth Edition was never</text><text start="112.92" dur="4.8">really released it was kind of a</text><text start="114.42" dur="5.46">conceptual release in 1986 and then 1989</text><text start="117.72" dur="5.759">was the 10th edition that was the last</text><text start="119.88" dur="6.66">version of research Unix now what was in</text><text start="123.479" dur="4.681">each one of these versions so uh the</text><text start="126.54" dur="3.9">Unix first edition which came out</text><text start="128.16" dur="4.439">November 1971</text><text start="130.44" dur="4.86">included a bunch of commands that we</text><text start="132.599" dur="4.261">would recognize uh today I&amp;#39;m going to</text><text start="135.3" dur="4.26">highlight only a couple of things in</text><text start="136.86" dur="6.48">here uh Roth by the way was was in this</text><text start="139.56" dur="6.84">and so Roth uh was the first uh program</text><text start="143.34" dur="5.22">that would allow you to uh typeset text</text><text start="146.4" dur="4.62">before this there was another program</text><text start="148.56" dur="4.98">that was known in the competing circles</text><text start="151.02" dur="5.4">called runoff and that was a program</text><text start="153.54" dur="5.22">that uh got its name from I&amp;#39;m going to</text><text start="156.42" dur="4.44">run off a paper I&amp;#39;m going to run off a</text><text start="158.76" dur="4.74">document it was just a quick way to</text><text start="160.86" dur="5.7">format a document Roth was meant to be</text><text start="163.5" dur="5.04">sort of a simplified version of what</text><text start="166.56" dur="4.92">runoff provided and so that&amp;#39;s why I got</text><text start="168.54" dur="5.88">the short name Roth later it was well as</text><text start="171.48" dur="4.38">we&amp;#39;ll see there was a run an N Roth and</text><text start="174.42" dur="3.24">that was the new version of rock and</text><text start="175.86" dur="4.08">even later there was a t-roth and that</text><text start="177.66" dur="3.9">was when Bell Labs purchased a photo</text><text start="179.94" dur="3.96">type Center and they were able to now do</text><text start="181.56" dur="4.02">typesetted version of Roth but this</text><text start="183.9" dur="4.14">version also had a Fortran compiler</text><text start="185.58" dur="5.22">obviously that was Fortran 66 and of</text><text start="188.04" dur="5.46">course a basic environment Unix second</text><text start="190.8" dur="5.939">edition 1972 this was the first time</text><text start="193.5" dur="5.099">that they updated Roth to now become n</text><text start="196.739" dur="4.881">Roth and so we can actually start to</text><text start="198.599" dur="6.78">write documents using a more familiar</text><text start="201.62" dur="5.8">environment uh with uh with mroth</text><text start="205.379" dur="4.621">also as I said earlier this is the first</text><text start="207.42" dur="5.399">version that included the C compiler</text><text start="210" dur="5.519">now I actually have a copy of the Unix</text><text start="212.819" dur="6.481">second edition manual and so this is the</text><text start="215.519" dur="5.58">cover page for that manual in 1972. and</text><text start="219.3" dur="3.12">the table of contents shows you all the</text><text start="221.099" dur="3.78">different commands that were available</text><text start="222.42" dur="5.459">to you I&amp;#39;ve only grabbed the first two</text><text start="224.879" dur="4.981">pages here which shows uh section one of</text><text start="227.879" dur="4.021">the manual all the different commands</text><text start="229.86" dur="4.86">that you could run</text><text start="231.9" dur="4.979">Unix Third Edition is what I&amp;#39;m going to</text><text start="234.72" dur="4.5">show off because that was that was 50</text><text start="236.879" dur="5.881">years ago as I do this video and so that</text><text start="239.22" dur="5.34">included the first C debugger as I</text><text start="242.76" dur="3.839">mentioned also included pipes this is</text><text start="244.56" dur="5.399">also the first time that they split off</text><text start="246.599" dur="5.881">bin from user bin user was usually</text><text start="249.959" dur="4.5">mounted as a second hard drive and so</text><text start="252.48" dur="4.379">this allows you to split the commands</text><text start="254.459" dur="5.4">across core system commands and then</text><text start="256.859" dur="5.641">things were sort of more user oriented</text><text start="259.859" dur="5.041">now as we look at the the manual for</text><text start="262.5" dur="4.5">that this is the manual from 1973 again</text><text start="264.9" dur="3.9">this is the cover page you can see all</text><text start="267" dur="3.96">the different commands that were</text><text start="268.8" dur="3.959">available to you now in this video we&amp;#39;re</text><text start="270.96" dur="5.34">also going to explore nroff and so that</text><text start="272.759" dur="7.44">is uh part of the uh Enix Third Edition</text><text start="276.3" dur="5.1">uh and to look at some of the uh you</text><text start="280.199" dur="3.06">know what we&amp;#39;re talking about in terms</text><text start="281.4" dur="4.56">of emulating this old environment you</text><text start="283.259" dur="5.94">know what were people using to interact</text><text start="285.96" dur="6.239">with Unix back at that time well this is</text><text start="289.199" dur="5.641">the PDP 11 that they were using I think</text><text start="292.199" dur="4.44">this was taken around the time of Unix</text><text start="294.84" dur="4.98">first edition</text><text start="296.639" dur="5.101">and the teletype terminal is what Ken</text><text start="299.82" dur="4.98">Thompson is using there and that is</text><text start="301.74" dur="5.16">literally a big roll of paper and as you</text><text start="304.8" dur="4.74">press down on these Keys it would type</text><text start="306.9" dur="4.68">out on the piece of paper and when the</text><text start="309.54" dur="5.099">computer had output for you and type it</text><text start="311.58" dur="6.72">back out onto that piece of paper and so</text><text start="314.639" dur="5.881">that was the first terminal a teletype</text><text start="318.3" dur="4.32">terminal</text><text start="320.52" dur="4.019">now over time you started to get</text><text start="322.62" dur="4.68">electronic terminals these video display</text><text start="324.539" dur="6.481">units now granted this is a vt100</text><text start="327.3" dur="6.119">terminal which is uh long after uh Unix</text><text start="331.02" dur="5.34">3rd Edition but I&amp;#39;m showing it only</text><text start="333.419" dur="6.72">because it was probably arguably the the</text><text start="336.36" dur="7.679">most popular uh video terminal of its</text><text start="340.139" dur="7.441">era and but in the early 19 early to mid</text><text start="344.039" dur="5.341">1970s after we moved off of teletype you</text><text start="347.58" dur="4.74">started to get video display units which</text><text start="349.38" dur="5.94">looked not not unlike what you&amp;#39;re seeing</text><text start="352.32" dur="6.18">here and so when I do this demonstration</text><text start="355.32" dur="5.879">of what Unix might have looked like 50</text><text start="358.5" dur="4.68">years ago I&amp;#39;m going to use a video</text><text start="361.199" dur="3.78">display terminal that looks something</text><text start="363.18" dur="3.739">like this now when we talk about a</text><text start="364.979" dur="4.821">terminal emulator or a terminal window</text><text start="366.919" dur="4.901">on your Unix machine your Linux machine</text><text start="369.8" dur="4.839">this is actually what it&amp;#39;s emulating</text><text start="371.82" dur="6.3">it&amp;#39;s emulating a system like this the</text><text start="374.639" dur="4.981">old glass Terminals and one program that</text><text start="378.12" dur="4.199">I like that actually does a pretty good</text><text start="379.62" dur="5.88">job of emulating what it felt like to</text><text start="382.319" dur="4.621">use a glass terminal is cool retro term</text><text start="385.5" dur="4.919">and that&amp;#39;s what I&amp;#39;ve got here and so</text><text start="386.94" dur="5.759">this is emulating a glass terminal</text><text start="390.419" dur="3.72">uh for those of you who are curious uh</text><text start="392.699" dur="6.481">if I bring up the menu here you can see</text><text start="394.139" dur="9.601">that I&amp;#39;m running in uh Apple 2 mode and</text><text start="399.18" dur="7.739">I&amp;#39;m running in full screen and</text><text start="403.74" dur="6.239">this is set up right now to have uh just</text><text start="406.919" dur="5.181">do an echo on columns this is set up to</text><text start="409.979" dur="6.301">be an 88 column display</text><text start="412.1" dur="7.12">at 24 lines and so why did I pick this</text><text start="416.28" dur="4.68">well one I I wanted to be zoomed in far</text><text start="419.22" dur="4.68">enough that I could make it look kind of</text><text start="420.96" dur="5.88">like an original terminal system those</text><text start="423.9" dur="5.46">terminal systems were 80 columns wide</text><text start="426.84" dur="4.799">and 25 lines tall though usually the</text><text start="429.36" dur="4.98">last line was observed for some sort of</text><text start="431.639" dur="7.081">terminal display or terminal status so</text><text start="434.34" dur="7.079">an 80 by 24 is closest that I can get to</text><text start="438.72" dur="5.64">emulating an original uh you know glass</text><text start="441.419" dur="5.701">terminal and so 88 by 24</text><text start="444.36" dur="6.3">is pretty close now I&amp;#39;m running it in</text><text start="447.12" dur="5.519">this Apple 2 because this is what gives</text><text start="450.66" dur="5.099">me a font that is big enough that I</text><text start="452.639" dur="6.06">think it&amp;#39;ll show up well on YouTube now</text><text start="455.759" dur="6.601">I&amp;#39;ve also set up my terminal to emulate</text><text start="458.699" dur="7.141">a vt100 of the Linux terminal can all</text><text start="462.36" dur="5.82">emulate vt100</text><text start="465.84" dur="5.639">so what were some things that people</text><text start="468.18" dur="5.28">might have done on a Unix machine back</text><text start="471.479" dur="4.44">at that time and so one thing that a</text><text start="473.46" dur="6.54">person might have done is to write uh</text><text start="475.919" dur="7.981">programs and write documents while we</text><text start="480" dur="6.06">didn&amp;#39;t have VI in this era VI didn&amp;#39;t</text><text start="483.9" dur="4.019">come along until much later and so the</text><text start="486.06" dur="5.82">editor that everyone is using at the</text><text start="487.919" dur="6.481">time was an editor called Ed</text><text start="491.88" dur="6">and this is the line editor if you ever</text><text start="494.4" dur="5.579">look into original Unix systems this was</text><text start="497.88" dur="4.56">used all over the place until VI came</text><text start="499.979" dur="6.481">along now I&amp;#39;m going to use add them to</text><text start="502.44" dur="5.58">edit my my work here so if you ever want</text><text start="506.46" dur="4.38">to see what Ed looks like this is it so</text><text start="508.02" dur="4.139">let&amp;#39;s go ahead and edit a a program a</text><text start="510.84" dur="2.46">Fortran program and I don&amp;#39;t have</text><text start="512.159" dur="5.041">anything in this directory right now</text><text start="513.3" dur="5.88">let&amp;#39;s edit a new program in Fortran and</text><text start="517.2" dur="4.5">of course we&amp;#39;ll do this in Fortran 66.</text><text start="519.18" dur="4.219">now I&amp;#39;ve got a Fortran 77 compiler on</text><text start="521.7" dur="5.48">the system and actually all it really is</text><text start="523.399" dur="3.781">uh I&amp;#39;ve got a</text><text start="527.7" dur="10.639">I&amp;#39;ve got a Fortran 77 shell script which</text><text start="533.339" dur="5">is really uh a</text><text start="539.279" dur="7.081">an alias basically to the gnu Fortran</text><text start="543.3" dur="5.96">compiler which will happily compile uh</text><text start="546.36" dur="5.22">Fortran 77 and backwards compatible</text><text start="549.26" dur="5.38">programs so we can use this to compile</text><text start="551.58" dur="5.64">even though it&amp;#39;s f77 and Unix Edition 3</text><text start="554.64" dur="4.68">used Fortran 66. we can still use this</text><text start="557.22" dur="4.02">to sort of simulate the work that we&amp;#39;ve</text><text start="559.32" dur="3.72">done back then so let&amp;#39;s go ahead and</text><text start="561.24" dur="3.48">edit a program so the program I&amp;#39;m going</text><text start="563.04" dur="4.68">to edit here is let&amp;#39;s do a clear screen</text><text start="564.72" dur="3.96">uh clear the we&amp;#39;re going to</text><text start="567.72" dur="5.179">um</text><text start="568.68" dur="7.68">write a simple Fortran program that will</text><text start="572.899" dur="7.12">do some trajectory data for us and so I</text><text start="576.36" dur="5.52">was a physics undergraduate and this is</text><text start="580.019" dur="3.481">something that I would have done all the</text><text start="581.88" dur="3.78">time so I&amp;#39;m going to do a new program</text><text start="583.5" dur="6">I&amp;#39;m going to call Ed and I&amp;#39;m going to</text><text start="585.66" dur="6.299">name this program drop dot f</text><text start="589.5" dur="4.62">and there&amp;#39;s no file here yet so as I</text><text start="591.959" dur="3.961">save this file later on I&amp;#39;ll be creating</text><text start="594.12" dur="3.06">a new file so let&amp;#39;s go ahead and start</text><text start="595.92" dur="2.82">our prompt and so I&amp;#39;m going to do a</text><text start="597.18" dur="3.839">capital P and that will turn on the</text><text start="598.74" dur="5.159">prompt otherwise you just kind of have</text><text start="601.019" dur="5.221">to know where you are so the prompt here</text><text start="603.899" dur="3.841">is just a star an asterisk so let&amp;#39;s go</text><text start="606.24" dur="3.06">ahead and since this is an empty file</text><text start="607.74" dur="6.719">let&amp;#39;s go ahead and insert some new lines</text><text start="609.3" dur="6.9">so Fortran is a column sensitive and so</text><text start="614.459" dur="4.261">you need to be careful what column</text><text start="616.2" dur="4.68">you&amp;#39;re in so one two three four five six</text><text start="618.72" dur="6.54">so now I&amp;#39;m in column seven I&amp;#39;m going to</text><text start="620.88" dur="4.38">use a called this program drop</text><text start="625.98" dur="4.74">and what are we doing in this program</text><text start="628.14" dur="5.28">let&amp;#39;s let&amp;#39;s do some uh some documenting</text><text start="630.72" dur="6.54">here so let&amp;#39;s make a comment uh and so</text><text start="633.42" dur="6.8">this is uh going to simulate uh</text><text start="637.26" dur="2.96">trajectory data</text><text start="641.04" dur="10.68">and so the formula for trajectory is X</text><text start="644.94" dur="13.079">as a function of time is X 0 plus v zero</text><text start="651.72" dur="8.4">times time plus one half a t squared and</text><text start="658.019" dur="5.101">so when you do exponents and four train</text><text start="660.12" dur="4.98">it&amp;#39;s the double star and so that is the</text><text start="663.12" dur="3.2">trajectory data but if we make the</text><text start="665.1" dur="7.859">assumption</text><text start="666.32" dur="8.86">that x 0 is 0 and that V 0 is 0. this is</text><text start="672.959" dur="4.201">typical for uh some sort of experiment</text><text start="675.18" dur="3.54">where you&amp;#39;d want to get trajectory data</text><text start="677.16" dur="4.08">basically how long does it take an</text><text start="678.72" dur="4.32">object to fall</text><text start="681.24" dur="3.539">and undergraduates who do this all the</text><text start="683.04" dur="3.9">time to kind of measure the acceleration</text><text start="684.779" dur="3.541">due to gravity and so if we make that</text><text start="686.94" dur="7.98">assumption then what we&amp;#39;re ending up</text><text start="688.32" dur="8.22">with is uh X over any value of T is</text><text start="694.92" dur="5.28">going to be</text><text start="696.54" dur="7.62">uh just one half a t</text><text start="700.2" dur="7.62">squared now if we turn that around</text><text start="704.16" dur="6.72">we solve for T then how long does it</text><text start="707.82" dur="5.22">take when you drop uh any kind of object</text><text start="710.88" dur="4.079">let&amp;#39;s say just a in an undergraduate lab</text><text start="713.04" dur="4.32">it might be a steel ball and so if we</text><text start="714.959" dur="4.741">install solve for T then I can do some</text><text start="717.36" dur="5">simple math here to say that t squared</text><text start="719.7" dur="4.639">is going to be equal to</text><text start="722.36" dur="5.56">2x</text><text start="724.339" dur="6.481">divided by a</text><text start="727.92" dur="6">or in other words</text><text start="730.82" dur="10.06">T is going to be equal to the square</text><text start="733.92" dur="8.159">root of 2x oops 2x divided by a and so</text><text start="740.88" dur="2.459">that&amp;#39;s what we&amp;#39;re going to be doing here</text><text start="742.079" dur="2.76">we&amp;#39;re going to be doing a reverse</text><text start="743.339" dur="4.141">trajectory here we&amp;#39;re going to basically</text><text start="744.839" dur="5.341">simulate how long it takes uh some</text><text start="747.48" dur="5.64">object let&amp;#39;s say a ball to drop from</text><text start="750.18" dur="5.7">different heights uh and when I was an</text><text start="753.12" dur="4.32">undergraduate we&amp;#39;d use a photo gate and</text><text start="755.88" dur="4.8">that would give us some very accurate</text><text start="757.44" dur="5.04">timings for a for how long it would take</text><text start="760.68" dur="3.12">a an object to drop from different</text><text start="762.48" dur="4.26">heights and we would probably move this</text><text start="763.8" dur="4.5">up at let&amp;#39;s say 10 centimeter Heights or</text><text start="766.74" dur="2.219">something like that and so that&amp;#39;s what</text><text start="768.3" dur="3.9">we&amp;#39;re going to do here we&amp;#39;re going to</text><text start="768.959" dur="6.12">assimilate that and so we&amp;#39;re going to do</text><text start="772.2" dur="5.04">six I need to have some variables here</text><text start="775.079" dur="5.82">so we&amp;#39;ll do a double precision</text><text start="777.24" dur="6.42">double precision and then there&amp;#39;s we</text><text start="780.899" dur="4.141">need to measure certainly X and we need</text><text start="783.66" dur="3.06">to have t and we need to have the</text><text start="785.04" dur="5.52">acceleration due to gravity and so I&amp;#39;ll</text><text start="786.72" dur="8.22">just do that as G and then we probably</text><text start="790.56" dur="7.64">should establish G as being 9.8</text><text start="794.94" dur="5.48">and then we&amp;#39;ll start X</text><text start="798.2" dur="5.259">at</text><text start="800.42" dur="5.5">0.0 and I should have looked up before I</text><text start="803.459" dur="4.5">did this video If Fortran 66 had a do</text><text start="805.92" dur="4.979">Loop and I can&amp;#39;t remember if it did I</text><text start="807.959" dur="4.801">think it did but we&amp;#39;re gonna we&amp;#39;re gonna</text><text start="810.899" dur="3.841">make our own Loop uh so let&amp;#39;s do let&amp;#39;s</text><text start="812.76" dur="4.199">do this I think it&amp;#39;s I think we&amp;#39;d want</text><text start="814.74" dur="4.38">to put our start of our Loop here and so</text><text start="816.959" dur="3.781">we want to calculate that for that</text><text start="819.12" dur="3.62">height t</text><text start="820.74" dur="8.279">is going to be equal to</text><text start="822.74" dur="9.36">the square root of 2.0 times x divided</text><text start="829.019" dur="3.081">by G</text><text start="832.2" dur="3.84">and if that&amp;#39;s right then I should be</text><text start="834" dur="5.339">able to print out</text><text start="836.04" dur="5.4">the values of How High we dropped it</text><text start="839.339" dur="3.3">from and then how long it took to reach</text><text start="841.44" dur="3">the ground</text><text start="842.639" dur="4.44">so that&amp;#39;s what I want to do there and</text><text start="844.44" dur="4.199">then I want to now increment so I don&amp;#39;t</text><text start="847.079" dur="3">have a do Loop I&amp;#39;m doing this without a</text><text start="848.639" dur="6.421">do Loop so I&amp;#39;m just going to increment X</text><text start="850.079" dur="9.44">and so we&amp;#39;ll say x is X Plus 0.1</text><text start="855.06" dur="10.74">and then we&amp;#39;re going to say as long as X</text><text start="859.519" dur="9.281">is less than let&amp;#39;s say 1.05 I&amp;#39;m just I I</text><text start="865.8" dur="4.44">could do some other value but like 1.01</text><text start="868.8" dur="3.779">or something like that I I don&amp;#39;t want to</text><text start="870.24" dur="4.02">do like less than 1.1 just because I</text><text start="872.579" dur="4.861">don&amp;#39;t want there to be like drift in my</text><text start="874.26" dur="4.879">uh my floating point so I always can</text><text start="877.44" dur="4.199">learn as an undergraduate</text><text start="879.139" dur="5.5">make this if you&amp;#39;re doing a less than of</text><text start="881.639" dur="4.44">a comparison of a double Precision or a</text><text start="884.639" dur="3.06">real value you should just go beyond</text><text start="886.079" dur="2.82">slightly beyond what you&amp;#39;re looking for</text><text start="887.699" dur="4.5">so that&amp;#39;s going to do there it&amp;#39;s just</text><text start="888.899" dur="6.481">slightly Beyond one meter</text><text start="892.199" dur="7.14">and then we&amp;#39;ll if it&amp;#39;s less than that we</text><text start="895.38" dur="8.819">can then we can go back to go to 10.</text><text start="899.339" dur="7.141">and if it uh has now exceeded one meter</text><text start="904.199" dur="5.461">then we can go ahead and end the program</text><text start="906.48" dur="6.299">and so that should be correct</text><text start="909.66" dur="4.919">uh and so I&amp;#39;m going to put a period in</text><text start="912.779" dur="3.841">its own line and that tells Ed that I&amp;#39;ve</text><text start="914.579" dur="3.661">reached the end of my file I&amp;#39;m going to</text><text start="916.62" dur="3.24">go ahead and write that to disk because</text><text start="918.24" dur="3.539">I don&amp;#39;t want to mess anything up and</text><text start="919.86" dur="4.14">let&amp;#39;s look at the listing of my file so</text><text start="921.779" dur="4.86">do a one comma and then the end of the</text><text start="924" dur="5.16">file and we&amp;#39;ll say number every line</text><text start="926.639" dur="6.241">and so that tells me that that is a 16</text><text start="929.16" dur="5.4">line program and you can see the uh what</text><text start="932.88" dur="3.72">my program looks like now it&amp;#39;s it&amp;#39;s</text><text start="934.56" dur="4.5">added a tab in there from the left and</text><text start="936.6" dur="4.08">so not now everything isn&amp;#39;t uh left</text><text start="939.06" dur="4.56">Justified neatly if I want to do that I</text><text start="940.68" dur="5.459">could do one comma 16 let&amp;#39;s say it last</text><text start="943.62" dur="5.1">line and then P to print it out and then</text><text start="946.139" dur="3.661">I can see my my full listing I already</text><text start="948.72" dur="5.58">saved the file so let&amp;#39;s go ahead and</text><text start="949.8" dur="7.94">quit and so if I compile that uh let&amp;#39;s</text><text start="954.3" dur="6.36">do uh in my case a program is called f77</text><text start="957.74" dur="5.5">and we&amp;#39;re going to save that as drop and</text><text start="960.66" dur="5.039">then there&amp;#39;s drop that f</text><text start="963.24" dur="5.88">and no errors so that&amp;#39;s good and so if I</text><text start="965.699" dur="6.181">just run drop then there it is so uh</text><text start="969.12" dur="5.82">going at 0.1 increments uh dropping</text><text start="971.88" dur="5.22">let&amp;#39;s say a ball uh not a surprise that</text><text start="974.94" dur="4.86">dropping it from zero gives you an</text><text start="977.1" dur="6.06">immediate hits the ground uh and then</text><text start="979.8" dur="5.339">going up that&amp;#39;s how long it takes uh for</text><text start="983.16" dur="3.479">a an object to hit the ground and so if</text><text start="985.139" dur="3.241">I were an undergraduate student this is</text><text start="986.639" dur="3.661">a typical program that I might write</text><text start="988.38" dur="4.38">let&amp;#39;s</text><text start="990.3" dur="4.38">um let&amp;#39;s let&amp;#39;s write a document that</text><text start="992.76" dur="4.379">describes this and so let&amp;#39;s start a new</text><text start="994.68" dur="4.5">document let&amp;#39;s do clear and so let&amp;#39;s</text><text start="997.139" dur="4.741">start a new document we&amp;#39;ll do it in the</text><text start="999.18" dur="5.339">me macros because I like to use that now</text><text start="1001.88" dur="5.819">we don&amp;#39;t have eqn that&amp;#39;s that&amp;#39;s the</text><text start="1004.519" dur="5.88">program that would appear later for</text><text start="1007.699" dur="5.521">t-roth to do equations and so we can&amp;#39;t</text><text start="1010.399" dur="4.8">do equations in this but we can directly</text><text start="1013.22" dur="3.9">format a document to kind of simulate</text><text start="1015.199" dur="5.221">equations so we&amp;#39;re going to do an ed of</text><text start="1017.12" dur="5.159">a new file called uh well I&amp;#39;ll just call</text><text start="1020.42" dur="4.08">it about.me</text><text start="1022.279" dur="4.261">and there&amp;#39;s no file there so when I save</text><text start="1024.5" dur="4.38">it it&amp;#39;ll be saved in file let&amp;#39;s go ahead</text><text start="1026.54" dur="5.94">and create a prompt and so as I insert</text><text start="1028.88" dur="6.72">some new text uh let&amp;#39;s uh if you watch</text><text start="1032.48" dur="4.319">the other video about how to use me uh</text><text start="1035.6" dur="2.699">you know how to do this and so we&amp;#39;re</text><text start="1036.799" dur="4.62">going to do is we&amp;#39;re going to create a a</text><text start="1038.299" dur="5.16">title page right up at the top uh I also</text><text start="1041.419" dur="5.16">like to Define my headers and so let&amp;#39;s</text><text start="1043.459" dur="5.34">say I wanted to have at the top uh well</text><text start="1046.579" dur="4.081">I&amp;#39;ll just put in left and center and</text><text start="1048.799" dur="4.5">then right just so you can see a demo of</text><text start="1050.66" dur="4.98">how you&amp;#39;d create page headers and I can</text><text start="1053.299" dur="4.321">also create a page footer and that would</text><text start="1055.64" dur="4.26">have let&amp;#39;s say left and then nothing in</text><text start="1057.62" dur="4.32">the middle so I&amp;#39;m going to do two single</text><text start="1059.9" dur="3.62">quotes there and we&amp;#39;ll do a page number</text><text start="1061.94" dur="4.859">on the right because anytime you use a</text><text start="1063.52" dur="5.14">percent uh in a header or footer that&amp;#39;ll</text><text start="1066.799" dur="3.961">insert the page number</text><text start="1068.66" dur="4.139">uh and just so we can see that that&amp;#39;s</text><text start="1070.76" dur="3.24">actually left in a footer I&amp;#39;ll actually</text><text start="1072.799" dur="3.841">just say</text><text start="1074" dur="4.02">um footer and then there&amp;#39;s our page</text><text start="1076.64" dur="3.899">number all right so that&amp;#39;s that&amp;#39;s what</text><text start="1078.02" dur="4.74">we&amp;#39;ll see there uh and then on the cover</text><text start="1080.539" dur="4.081">page I&amp;#39;m still on the cover page uh the</text><text start="1082.76" dur="4.159">title page let&amp;#39;s go ahead and Center</text><text start="1084.62" dur="5.46">some lines and so we&amp;#39;ll go in the center</text><text start="1086.919" dur="5.561">uh let&amp;#39;s do the next three lines that</text><text start="1090.08" dur="4.02">could output it and it&amp;#39;s blank lines</text><text start="1092.48" dur="5.579">don&amp;#39;t count so we&amp;#39;re going to space down</text><text start="1094.1" dur="5.699">by we&amp;#39;ll do three inches of space</text><text start="1098.059" dur="6.661">and then we&amp;#39;ll put in a title which I&amp;#39;ll</text><text start="1099.799" dur="8.641">make bold and I&amp;#39;ll say uh simple uh</text><text start="1104.72" dur="6.72">trajectory uh data</text><text start="1108.44" dur="5.52">and then we&amp;#39;ll uh we&amp;#39;ll space down an</text><text start="1111.44" dur="4.44">extra two lines</text><text start="1113.96" dur="4.079">and we&amp;#39;ll put in the author so Jim hall</text><text start="1115.88" dur="5.58">and then we&amp;#39;ll space down an extra line</text><text start="1118.039" dur="5.161">and then we&amp;#39;ll uh we&amp;#39;ll put in we&amp;#39;ll put</text><text start="1121.46" dur="3.959">on the date we&amp;#39;ll just say date and so</text><text start="1123.2" dur="4.26">there I&amp;#39;ve got three lines of output so</text><text start="1125.419" dur="3.661">I&amp;#39;ve got the simple trajectory data is a</text><text start="1127.46" dur="4.32">one line of output and then my name and</text><text start="1129.08" dur="4.44">then date so now it&amp;#39;s those are that&amp;#39;s</text><text start="1131.78" dur="4.019">the end of the three lines that gets</text><text start="1133.52" dur="4.26">centered dot CE</text><text start="1135.799" dur="5.701">and so now that I&amp;#39;ve done that I can now</text><text start="1137.78" dur="6">uh do a page break or break page BP and</text><text start="1141.5" dur="4.559">now the header and footer will now take</text><text start="1143.78" dur="4.139">effect and so let&amp;#39;s let&amp;#39;s also I like to</text><text start="1146.059" dur="4.74">now do line spacing If I Was An</text><text start="1147.919" dur="3.961">undergraduate student of two and now</text><text start="1150.799" dur="2.581">let&amp;#39;s go ahead and just create some</text><text start="1151.88" dur="2.7">section headings now I don&amp;#39;t need a</text><text start="1153.38" dur="2.82">number of these because I&amp;#39;m just going</text><text start="1154.58" dur="6.36">to do a simple document so we&amp;#39;ll do an</text><text start="1156.2" dur="6.719">un numbered heading dot uh that says</text><text start="1160.94" dur="3.78">um introduction it doesn&amp;#39;t have to be in</text><text start="1162.919" dur="4.681">quotes since I didn&amp;#39;t end up writing</text><text start="1164.72" dur="4.92">another word and then we&amp;#39;ll do a a left</text><text start="1167.6" dur="6.12">block paragraph</text><text start="1169.64" dur="5.82">uh which I personally remember LP is</text><text start="1173.72" dur="4.5">also a leading paragraph because if you</text><text start="1175.46" dur="5.94">look at any textbook or any formal book</text><text start="1178.22" dur="6.3">The the first paragraph after a section</text><text start="1181.4" dur="4.62">heading is block paragraph to the left</text><text start="1184.52" dur="4.56">is not doesn&amp;#39;t have that temporary</text><text start="1186.02" dur="6.06">indent dot PP would give me a temporary</text><text start="1189.08" dur="4.5">indent dot LP does not so I&amp;#39;m going to</text><text start="1192.08" dur="4.8">do a leading paragraph after that I&amp;#39;m</text><text start="1193.58" dur="6.56">going to say uh this program uh or this</text><text start="1196.88" dur="6">paper uh discusses</text><text start="1200.14" dur="5.94">uh a</text><text start="1202.88" dur="4.82">a Fortran</text><text start="1206.08" dur="3.479">program</text><text start="1207.7" dur="4.68">to</text><text start="1209.559" dur="7.201">simulate the</text><text start="1212.38" dur="4.38">simple trajectory motion</text><text start="1217.28" dur="4.98">of an object</text><text start="1219.5" dur="5.36">that has been dropped</text><text start="1222.26" dur="2.6">different</text><text start="1226.16" dur="4.86">and then we&amp;#39;ll do a paragraph in here</text><text start="1228.5" dur="8.539">and we&amp;#39;ll say</text><text start="1231.02" dur="8.539">the the math I will say derivation uh</text><text start="1237.039" dur="7.961">I will say</text><text start="1239.559" dur="7">uh assuming the the equation of motion</text><text start="1245" dur="3.24">and so this is where we get to be a</text><text start="1246.559" dur="5.101">little tricky here so we&amp;#39;re going to put</text><text start="1248.24" dur="6.36">in uh now I don&amp;#39;t have eqn uh which is</text><text start="1251.66" dur="4.56">the program for equations in in t-roth</text><text start="1254.6" dur="3.9">because this is still n Roth we don&amp;#39;t</text><text start="1256.22" dur="4.5">have qn yet so I need to do this on my</text><text start="1258.5" dur="3.96">own so I need to create uh and turn off</text><text start="1260.72" dur="3.54">fill so I&amp;#39;m going to do NF that will</text><text start="1262.46" dur="4.68">turn off filling no fill</text><text start="1264.26" dur="5.039">and now I&amp;#39;m going to put in the equation</text><text start="1267.14" dur="3.539">of motion so you can just do a couple of</text><text start="1269.299" dur="4.321">spaces in here so basically anything</text><text start="1270.679" dur="4.441">between NF and the next fi which is what</text><text start="1273.62" dur="3.24">I&amp;#39;m going to do later on I&amp;#39;ll do an fi</text><text start="1275.12" dur="5.16">and that will turn filling back on</text><text start="1276.86" dur="5.699">anything between NF and fi will be</text><text start="1280.28" dur="3.42">printed verbatim</text><text start="1282.559" dur="2.881">so I&amp;#39;m going to put in a couple of</text><text start="1283.7" dur="5.04">spaces here just to kind of Center it a</text><text start="1285.44" dur="6.979">little bit and we&amp;#39;ll say x uh as a</text><text start="1288.74" dur="6.66">function of T is going to be</text><text start="1292.419" dur="4.961">X 0. now I&amp;#39;m going to make that</text><text start="1295.4" dur="3">substrate subscript in a little bit and</text><text start="1297.38" dur="6.06">that but that&amp;#39;s okay I&amp;#39;m going to leave</text><text start="1298.4" dur="6.96">the zero here for now plus v 0 t and</text><text start="1303.44" dur="3.359">again I&amp;#39;ll make that 0 on the v as a</text><text start="1305.36" dur="3.9">subscription a little bit but for right</text><text start="1306.799" dur="4.441">now we&amp;#39;ll leave it as a placeholder plus</text><text start="1309.26" dur="5.399">and I&amp;#39;m going to put a fraction in here</text><text start="1311.24" dur="5.46">and uh I&amp;#39;m going to I&amp;#39;ll put the one</text><text start="1314.659" dur="4.26">half I have to draw that on my own and</text><text start="1316.7" dur="3.479">to keep I would normally put like a</text><text start="1318.919" dur="4.5">hyphen or something to kind of indicate</text><text start="1320.179" dur="4.86">this is a fraction one over two but I</text><text start="1323.419" dur="3.961">don&amp;#39;t want to look like a minus symbol</text><text start="1325.039" dur="4.561">so we&amp;#39;ll use an underscore</text><text start="1327.38" dur="6.299">and so there&amp;#39;s our placeholder for the</text><text start="1329.6" dur="7.559">one-half fraction and then a and then uh</text><text start="1333.679" dur="6.781">t squared and so I&amp;#39;m gonna make the next</text><text start="1337.159" dur="6.061">line I&amp;#39;m going to make a subscript or a</text><text start="1340.46" dur="3.959">superscript uh for that and so I don&amp;#39;t I</text><text start="1343.22" dur="4.079">don&amp;#39;t need to put in the two right now</text><text start="1344.419" dur="4.5">now let&amp;#39;s uh down here on the next line</text><text start="1347.299" dur="3.421">let&amp;#39;s now do the subscripts let&amp;#39;s put in</text><text start="1348.919" dur="4.081">the placehold for the subscripts and</text><text start="1350.72" dur="4.14">there&amp;#39;s our zero and our oops and then</text><text start="1353" dur="4.02">our zero and then we&amp;#39;ll do filling back</text><text start="1354.86" dur="3.54">on now we&amp;#39;ll stop editing there let&amp;#39;s</text><text start="1357.02" dur="3.96">see by the way</text><text start="1358.4" dur="7.68">and what line number are we on this is</text><text start="1360.98" dur="7.86">23 so 23 is the dot f i and so if I back</text><text start="1366.08" dur="5.28">up a little bit then let&amp;#39;s print lines</text><text start="1368.84" dur="4.5">20 to 23 and we&amp;#39;re going to number them</text><text start="1371.36" dur="5.76">just to kind of see what&amp;#39;s what and so</text><text start="1373.34" dur="7.38">21 is the uh the line that has my</text><text start="1377.12" dur="6.419">equation on it and line 20 is the one</text><text start="1380.72" dur="5.28">that has the dot NF on it and so let&amp;#39;s</text><text start="1383.539" dur="5.341">do let&amp;#39;s do 21 we&amp;#39;ll print that one out</text><text start="1386" dur="4.14">without any tabs or line numbers being</text><text start="1388.88" dur="3.24">put in there so that&amp;#39;s that&amp;#39;s exactly</text><text start="1390.14" dur="4.62">how it appears and so 20 I&amp;#39;m going to</text><text start="1392.12" dur="5.58">append to line 20 this will now go</text><text start="1394.76" dur="5.64">between 20 and 21.</text><text start="1397.7" dur="4.62">and now let&amp;#39;s do the the one and the</text><text start="1400.4" dur="3.06">half oh I forgot to put in the two uh</text><text start="1402.32" dur="3.18">for my fraction so we&amp;#39;ll have to fix</text><text start="1403.46" dur="4.14">line 22 in a minute uh and so let&amp;#39;s go</text><text start="1405.5" dur="5.22">ahead and put in I just do spaces and</text><text start="1407.6" dur="4.5">put in the one and then there&amp;#39;s the 2 to</text><text start="1410.72" dur="3.48">make the squared</text><text start="1412.1" dur="4.68">and then I&amp;#39;m done making that edit so</text><text start="1414.2" dur="5.16">we&amp;#39;ll do a period and let&amp;#39;s go back to</text><text start="1416.78" dur="5.279">20 to the end of the file and we&amp;#39;ll</text><text start="1419.36" dur="7.38">print those out</text><text start="1422.059" dur="6.681">okay and so uh line 20 is the NF 21 is</text><text start="1426.74" dur="5.64">the one and the two</text><text start="1428.74" dur="9.54">is the one with the equation on it and</text><text start="1432.38" dur="9.299">23 now is the uh the zeros so I want to</text><text start="1438.28" dur="5.5">change line 23</text><text start="1441.679" dur="5.041">and so I&amp;#39;m going to go over here and put</text><text start="1443.78" dur="4.8">in the 0 and the zero and then there&amp;#39;s</text><text start="1446.72" dur="4.98">my two</text><text start="1448.58" dur="4.8">and then let&amp;#39;s print out line 22.</text><text start="1451.7" dur="3.3">and so let&amp;#39;s go ahead and get rid of</text><text start="1453.38" dur="3.72">those zeros and so we can do this we can</text><text start="1455" dur="4.32">say starting at line 22 but then also</text><text start="1457.1" dur="5.459">ending in line 22 we&amp;#39;re going to swap</text><text start="1459.32" dur="5.64">any zeros with a space</text><text start="1462.559" dur="4.74">and let&amp;#39;s do a global and so that should</text><text start="1464.96" dur="3.78">be what I&amp;#39;ve just I think I just did the</text><text start="1467.299" dur="3.661">right thing so we&amp;#39;ll print out the the</text><text start="1468.74" dur="5.58">rest of the lines here 20 to the end of</text><text start="1470.96" dur="5.459">the of the file print those out and yep</text><text start="1474.32" dur="5.64">that did what I needed to do so it I&amp;#39;ve</text><text start="1476.419" dur="7.38">now created a formula that that looks</text><text start="1479.96" dur="8.88">like the equation of motion X is a</text><text start="1483.799" dur="7.74">function of time x is 0 plus v 0 t plus</text><text start="1488.84" dur="4.92">one half a t squared since I don&amp;#39;t have</text><text start="1491.539" dur="5.041">the eqn program to make equations for me</text><text start="1493.76" dur="4.68">this is the closest I can get on a plain</text><text start="1496.58" dur="3.479">typewriter device</text><text start="1498.44" dur="3.3">uh by the way just to remind ourselves</text><text start="1500.059" dur="3.661">where we are here let&amp;#39;s back up a little</text><text start="1501.74" dur="5.1">bit so 15 to the end of the file we&amp;#39;ll</text><text start="1503.72" dur="5.76">number those lines here and so then 24 I</text><text start="1506.84" dur="4.68">can now start appending after 24 and</text><text start="1509.48" dur="2.76">then I can say</text><text start="1511.52" dur="3.779">um</text><text start="1512.24" dur="4.679">uh dot LP because this is just going to</text><text start="1515.299" dur="2.941">be an assumption here let&amp;#39;s do a full</text><text start="1516.919" dur="3.441">paragraph</text><text start="1518.24" dur="2.12">um</text><text start="1520.88" dur="6.92">dropping an object uh</text><text start="1525.799" dur="3.321">with uh</text><text start="1527.8" dur="5.46">[Music]</text><text start="1529.12" dur="4.14">zero initial velocity</text><text start="1533.62" dur="6.88">and uh</text><text start="1536.559" dur="5.321">assuming uh the</text><text start="1540.5" dur="3.96">uh</text><text start="1541.88" dur="5.36">we measure the height</text><text start="1544.46" dur="2.78">the distance</text><text start="1548" dur="8.96">dropped after time and we&amp;#39;ll do this as</text><text start="1553.34" dur="8.42">an italics time T</text><text start="1556.96" dur="10.24">we can simplify the equation</text><text start="1561.76" dur="7.06">2 and then we&amp;#39;ll just say here Dot</text><text start="1567.2" dur="2.52">well let&amp;#39;s finish editing here real</text><text start="1568.82" dur="2.959">quick</text><text start="1569.72" dur="2.059">um</text><text start="1571.94" dur="5.52">the let me back up a little bit so 24</text><text start="1574.34" dur="6.3">until the end of the LA end of the</text><text start="1577.46" dur="4.14">the file is that so I want to actually</text><text start="1580.64" dur="4.039">put in</text><text start="1581.6" dur="7.38">uh initial velocity</text><text start="1584.679" dur="5.581">uh so I&amp;#39;ll do 26 append and I&amp;#39;ll put an</text><text start="1588.98" dur="3.54">italics</text><text start="1590.26" dur="5.38">uh v0</text><text start="1592.52" dur="4.98">there all right so uh let&amp;#39;s do the uh</text><text start="1595.64" dur="4.32">should be now 31 should now be the last</text><text start="1597.5" dur="4.74">line we&amp;#39;ll do 30 comma the end of the</text><text start="1599.96" dur="4.199">file we&amp;#39;ll number those out and yep so</text><text start="1602.24" dur="7.28">we can now simplify that so 31 append</text><text start="1604.159" dur="5.361">we&amp;#39;re going to then do a</text><text start="1609.88" dur="4.06">where is my equation how long how far in</text><text start="1612.26" dur="3.72">did I did I do my equation so we&amp;#39;ll do</text><text start="1613.94" dur="5.94">20 to the end of the file we&amp;#39;ll print</text><text start="1615.98" dur="7.38">those out and then it was uh</text><text start="1619.88" dur="4.86">uh there we go so 31 append okay that&amp;#39;ll</text><text start="1623.36" dur="4.76">be the last line</text><text start="1624.74" dur="3.38">I can now say</text><text start="1628.279" dur="5.161">looks like it&amp;#39;s</text><text start="1630.38" dur="6.02">I did five so x t</text><text start="1633.44" dur="7.2">uh is going to be</text><text start="1636.4" dur="7.12">uh just one half 80 squared so there&amp;#39;s</text><text start="1640.64" dur="7.519">our bar for the one half there&amp;#39;s our a</text><text start="1643.52" dur="7.5">there&amp;#39;s our T and then we can put in the</text><text start="1648.159" dur="5.62">uh the</text><text start="1651.02" dur="4.019">the two and then we need to turn filling</text><text start="1653.779" dur="4.221">back on</text><text start="1655.039" dur="2.961">and then</text><text start="1660.26" dur="7.26">I didn&amp;#39;t track where I was supposed to</text><text start="1662.48" dur="7.439">be so 28 29 30 31 so 31 append I want to</text><text start="1667.52" dur="7.159">turn filling off so no fill</text><text start="1669.919" dur="4.76">and then I can also now insert the one</text><text start="1675.919" dur="4.38">and that&amp;#39;s the one</text><text start="1678.559" dur="3.72">and then let&amp;#39;s go ahead and print where</text><text start="1680.299" dur="5.821">we were again so 30 to the end of the</text><text start="1682.279" dur="7.741">file of it numbered and then</text><text start="1686.12" dur="8.1">and I can say 36 append uh</text><text start="1690.02" dur="5.7">let&amp;#39;s we can uh</text><text start="1694.22" dur="4.4">to measure</text><text start="1695.72" dur="2.9">a Time</text><text start="1698.779" dur="5.9">required to drop a distance</text><text start="1704.779" dur="3.561">with an italics X</text><text start="1708.38" dur="5">um</text><text start="1710" dur="3.38">can be calculated</text><text start="1714.02" dur="3.3">as</text><text start="1715.34" dur="5.52">and then we&amp;#39;ll do</text><text start="1717.32" dur="7.04">another one where it&amp;#39;s no fill</text><text start="1720.86" dur="3.5">and then we&amp;#39;ll just say</text><text start="1725.299" dur="6.781">five it&amp;#39;s going to be t</text><text start="1728" dur="5.059">equals the square root</text><text start="1732.08" dur="3.9">of</text><text start="1733.059" dur="5.381">it&amp;#39;s going to be 2x over a if we do that</text><text start="1735.98" dur="3.84">math right so that was uh we need to</text><text start="1738.44" dur="3.599">have a</text><text start="1739.82" dur="4.739">division there we want to put the the 2x</text><text start="1742.039" dur="4.801">the a in there so there&amp;#39;s our square</text><text start="1744.559" dur="3.541">root and then we&amp;#39;ll up here we&amp;#39;ll do the</text><text start="1746.84" dur="3.48">a</text><text start="1748.1" dur="6.059">on the bottom and then we&amp;#39;ll turn</text><text start="1750.32" dur="6.78">filling back on ending our edit</text><text start="1754.159" dur="4.681">and so if I do a 36 to the end of the</text><text start="1757.1" dur="7.5">line print it out</text><text start="1758.84" dur="11.12">then if that&amp;#39;s 36 37 38 39 40 41 if I do</text><text start="1764.6" dur="5.36">a 41 append I can now put the 2x on top</text><text start="1774.02" dur="4.62">all right and so I think you can kind of</text><text start="1776.36" dur="3.78">see where this is going so it&amp;#39;s it&amp;#39;s</text><text start="1778.64" dur="3.96">kind of an interesting little file and</text><text start="1780.14" dur="3.8">just write it back to the disk and if I</text><text start="1782.6" dur="4.079">do</text><text start="1783.94" dur="8.08">quit that and then I can view that file</text><text start="1786.679" dur="7.261">with more uh of uh about dot me</text><text start="1792.02" dur="4.62">you can see I&amp;#39;ve got my title page up</text><text start="1793.94" dur="5.339">there my header my footer I&amp;#39;ve centered</text><text start="1796.64" dur="7.919">in the title I created a new page and</text><text start="1799.279" dur="7.5">then I have the double spaced and then I</text><text start="1804.559" dur="4.321">have a section heading and then some</text><text start="1806.779" dur="3.601">paragraphs and so the paragraphs also</text><text start="1808.88" dur="3.48">have some equations in them which I&amp;#39;m</text><text start="1810.38" dur="4.019">just double checking look correct and</text><text start="1812.36" dur="4.08">then I haven&amp;#39;t messed anything up and so</text><text start="1814.399" dur="4.101">that looks okay to me</text><text start="1816.44" dur="8.54">and so now if I were to</text><text start="1818.5" dur="10.899">run n Roth on that nroth with me macros</text><text start="1824.98" dur="6.4">and the the file was about.me</text><text start="1829.399" dur="5.9">and then I can run that into more just</text><text start="1831.38" dur="3.919">so I can look at it one screen at a time</text><text start="1836.539" dur="3.901">and so that the first page was blank</text><text start="1838.82" dur="3">because that was the three inches that</text><text start="1840.44" dur="4.5">it was trying to go down so there&amp;#39;s my</text><text start="1841.82" dur="4.92">title and then the rest of the blank</text><text start="1844.94" dur="4.56">page for page one and then we should be</text><text start="1846.74" dur="4.74">on page two over here and there we are</text><text start="1849.5" dur="6.779">double spaced and it looks like I need</text><text start="1851.48" dur="7.76">to single space on my uh on my my</text><text start="1856.279" dur="5.461">equations we can fix that</text><text start="1859.24" dur="3.7">and but you can see otherwise the rest</text><text start="1861.74" dur="2.819">of it is looking</text><text start="1862.94" dur="3.359">looking pretty good actually let&amp;#39;s just</text><text start="1864.559" dur="3.541">go ahead and take out the uh there&amp;#39;s my</text><text start="1866.299" dur="3.6">footer now let&amp;#39;s go ahead and just take</text><text start="1868.1" dur="5.1">out maybe the</text><text start="1869.899" dur="5.4">that line spacing so we&amp;#39;ll do add on</text><text start="1873.2" dur="3.959">about.me</text><text start="1875.299" dur="3.36">and it was somewhere towards the top so</text><text start="1877.159" dur="4.861">it was something like let&amp;#39;s start at</text><text start="1878.659" dur="5.4">five and we&amp;#39;ll go down to 15 and we&amp;#39;ll</text><text start="1882.02" dur="3.96">number those lines and so there it is</text><text start="1884.059" dur="3.421">looks like 12 will need to get rid of so</text><text start="1885.98" dur="5.1">we&amp;#39;re going to say 12d and that&amp;#39;ll</text><text start="1887.48" dur="5.22">delete line 12 and so if I go back to uh</text><text start="1891.08" dur="3.06">I forgot to turn my prompt back on so</text><text start="1892.7" dur="3.9">I&amp;#39;m just typing into the into the air</text><text start="1894.14" dur="4.019">and then we&amp;#39;ll start it at line 10 which</text><text start="1896.6" dur="4.079">should be the date instruction we&amp;#39;ll go</text><text start="1898.159" dur="4.62">down to line 14 which should be the this</text><text start="1900.679" dur="4.38">paper discusses and we&amp;#39;ll print those</text><text start="1902.779" dur="4.62">out I&amp;#39;ll do number</text><text start="1905.059" dur="4.261">right and so now I&amp;#39;ve got I just verify</text><text start="1907.399" dur="4.02">that I got rid of of what used to be</text><text start="1909.32" dur="5.219">line 12 which was the line spacing of</text><text start="1911.419" dur="6.781">two so I can write that back to disk and</text><text start="1914.539" dur="6.181">now I&amp;#39;ve created a a Fortran program and</text><text start="1918.2" dur="6.12">I&amp;#39;ve now written a document about it uh</text><text start="1920.72" dur="6.3">let&amp;#39;s when we actually process this</text><text start="1924.32" dur="6.239">uh this enrock file it&amp;#39;d be nice to</text><text start="1927.02" dur="4.68">actually verify what our uh line numbers</text><text start="1930.559" dur="2.941">are you know right so we don&amp;#39;t actually</text><text start="1931.7" dur="3.42">have a program to do that I would</text><text start="1933.5" dur="3.48">normally write an AUX script to do that</text><text start="1935.12" dur="4.559">it&amp;#39;s very easy to do an awk just to put</text><text start="1936.98" dur="6.179">line numbers before each one or these</text><text start="1939.679" dur="5.161">days the cat command has that option uh</text><text start="1943.159" dur="3.301">but in Unix 3rd Edition we didn&amp;#39;t have</text><text start="1944.84" dur="4.26">the ability with either of those</text><text start="1946.46" dur="5.099">programs uh OCT didn&amp;#39;t exist and Cat</text><text start="1949.1" dur="6.179">didn&amp;#39;t have that option so let&amp;#39;s write a</text><text start="1951.559" dur="5.521">simple C program that will put line</text><text start="1955.279" dur="4.62">numbers in front of each line so we&amp;#39;ll</text><text start="1957.08" dur="7.14">clear the screen here and we&amp;#39;re going to</text><text start="1959.899" dur="6.241">do Ed on a program called lineum.com</text><text start="1964.22" dur="3.72">this file doesn&amp;#39;t exist this will be a</text><text start="1966.14" dur="4.32">new file let&amp;#39;s go ahead and start a new</text><text start="1967.94" dur="5.219">one now uh I&amp;#39;m not going to be able to</text><text start="1970.46" dur="6.079">write old original C on here so we&amp;#39;ll</text><text start="1973.159" dur="7.38">just do the best here that we can uh the</text><text start="1976.539" dur="6.061">uh so we&amp;#39;re going to insert uh uh we&amp;#39;re</text><text start="1980.539" dur="5.88">starting here with by saying include</text><text start="1982.6" dur="7.36">standard io.h and then I&amp;#39;ll need to have</text><text start="1986.419" dur="5.401">a program in here int Main and then that</text><text start="1989.96" dur="3.86">will take two options so read the</text><text start="1991.82" dur="6.42">command line so into Arc</text><text start="1993.82" dur="6.88">and then care ARG V</text><text start="1998.24" dur="4.819">and then I need to be able to process</text><text start="2000.7" dur="5.04">the command line so I need to do ins I</text><text start="2003.059" dur="6.22">and then I need to open some files and</text><text start="2005.74" dur="5.58">sold to a file of P file</text><text start="2009.279" dur="4.38">that&amp;#39;s our pointer to a file so what I</text><text start="2011.32" dur="3.62">do here is I&amp;#39;m going to scan the command</text><text start="2013.659" dur="7.161">line</text><text start="2014.94" dur="5.88">and if if no files then</text><text start="2021.12" dur="6.039">read from</text><text start="2023.7" dur="6.459">standard in and print to stand it out</text><text start="2027.159" dur="3">otherwise</text><text start="2030.22" dur="5.819">open each file</text><text start="2033.94" dur="3.839">process them</text><text start="2036.039" dur="3.12">and so we&amp;#39;re going to write a function a</text><text start="2037.779" dur="2.941">little bit that will actually allow us</text><text start="2039.159" dur="3.841">to process these but for right now let&amp;#39;s</text><text start="2040.72" dur="3.42">go ahead and check how many options we</text><text start="2043" dur="4.74">have in our command line so we&amp;#39;re doing</text><text start="2044.14" dur="7.62">if ARG C is equal to one that means that</text><text start="2047.74" dur="5.939">we only have the ARG V 0 which is the</text><text start="2051.76" dur="3.3">name of the program itself that means we</text><text start="2053.679" dur="2.761">don&amp;#39;t have any options on the command</text><text start="2055.06" dur="3.72">line so we&amp;#39;ll just say okay if that&amp;#39;s</text><text start="2056.44" dur="4.62">the case then we&amp;#39;ll call the the</text><text start="2058.78" dur="5.879">function line num</text><text start="2061.06" dur="7.26">find them from using standard in as the</text><text start="2064.659" dur="5.46">input and standard out is the output</text><text start="2068.32" dur="4.98">and then we can be done with that</text><text start="2070.119" dur="6.901">otherwise we&amp;#39;ll just say else uh we&amp;#39;re</text><text start="2073.3" dur="6.539">going to do a for Loop of I equals one</text><text start="2077.02" dur="4.26">and then as long as I is less than the</text><text start="2079.839" dur="3.721">ARG count</text><text start="2081.28" dur="5.66">then we&amp;#39;re going to increment I after</text><text start="2083.56" dur="3.38">each iteration of the loop</text><text start="2087.339" dur="3.601">and now we&amp;#39;re going to open the file so</text><text start="2089.32" dur="8.34">we&amp;#39;re going to save the pointer to the</text><text start="2090.94" dur="10.1">file using F open and ARG v i oops I</text><text start="2097.66" dur="3.38">and we&amp;#39;re going to read that file</text><text start="2101.38" dur="7.38">and then if we so we&amp;#39;ll say if the P</text><text start="2105.88" dur="5.34">pointed to the file is no that means we</text><text start="2108.76" dur="5.22">couldn&amp;#39;t open it</text><text start="2111.22" dur="6">and so I&amp;#39;m going to do F printf to oops</text><text start="2113.98" dur="4.859">to standard error and say cannot open</text><text start="2117.22" dur="5.04">file</text><text start="2118.839" dur="6.381">and then we&amp;#39;ll just name the file</text><text start="2122.26" dur="2.96">so argb</text><text start="2127.78" dur="2.78">otherwise</text><text start="2132.96" dur="3.94">otherwise now we&amp;#39;ve got an active file</text><text start="2135.28" dur="4.5">pointer it&amp;#39;s correct and so I should be</text><text start="2136.9" dur="5.16">able to call line num my function that I</text><text start="2139.78" dur="5.76">have written yet using reading from P</text><text start="2142.06" dur="5.64">file and then printing the standard out</text><text start="2145.54" dur="5.039">and once I&amp;#39;ve done that I should</text><text start="2147.7" dur="4.98">probably close I&amp;#39;ve closed the pointer</text><text start="2150.579" dur="4.26">to the file and that allows me to go on</text><text start="2152.68" dur="4.5">to the next</text><text start="2154.839" dur="4.081">entry in the file right and the command</text><text start="2157.18" dur="4.14">line and so that should be the end of my</text><text start="2158.92" dur="4.32">for Loop</text><text start="2161.32" dur="4.08">and</text><text start="2163.24" dur="4.26">that should also be the end of my else</text><text start="2165.4" dur="3.6">block and then the program can happily</text><text start="2167.5" dur="4.44">return back the operating system so</text><text start="2169" dur="4.8">we&amp;#39;ll say return zero</text><text start="2171.94" dur="4.1">all right so let&amp;#39;s save that before we</text><text start="2173.8" dur="5.52">get lost now I need to write a function</text><text start="2176.04" dur="5.62">that will do line num and let&amp;#39;s let&amp;#39;s</text><text start="2179.32" dur="3.42">put that before our main function so</text><text start="2181.66" dur="3">let&amp;#39;s just look at what we&amp;#39;ve got here</text><text start="2182.74" dur="6.74">one through five we&amp;#39;ll number those</text><text start="2184.66" dur="7.919">lines so I want to insert after line one</text><text start="2189.48" dur="5.44">uh we&amp;#39;ll do append</text><text start="2192.579" dur="4.081">and so I&amp;#39;m going to put in a blank line</text><text start="2194.92" dur="3.36">and then we&amp;#39;ll write our function so the</text><text start="2196.66" dur="4.439">function is a void function doesn&amp;#39;t</text><text start="2198.28" dur="5.76">return anything and we call it line num</text><text start="2201.099" dur="5.541">and we have a file input and a file</text><text start="2204.04" dur="2.6">output</text><text start="2207.339" dur="3.861">and how do I need to read this I need to</text><text start="2209.74" dur="5.28">be able to read this</text><text start="2211.2" dur="4.78">as uh I need to be able to read it there</text><text start="2215.02" dur="2.339">are different ways I could write this</text><text start="2215.98" dur="3.599">this function I could I could actually</text><text start="2217.359" dur="4.081">do it a very efficient way uh in terms</text><text start="2219.579" dur="4.141">of file i o where I&amp;#39;m I&amp;#39;m just reading</text><text start="2221.44" dur="4.679">in things to a buffer</text><text start="2223.72" dur="4.44">um I could do it another way I guess so</text><text start="2226.119" dur="3.541">where I could read it line at a time uh</text><text start="2228.16" dur="5.16">here I&amp;#39;m going to do the very simple</text><text start="2229.66" dur="5.76">naive way uh just because I&amp;#39;m I&amp;#39;m not</text><text start="2233.32" dur="4.44">doing an algorithm video here this is</text><text start="2235.42" dur="4.919">just a video to demonstrate how to use</text><text start="2237.76" dur="4.2">uh old uh Unix and so uh Ed is really</text><text start="2240.339" dur="4.141">the The Shining Point here so let&amp;#39;s just</text><text start="2241.96" dur="4.98">do a very simple function that reads</text><text start="2244.48" dur="6.42">characters one at a time from the file</text><text start="2246.94" dur="6.899">and then after every uh new line it</text><text start="2250.9" dur="6.179">prints uh a line number on the next line</text><text start="2253.839" dur="5.821">so that will tell us uh which line we&amp;#39;re</text><text start="2257.079" dur="4.101">on and after every 66 lines because n</text><text start="2259.66" dur="4.14">Roth should</text><text start="2261.18" dur="4">generate 66 lines at a time because if</text><text start="2263.8" dur="5.64">you watch the other video you know that</text><text start="2265.18" dur="7.02">uh you know nroth generates 66 lines</text><text start="2269.44" dur="5.58">because a printed page was 80 columns</text><text start="2272.2" dur="4.32">wide by 66 lines tall after every 66</text><text start="2275.02" dur="2.64">we&amp;#39;ll have to reset the number back to</text><text start="2276.52" dur="4.26">one</text><text start="2277.66" dur="4.86">so we need to have room for a character</text><text start="2280.78" dur="4.14">that we&amp;#39;re going to read in and we&amp;#39;re</text><text start="2282.52" dur="4.86">going to do a line number we&amp;#39;ll just</text><text start="2284.92" dur="4.56">call it line which we can initialize to</text><text start="2287.38" dur="5.04">one</text><text start="2289.48" dur="4.92">all right so I guess we should probably</text><text start="2292.42" dur="5.179">start</text><text start="2294.4" dur="8.28">uh by doing a printf</text><text start="2297.599" dur="6.76">on uh well spaces went out to two of the</text><text start="2302.68" dur="3.3">line number and then we&amp;#39;ll do a colon</text><text start="2304.359" dur="3.781">and then we&amp;#39;ll immediately print out the</text><text start="2305.98" dur="3.599">rest of the line so that&amp;#39;s the line and</text><text start="2308.14" dur="3.959">we&amp;#39;ll increment that after we&amp;#39;re done</text><text start="2309.579" dur="5.28">printing it</text><text start="2312.099" dur="5.401">and then I think I can go ahead and loop</text><text start="2314.859" dur="5.281">the uh the uh the uh the file now so</text><text start="2317.5" dur="3.3">we&amp;#39;ll do a do</text><text start="2320.14" dur="3.439">um</text><text start="2320.8" dur="7.26">and uh what we&amp;#39;ll do is then I&amp;#39;ll read</text><text start="2323.579" dur="7.961">CH using F get C</text><text start="2328.06" dur="5.16">uh from the input</text><text start="2331.54" dur="3.84">now what that will do is that will</text><text start="2333.22" dur="3.48">return a character unless it&amp;#39;s the end</text><text start="2335.38" dur="3.62">of the file in which case we&amp;#39;ll return</text><text start="2336.7" dur="7.139">eof so we need to double check</text><text start="2339" dur="7.92">if the the character is not eof now we</text><text start="2343.839" dur="3.081">can actually do something with it</text><text start="2348.4" dur="4.62">and so what we&amp;#39;re going to do is we&amp;#39;re</text><text start="2350.2" dur="4.2">going to we should print it out first</text><text start="2353.02" dur="5.4">because if it&amp;#39;s a new line we&amp;#39;ll want to</text><text start="2354.4" dur="5.699">print after that so we&amp;#39;ll do F put C and</text><text start="2358.42" dur="4.74">that should be the character we want to</text><text start="2360.099" dur="6.48">put out and then where it is going to go</text><text start="2363.16" dur="7.74">and then we&amp;#39;ll ask if</text><text start="2366.579" dur="7.861">the character is a new line</text><text start="2370.9" dur="4.86">then we&amp;#39;re on it we&amp;#39;re on a new line so</text><text start="2374.44" dur="3.179">we should print out the new line number</text><text start="2375.76" dur="4.76">and so we&amp;#39;ll just repeat we have up</text><text start="2377.619" dur="9.96">above so printf</text><text start="2380.52" dur="9.599">and then percent to D and then line plus</text><text start="2387.579" dur="2.54">plus</text><text start="2391.06" dur="8.1">and that is that</text><text start="2394.32" dur="5.92">and we&amp;#39;ll do the 66 back to one in a</text><text start="2399.16" dur="4.439">little bit just want to make sure this</text><text start="2400.24" dur="5.4">works and then that should be that and</text><text start="2403.599" dur="8.041">then I have my do Loop which I&amp;#39;m ending</text><text start="2405.64" dur="10.199">as while CH is not the end of file</text><text start="2411.64" dur="7.16">and that should be it and so I can now</text><text start="2415.839" dur="2.961">save that</text><text start="2419.7" dur="4.84">and I should be able to just write that</text><text start="2422.56" dur="7.26">back to disk let&amp;#39;s let&amp;#39;s compile that</text><text start="2424.54" dur="6.6">let&amp;#39;s check it uh so let&amp;#39;s do a uh</text><text start="2429.82" dur="5.64">CC</text><text start="2431.14" dur="6.78">of uh save the output of line num of</text><text start="2435.46" dur="4.32">line num.c</text><text start="2437.92" dur="5.06">and that looks right</text><text start="2439.78" dur="5.7">and so if I were to actually process</text><text start="2442.98" dur="4.78">[Music]</text><text start="2445.48" dur="3.72">we&amp;#39;re going to do an N Roth using me</text><text start="2447.76" dur="5.52">macros</text><text start="2449.2" dur="6.899">of uh about dot me</text><text start="2453.28" dur="5.52">and then put that into line num</text><text start="2456.099" dur="6.381">and then view that through more</text><text start="2458.8" dur="3.68">then there&amp;#39;s my line numbers</text><text start="2462.88" dur="3.719">and</text><text start="2464.38" dur="6.6">they didn&amp;#39;t set it so that it would</text><text start="2466.599" dur="7.101">re-set it back to 1 after 66 so 67 is</text><text start="2470.98" dur="6">actually the first line of page two</text><text start="2473.7" dur="5.56">and there we are so now we&amp;#39;re up to 100</text><text start="2476.98" dur="4.5">and so that should that looks like it&amp;#39;s</text><text start="2479.26" dur="6.42">working so I&amp;#39;m going to quit that and</text><text start="2481.48" dur="6.18">now if I uh go back into the line num</text><text start="2485.68" dur="5.1">program</text><text start="2487.66" dur="5.16">let&amp;#39;s go in and find that that Loop and</text><text start="2490.78" dur="4.98">so uh where it was it was sort of</text><text start="2492.82" dur="5.46">towards the it was in that function so</text><text start="2495.76" dur="4.02">it was somewhere after line 10 and we&amp;#39;ll</text><text start="2498.28" dur="4.68">go up to line</text><text start="2499.78" dur="6.24">uh go up to line 30.</text><text start="2502.96" dur="6.18">and we&amp;#39;ll uh we&amp;#39;ll print those lines out</text><text start="2506.02" dur="6.78">okay so there it is the uh so I&amp;#39;m going</text><text start="2509.14" dur="5.82">to say uh let&amp;#39;s do line 15 to line 20</text><text start="2512.8" dur="5.88">and we&amp;#39;ll number those out</text><text start="2514.96" dur="6.44">and so that looks right and so after I</text><text start="2518.68" dur="2.72">print it out</text><text start="2521.98" dur="4.92">um</text><text start="2523.079" dur="9.401">Let&amp;#39;s uh let&amp;#39;s let&amp;#39;s Nest it</text><text start="2526.9" dur="7.86">inside so we&amp;#39;re going to do an 18 append</text><text start="2532.48" dur="3">let&amp;#39;s do 18 print so I can see where it</text><text start="2534.76" dur="1.92">is</text><text start="2535.48" dur="2.58">because I want to make sure my indenting</text><text start="2536.68" dur="2.939">is right so we&amp;#39;re going to do 18 we&amp;#39;re</text><text start="2538.06" dur="3.42">going to pend after that</text><text start="2539.619" dur="3.661">and I&amp;#39;m going to put in a blank line and</text><text start="2541.48" dur="5.82">then we&amp;#39;ll say</text><text start="2543.28" dur="7.14">if now that we&amp;#39;re done incrementing line</text><text start="2547.3" dur="8.4">two by one does it happen in line 18. if</text><text start="2550.42" dur="5.28">line is greater than 66 then</text><text start="2556.2" dur="7.72">line should get reset back to one</text><text start="2560.38" dur="5.34">and that should be the edit so period</text><text start="2563.92" dur="4.38">will stop my append we&amp;#39;ll write that</text><text start="2565.72" dur="6.6">back to disk we&amp;#39;ll end it and we&amp;#39;ll do</text><text start="2568.3" dur="8.46">the compile of sending it to the output</text><text start="2572.32" dur="7.14">of line num of line num.c and that looks</text><text start="2576.76" dur="7.38">right so now I can do n Roth with the me</text><text start="2579.46" dur="7.44">macros of about.me I will pass that</text><text start="2584.14" dur="4.02">through line num which is in the current</text><text start="2586.9" dur="3.12">directory</text><text start="2588.16" dur="3.6">and then we&amp;#39;ll pass it into more so we</text><text start="2590.02" dur="4.799">can see the output</text><text start="2591.76" dur="5.4">and so there&amp;#39;s my blank lines on the top</text><text start="2594.819" dur="4.02">there&amp;#39;s my title page which is three</text><text start="2597.16" dur="3.48">inches down</text><text start="2598.839" dur="4.201">and then there&amp;#39;s the rest of page one</text><text start="2600.64" dur="5.58">and you can see that now on page two it</text><text start="2603.04" dur="6.98">starts with line number one</text><text start="2606.22" dur="6.54">there&amp;#39;s my page header now I didn&amp;#39;t do</text><text start="2610.02" dur="5.2">uh you know page offset to create a left</text><text start="2612.76" dur="5.04">and right margin that&amp;#39;s easy enough to</text><text start="2615.22" dur="3.96">do but you since I&amp;#39;ve gone back to line</text><text start="2617.8" dur="2.819">spacing one you can see that my</text><text start="2619.18" dur="3.139">equations are showing up right so that&amp;#39;s</text><text start="2620.619" dur="3.681">good</text><text start="2622.319" dur="5.081">and</text><text start="2624.3" dur="6.16">it should be all the way down to 66</text><text start="2627.4" dur="5.34">lines for page two before it is now done</text><text start="2630.46" dur="4.379">with uh with the file because now</text><text start="2632.74" dur="4.14">remember it ended with every time it</text><text start="2634.839" dur="4.081">hits a new line it now uh prints in line</text><text start="2636.88" dur="3.66">to run the next line we can go back and</text><text start="2638.92" dur="3.179">fix that if we wanted to if we really</text><text start="2640.54" dur="3.72">want to get rid of that trailing one</text><text start="2642.099" dur="3.48">colon I don&amp;#39;t really feel strong enough</text><text start="2644.26" dur="3.78">to do that so we&amp;#39;re not going to do that</text><text start="2645.579" dur="4.821">but what we just done here is we&amp;#39;ve now</text><text start="2648.04" dur="4.98">created</text><text start="2650.4" dur="5.74">uh a Fortran program</text><text start="2653.02" dur="6.78">and we wrote a document about it using</text><text start="2656.14" dur="6.54">the about dot me using the the me macros</text><text start="2659.8" dur="4.5">and enroth and we wrote A C program a</text><text start="2662.68" dur="3">very simple C program just to put some</text><text start="2664.3" dur="4.68">line numbers on there so you can see the</text><text start="2665.68" dur="8.399">output and so that is you know a typical</text><text start="2668.98" dur="7.26">use of how you would use uh Unix 50</text><text start="2674.079" dur="4.621">years ago and we use the add editor</text><text start="2676.24" dur="4.619">throughout using these very simple</text><text start="2678.7" dur="3.419">commands so what did you think of this</text><text start="2680.859" dur="3.24">video you&amp;#39;d like to see other videos</text><text start="2682.119" dur="4.98">like that let me know in the comments</text><text start="2684.099" dur="4.921">below visit our website at freedos.org</text><text start="2687.099" dur="3.961">join us on Facebook follow us on</text><text start="2689.02" dur="3.24">Mastodon and consider supporting me on</text><text start="2691.06" dur="3.92">patreon</text><text start="2692.26" dur="2.72">thank you</text></transcript>