Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - cd in singular
Author Message
  Post subject:  Re: cd in singular  Reply with quote
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
Post Posted: Tue Apr 19, 2011 12:42 pm
  Post subject:  Re: cd in singular  Reply with quote
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.
Post Posted: Sat Mar 26, 2011 8:57 pm
  Post subject:  cd in singular  Reply with quote
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.
Post Posted: Fri Mar 25, 2011 5:03 pm


It is currently Fri May 13, 2022 11:04 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group