<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">I think I wasn’t clear on what I meant.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Simh would have an FTP server built in. In your simh control file, you’d attach a disk (or tape, or drum) and add an option that would make that block device available to the FTP server as a certain virtual directory
 name. A user id and password would also be specified.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">An FTP client would connect to simh using the specified user/password and do a “cd” to the virtual directory name as specified in the attach options. The FTP client could then read, write, and erase files in
 the filesystem on that block device file.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Obviously, simh can’t know how to read/write/erase files for every file system out there, so we’d need a very simple file system that would be simple to code for both simh and guest os applications. I like LIF
 because it is designed for pretty much exactly this. HP designed it as a way to transfer files across their various operating systems (and even  calculators).
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">It wouldn’t have to be LIF – we could design our own from scratch if desired. But LIF is super simple and a user level utility could be coded up on pretty much any guest OS (well, any guest OS that allows block
 level access to devices).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Ken Cornetet <br>
<b>Sent:</b> Wednesday, April 20, 2016 11:43 AM<br>
<b>To:</b> simh@trailing-edge.com<br>
<b>Subject:</b> Way out idea for simh<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">A common theme on this list is how to get files copied between the host and the emulated machines. I have a crazy idea for a simh feature to help in that regard: Add an FTP server to simh that would write to a “universal” file system on
 a simh block device file (disk, tape, drum)  that the guest OS would have attached. You could fire up your favorite ftp client and copy files into and out of this file system.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Obviously, the guest OS would need to have tools written to read/write this universal file system, but with a simple enough file system, that wouldn’t be a huge hurdle. I have to admit, outside of unix and RTE, I have no notion of how many
 operating systems that run on simh emulated machines allow direct disk access. I am assuming there is a way to do it on most all of them. If not, tape or drum could be an option.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">For this “universal” file system, I nominate Hewlett-Packard’s LIF. It is simple and well documented. A fixed flat directory at the beginning of the image, fixed size directory entries, and linear space allocation (no allocation tables).
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I don’t expect it would be trivial to add an FTP server to simh, but it could be handy. Just food for thought.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>