>> Btw, I am behind a university firewall that doesn't allow me to use
>> IRC. Does anyone remember the iptables or route rules to forward the
>> IRC connection through my server? I know I can setup ssh port
>> forwarding, but then I would have to log to localhost and fiddle with
>> the IRC client, so I'd prefer to forward all outgoing connections to
>> the IRC port via my own external server. Don't loose time with this, I
>> can figure it out after I study it, but maybe you know it immediately.
>
> I just ssh to sage.math and type irssi.

Nice, that works, thanks.

>>> It would also be trivial to slightly modify the sage notebook code so that
>>> the *default* system at the top selected is Python instead of Sage.
>>> You could also setup things so whatever libraries are relevant to finite
>>> element modeling are preloaded.
>>
>> Yes, I didn't realise it is that trivial. Thanks for the help, I'll
>> report back when we get this working.
>
> If you have trouble trying to make the above changes -- which is
> entirely possible -- please complain.

Indeed, it was a oneliner:

diff -r b0aa7ef45b3c sage/server/notebook/user_conf.py
--- a/sage/server/notebook/user_conf.py Mon Jan 05 23:03:45 2009 -0800
+++ b/sage/server/notebook/user_conf.py Wed Feb 11 08:58:59 2009 -0800
@@ -4,7 +4,7 @@
 import conf

 defaults = {'max_history_length':500,
-            'default_system':'sage',
+            'default_system':'python',
             'autosave_interval':3*60,   # (in seconds)
             'default_pretty_print': False
             }


Is there some better way, so that I don't have to modify Sage sources?
It looks like some user configuration, but I haven't yet figured out
how to use it the way it is intended.

Also I want to control what is imported and what is not (in the empty
worksheet), looking into it now.

Ondrej

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to