Search the Community
Showing results for tags 'experimentation'.
Found 1 result
#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: N:IMAP://IMAP.GMAIL.COM/INBOX to refer to your INBOX folder on a GMAIL account. Imagine opening the above path in BASIC in the following manner: OPEN #1,6,0,”N:IMAP://IMAP.GMAIL.COM/INBOX” Subsequent reads (INPUT #1,A$) would return: * M1 EML 012 * M2 EML 004 * M3 EML 120 * M4 EML 242 999+ FREE SECTORS And what if you opened M1.EML? You’d get the contents of e-mail ID #1: OPEN #1,4,0,”N:IMAP://IMAP.GMAIL.COM/INBOX/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: N:IMAP://IMAP.GMAIL.COM/INBOX/1/1 If you passed in 128 to aux2 of the directory OPEN, then the adapter would return a nice long-form INBOX: OPEN #1,6,128,”N:IMAP://IMAP.GMAIL.COM/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.