From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
To: "matthieu.dubuget@libertysurf.fr" <matthieu.dubuget@libertysurf.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] tuareg, windows, cygwin and startxwin.bat
Date: Thu, 24 Feb 2005 10:57:58 -0500 (EST) [thread overview]
Message-ID: <Pine.GSO.4.61.0502241054510.8085@slinky.cs.nyu.edu> (raw)
In-Reply-To: <ICEPO2$0FAC36D8EF464AAAA94F3650D5F9B32D@tiscali.fr>
On Thu, 24 Feb 2005, matthieu.dubuget wrote:
> Hello.
>
> I use Ocaml (MSVC version) on windows XP Pro.
> I experienced a strange behaviour of tuareg's
> tuareg-run-ocaml command, depending on the way I call cygwin
> and emacs. If anybody knows the reason of this behaviour, I
> would be interested for an explanation.
>
> When I call a toplevel this way, everything works ok :
> - run cygwin
> - startx
> - run emacs from xterm
> - launch toplevel with the tuareg-run-caml command
>
> When I work this way (I prefer this way, because it is
> simpler, and do not leave an unused opened cygwin terminal):
> - run xwindows directly with startxwin.bat script
> - run emacs from xterm
> - launch toplevel with the tuareg-run-caml command
>
> -> the toplevels runs in a separate windows which is
> annoying, because I then lack the power of emacs...
>
> - If I launch a customized toplevel of mine, it runs as
> usual inside the *caml-toplevel* buffer
>
> Any idea ?
Matthieu,
Cygwin uses something called "ptys", which are pseudo-terminals
implemented with pipes. Some Windows applications don't understand those,
so think they're running without a console, and allocate their own. There
was some work on fixing this -- see the Cygwin mailing list archives for
details, but I don't think there's a definitive resolution.
You most likely run Cygwin's emacs, which creates ptys. You could try
using non-Cygwin xemacs (I don't know if it speaks X -- I don't use
emacs).
That said, why not use the Cygwin version of O'Caml that does understand
ptys?
Igor Pechtchanski, the volunteer O'Caml maintainer for Cygwin
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
next prev parent reply other threads:[~2005-02-24 16:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-24 8:16 matthieu.dubuget
2005-02-24 15:57 ` Igor Pechtchanski [this message]
2005-02-24 20:38 ` [Caml-list] " Matthieu Dubuget
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.GSO.4.61.0502241054510.8085@slinky.cs.nyu.edu \
--to=pechtcha@cs.nyu.edu \
--cc=caml-list@inria.fr \
--cc=matthieu.dubuget@libertysurf.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox