Singular
https://www.singular.uni-kl.de/forum/

cd in singular
https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=1914
Page 1 of 1

Author:  Guest [ Fri Mar 25, 2011 5:03 pm ]
Post subject:  cd in singular

Apologies for the newbie question, but how do I change my working directory in Singular? I managed to work out how to find where I am

> system("sh","pwd");
/home/chris

but

> system("sh", "cd /home/chris/maple");

doesn't seem to do anything. I'm using Ubuntu 10.04.

Trying to find an answer to anything in the 33 pages of forum posts is rather difficult as there doesn't seem to be an index.

Author:  gorzel [ Sat Mar 26, 2011 8:57 pm ]
Post subject:  Re: cd in singular

Yes, unlike in other systems, where for instance a command SetDirectory exists,
you can not change the working directory.

You are there, from where you have called Singular.

The singforum can be searched through, look for
SINGULARPATH and the use of the tab key.

Both will facilate the access to files.

Author:  ChrisE [ Tue Apr 19, 2011 12:42 pm ]
Post subject:  Re: cd in singular

many thanks, it would be useful if the "system" manual page gave a list of common system commands which can't be called in this way.

Chris

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/