[sage-support] How to open a second terminal on fedora

2011-12-17 Thread Carl Eberhart
I am using sage4.7.2 in VirtualBox on windows xp.
I would like to have a second fedora terminal open while the notebook
server is running.  Can this be
done?  Thanks.
Carl

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


Re: [sage-support] How to open a second terminal on fedora

2011-12-17 Thread Renan Birck Pinheiro
2011/12/17 Carl Eberhart carl.eberh...@gmail.com

 I am using sage4.7.2 in VirtualBox on windows xp.
 I would like to have a second fedora terminal open while the notebook
 server is running.  Can this be
 done?  Thanks.
 Carl


On the VM window, press Alt-F2 and you will be on a login prompt.
Login as root and password 'sage', then I recommend to create a new
(unprivileged) user and log in with it.

Otherwise you can install a SSH client (I use PuTTY) and SSH to the virtual
machine (127.0.0.1, port ) and do the same procedures.


-- 
Renan Birck Pinheiro - Grupo de Microeletrônica
http://www.ufsm.br/gmicro- Engenharia
Elétrica http://www.ufsm.br/cee/UFSM http://www.ufsm.br

http://renanbirck.blogspot.com / skype: renan.ee.ufsm

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


Re: [sage-support] How to open a second terminal on fedora

2011-12-17 Thread Volker Braun
For the record, there is already an unprivileged user account that you can 
use: login=sage, password=sage. This is the account that the sage notebook 
server is running under.


On Saturday, December 17, 2011 10:39:32 PM UTC, Renan Birck Pinheiro wrote:

 On the VM window, press Alt-F2 and you will be on a login prompt. 
 Login as root and password 'sage', then I recommend to create a new 
 (unprivileged) user and log in with it.

 Otherwise you can install a SSH client (I use PuTTY) and SSH to the 
 virtual machine (127.0.0.1, port ) and do the same procedures.


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


Re: [sage-support] How to open a second terminal on fedora

2011-12-17 Thread Renan Birck Pinheiro
2011/12/17 Volker Braun vbraun.n...@gmail.com

 For the record, there is already an unprivileged user account that you can
 use: login=sage, password=sage. This is the account that the sage notebook
 server is running under.



 Indeed. I forgot about this.



-- 
Renan Birck Pinheiro - Grupo de Microeletrônica
http://www.ufsm.br/gmicro- Engenharia
Elétrica http://www.ufsm.br/cee/UFSM http://www.ufsm.br

http://renanbirck.blogspot.com / skype: renan.ee.ufsm

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


Re: [sage-support] How to open a second terminal on fedora

2011-12-17 Thread Carl Eberhart
Good. I will use that one, although it is nice to also know the su
password.  The alt-F2 escape provides me with a way to work in
the one window, without killing the notebook
Thanks.

On Sat, Dec 17, 2011 at 6:29 PM, Renan Birck Pinheiro 
renan.ee.u...@gmail.com wrote:



 2011/12/17 Volker Braun vbraun.n...@gmail.com

 For the record, there is already an unprivileged user account that you
 can use: login=sage, password=sage. This is the account that the sage
 notebook server is running under.



 Indeed. I forgot about this.



 --
 Renan Birck Pinheiro - Grupo de Microeletrônicahttp://www.ufsm.br/gmicro- 
 Engenharia
 Elétrica http://www.ufsm.br/cee/UFSM http://www.ufsm.br

 http://renanbirck.blogspot.com / skype: renan.ee.ufsm



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


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


Re: [sage-support] Re: Install package behind proxy

2011-12-17 Thread Vinay Wagh
Thanks Maarten.

I was able to install sage-mode by downloading it to a temporary directory
and then sage -i PATH_TOSPKG_FILE.

About the proxy, I managed a workaround in two ways:

1. exporting http_proxy=http://user:passwd@server:port/; from the
commandline and then execute sage -i package_name. (Also I suspect that
here DNS setting also had some role! Guess there was some problem with my
DNS settings.)

2. Insert the following two lines at the start of sage-download_package:
  proxy = http://user:passwd@server:port/;
  urlprx = UrllibProxy(proxy)
and then replace the line
  urllib.urlretrieve(url, file, reporthook)
with
  urlprx.urlretrieve(url, file, reporthook)

By the way sage package repository has still the sage-mode-0.6.

By the way during this process I was wondering how does one uninstall a
package? The sage
documentationhttp://www.sagemath.org/doc/reference/sage/misc/package.htmldoes
not say anything about uninstall (at least I couldnt find easily.)

Regards

VInay


On 17 December 2011 00:10, Maarten Derickx m.derickx.stud...@gmail.comwrote:

 Dear Vlnay,

 You can at least work around the problem by first downloading the spkg
 file and then do:

 sage -i path to file in downloads folder

 The error you get means that the command UrllibProxy in the file
 /home/vinay/Sage/sage-4.7.2-**linux-32bit-ubuntu_10.04_lts-**
 i686-Linux/local/bin/sage-**download_package
 does not exist. I find this error very strange since in my version of
 sage-4.7.2.alpha2 there is no urlprx= UrllibProxy(proxy). Did you add that
 line there yourself, if so you should add

 from some python package that provides UrllibProxy import UrllibProxy

 to the file.

 Thanks Maarten

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


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