Jump to content

Recommended Posts

#Atari8bit #FujiNet One functional aspect of N: is its ability to have protocols that not only deal with terminal sessions, such as TELNET, and SSH, but also to provide abstractions to collections of data, such as filesystems, I have written such adapters for FTP, HTTP, HTTPS, and TNFS, so far, and they allow you to access files stored on these file systems, directly, being able to read and write to them, merely by using the appropriate devicespec.


This has interesting implications.


Think for example, a protocol adapter for IMAP, which is an IETF protocol for accessing e-mail. It is a long running standard adopted by many e-mail providers, even GMAIL. The protocol allows you to retrieve the listings of any folder, and to drill down into the contents of any message. There are also protocol extensions to handle searching and filtering of e-mail messages. It does not provide any mechanism for sending e-mail, so that has to be left to protocols like SMTP.


You could, for example, provide the following devicespec to access an email box:




to refer to your INBOX folder on a GMAIL account.


Imagine opening the above path in BASIC in the following manner:




Subsequent reads (INPUT #1,A$) would return:


* M1 EML 012

* M2 EML 004

* M3 EML 120

* M4 EML 242



And what if you opened M1.EML? You’d get the contents of e-mail ID #1:




Subsequent reads, would return:


From: Bob Johnson <[email protected]>

To: Thomas Cherryhomes <[email protected]>


Hey there…


...until the end of the message.


You could also for example, grab an attachment, by adding an attachment number to the end of the devicespec:




If you passed in 128 to aux2 of the directory OPEN, then the adapter would return a nice long-form INBOX:




1 Bob Johnson Hello

2 Joe Guy It works.


...and so on.


So with this, you can see, for example, how it would be not only trivial to write an e-mail client (even in BASIC!), but how other programs could literally be used to read e-mail and/or attachments, imagine being able to read e-mail in AtariWriter, for example. :)


  • Like 2

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...