Read-only forum archive

Emacs and SINGULAR on MS Windows

Emacs and SINGULAR on MS Windows

citizen_of_utopia · Sun Oct 24, 2010 2:04 pm

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.

Re: Emacs and SINGULAR on MS Windows

vinay · Mon Oct 25, 2010 4:37 am

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

Re: Emacs and SINGULAR on MS Windows

citizen_of_utopia · Tue Oct 26, 2010 9:24 pm

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?

Re: Emacs and SINGULAR on MS Windows

hannes · Fri Oct 29, 2010 2:43 pm

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.

Re: Emacs and SINGULAR on MS Windows

citizen_of_utopia · Fri Oct 29, 2010 4:21 pm

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.

Re: Emacs and SINGULAR on MS Windows

gorzel · Fri Oct 29, 2010 6:39 pm

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.

Re: Emacs and SINGULAR on MS Windows

seelisch · Tue Nov 02, 2010 10:34 am

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