[narnia]
[Home] [Info] [Contact] [Users] [Software] narnia sitemap

 
 

Note that this proposal has been dead for months and months now.

 
 

Who says client implementors can't innovate as well as imitate? I've been toying with the idea of a CTCP-ish extension to naim's HTML vocabulary. Specifically, the ability to send actions (as in /me is a fluffy cat) and transfer files from one client to another (similar to /dcc send othernick filename).

Tentatively I'm using <!ECT ...> for my psuedo-HTML tag. !ECT will require a type sub-tag at the very least in order to distinguish which type of ECT is being transmitted. A [tentative, of course] listing of ECT types follows:

       <!ECT type="action" text="action text">
       <!ECT type="send" addr="address" port="port" size="file size" name="file name">

type="action" is demonstrated in the following IMs:
<HTML><!ECT type="action" text="smiles fondly at you"></HTML>
    * screenname smiles fondly at you
 
<!ECT TYPE=ACTION TEXT="says \"hi there!\"">hullo :)
    * screenname says "hi there!"
    screenname: hullo :)

type="send" is demonstrated in the following IMs:
<HTML><!ECT type="send" addr="3502498876" port="7203" size="17402" name="fluffy.jpg"></HTML>
    *** screenname wants to send you fluffy.jpg (16.9 kilobytes)
    *** Press F9 to receive this file
 
<!ECT TYPE=SEND ADDR=3502498876 PORT=9848 NAME="jokes.txt">get this file, yo, it's mad funny!
    *** screenname wants to send you jokes.txt (unknown size)
    *** Press F9 to receive this file
    screenname: get this file, yo, it's mad funny!
 
<!Ect Type=send Addr=3502498876 port=10473>
    *** screenname wants to send you a file (unknown size)
    *** Press F9 to receive this file
 
Note that the address in addr="address" is the return value of inet_addr(). 3502498876 is inet_addr("208.195.228.60"), the IP address of my machine.


Daniel Reed <n@ml.org>
Unix - it's a nice place to live, but you wouldn't want to visit there.
[Linux]