Arc Forumnew | comments | leaders | submitlogin
1 point by thaddeus 5505 days ago | link | parent

Update:

I made 2 small changes to "wterm.jquery.js" that help:

1. Comment out line 151 (get's rid of the welcome message):

    // element.html( '' ).append( '<div>' + settings.WELCOME_MESSAGE + '</div>' );
2. Changed line 205 (use 'pre' tags instead of 'div' tags to handle "prn"):

   content.append( '<div><span>' + p + ' ' + cmd + '</span><pre>' + ( ( data ) ? data : '' ) + '</pre></div>' );

You can see a snapshot of results here:

http://www.blackstag.com/docs/example.jpg

This shows Nathan Smiths jquery web-browser desktop (http://sonspring.com/journal/jquery-desktop ) with an arc window I use to access my sheeva plug (notice 'prn' now works).

T.



1 point by thaddeus 5505 days ago | link

at line 301 (allows 'clear' to work in REPL):

   } else if(cdispatch && key == 'clear' ) {
     content.html( '' );
     set_prompt(cprompt);
ok... and I'll stop now :)

-----