Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Emacs and SINGULAR on MS Windows
PostPosted: Sun Oct 24, 2010 2:04 pm 

Joined: Sat Oct 23, 2010 4:36 pm
Posts: 3
Hello all. I've got myself a copy of SINGULAR for MS Windows, but I wasn't very happy with the old fashioned version of Emacs that was included. So I downloaded a new version for MS Windows. I have version 23.2. There's a page in the manual -- Section 3.2.2. -- that talks about starting SINGULAR in an already running copy of Emacs.

The problem is that it assumes that I'm an experienced user, and the instructions appear to be for a Linux machine. (It mentions home-directory in the code).

Can anyone tell me, step-by-step please, how to get SINGULAR running in an already open copy of Emacs on the MS Windows Vista OS? Please take it slowly; I'm a total beginner.

Thanks in advance.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Emacs and SINGULAR on MS Windows
PostPosted: Mon Oct 25, 2010 4:37 am 

Joined: Sat Oct 01, 2005 11:40 am
Posts: 40
Location: IIT Guwahati, Guwahati, Assam, INDIA
Its been a long time that I worked on the Windows version... But as far as I remember, you have a home directory within cygwin. You can find that with rxvt terminal. (Have you installed that along with Singular?) This is almost equivalent to the linux shell. Once you start this, you are already into your $HOME folder. The command
Code:
ls -l  /
will give you directory listing of your cygwin root folder. (If I remember it correctly, dir comamnd also works under cygwin.)

I hope this solves your query!

Best,
-- VInay


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Emacs and SINGULAR on MS Windows
PostPosted: Tue Oct 26, 2010 9:24 pm 

Joined: Sat Oct 23, 2010 4:36 pm
Posts: 3
I found the home folder and it's full of meaningless files. How does that help me run SINGULAR in an already open copy of Emacs?


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Emacs and SINGULAR on MS Windows
PostPosted: Fri Oct 29, 2010 2:43 pm 

Joined: Wed May 25, 2005 4:16 pm
Posts: 275
The only way to connect a running emacs with singular ist the shell interface
- butt you will miss all other features of ESingular.

The recommended way: change the options of ESingular:
--emacs=EMACS Use EMACS as emacs program to run Singular

But be aware: due to the fact that windows does not have signals,
the emacs MUST BE COMPILED with cygwin.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Emacs and SINGULAR on MS Windows
PostPosted: Fri Oct 29, 2010 4:21 pm 

Joined: Sat Oct 23, 2010 4:36 pm
Posts: 3
Like I said in my original post: "Can anyone tell me, step-by-step please..."

I am not an Emacs user. I have no idea what your last post means, sorry.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Emacs and SINGULAR on MS Windows
PostPosted: Fri Oct 29, 2010 6:39 pm 

Joined: Wed Mar 03, 2010 5:08 pm
Posts: 108
Location: Germany, Münster
citizen_of_utopia wrote:

Can anyone tell me, step-by-step please, how to get SINGULAR running in an already open copy of Emacs on the MS Windows Vista OS? Please take it slowly; I'm a total beginner.



Don't start the emacs editor; invoke Esingular instead of Singular.
This command ESingular will start the emacs (xemacs)
with an running Singular session.

Read the instruction in the manual

3.2 Emacs user interface
http://www.singular.uni-kl.de/Manual/la ... .htm#SEC28

Quoted from 3.2.2 Running SINGULAR under Emacs
http://www.singular.uni-kl.de/Manual/la ... .htm#SEC30

Quote:
The other way is to start the interface in an already running Emacs, by typing M-x singular inside Emacs.


M-x means, press ESC x and then type singular
into the bottom line of the editor (which is called the minibuffer).

Finally, hit return. This should start Singular in emacs.

Other advices:

If you have not experience with the emacs, then you may run
Singular in a xterm.

To get familar with emacs, you may read first the tutorial for emacs
(the Help topic).

Try to find a local person who can show you how to work
with the emacs.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Emacs and SINGULAR on MS Windows
PostPosted: Tue Nov 02, 2010 10:34 am 
Site Admin

Joined: Wed Nov 12, 2008 5:09 pm
Posts: 20
Hello,

to avoid problems under Windows, you should definitely(!) stick to the emacs versions shipped with cygwin. For these the shortcut that is build when installing the Windows single file installer (full), will work as long as the cygwin team does not change the package names of "emacs" and "xemacs".
For other emacs versions, i.e. those not shipped with cygwin, I would expect a lot of trouble to get everything to work.

Regards,
Frank


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

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