Singular https://www.singular.uni-kl.de/forum/ |
|
I/O in Windows environment. https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=1320 |
Page 1 of 1 |
Author: | farras abdelnour [ Thu Aug 11, 2005 5:31 pm ] |
Post subject: | I/O in Windows environment. |
I have used singular on unix for a few years now. currently i am in a transition to windows platform. i am having trouble understanding how to use singular in the new environment. specifically, i would apprecite any help as to how to run a specific file in a given directory and save data in this same directory. any help would be greatly appreciated. email: farras@taco.poly.edu Posted in old Singular Forum on: 2002-03-15 18:28:10+01 |
Author: | Viktor Levandovskyy [ Wed Sep 21, 2005 8:44 pm ] |
Post subject: | |
Singular has been ported from Linux to Windows, hence it is not really a native Windows program. The Singular installation includes a "BasicCygwin" component, which provides you with the basic Linux-like functionality (e.g. you can use bash, man, info, grep, ln and so on). We recommend to use a comfortable rxvt terminal (accessible via Start->Programs->Singular 2.03->Tools->rxvt terminal), which runs a bash shell with preloaded settings from /etc/profile. So, to run a specific file in a given directory, say, DIR, start rxvt terminal, type "cd DIR", then you can call Singular.exe in this directory just like under Linux. (We use symbolic links for the most important .exe files in the directory /usr/local/Singbin, which is added to the PATH variable). Within Singular, running " system("sh","pwd"); " tells you in which directory you are. From the command line of rxvt terminal, there is almost no difference between Linux and Windows. email: levandov@mathematik.uni-kl.de Posted in old Singular Forum on: 2002-03-25 13:23:09+01 |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |