From: Tiago Dionizio <tngd81@gmail.com>
To: Caml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] *s ignored on windows gui
Date: Tue, 26 Oct 2004 21:38:02 +0000 [thread overview]
Message-ID: <c5a3ec0104102614382f01d793@mail.gmail.com> (raw)
In-Reply-To: <c5a3ec0104102610237b92dcaa@mail.gmail.com>
I didn't try with 3.07, only started working with OCaml recently.
Although this is a very rough attempt on locating the problem, this
might have something to do with it:
on file win32caml/ocaml.c around the line 1319 here is what i found:
...
case WM_TIMERTICK:
/** Modified by Chris Watford 21 Sept 2003 **/
hwndChild = (HWND) GetWindowLong(hwnd, DWL_USER);
if (ReadToLineBuffer())
{
int errMsg = 0;
char *p, *l = lineBuffer;
// Ok we read something. Display the
trimmed version
while(((*l) == ' ') || ((*l) == '\t')
|| ((*l) == '\n') || ((*l) == '\r') || ((*l) == '*'))
l++;
...
I have no idea why it trims empty spaces and the *'s. There may be a
good reason for this to happen.. but i did get very confused when this
happened to me the first time.
Tiago
On Tue, 26 Oct 2004 09:06:01 -0700, David Brown <caml-list@davidb.org> wrote:
> On Tue, Oct 26, 2004 at 05:49:20PM +0200, Alex Baretta wrote:
>
> > ># print_string "**e";;
> > >e- : unit = ()
> >
> > Try flushing stdout.
>
> I don't think it will help, since the 'e' is getting printed, just not the
> '*'s before it. I don't see anything in the source that looks like it
> would cause this problem, but there might be something subtle. Did it
> happen with 3.07? The windows code changed quite a bit between.
>
> Dave
>
next prev parent reply other threads:[~2004-10-26 21:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-26 12:20 Tiago Dionizio
2004-10-26 15:49 ` [Caml-list] " Alex Baretta
2004-10-26 16:06 ` David Brown
[not found] ` <c5a3ec0104102610237b92dcaa@mail.gmail.com>
2004-10-26 21:38 ` Tiago Dionizio [this message]
2004-10-27 0:30 ` Christopher A. Watford
2004-10-27 2:21 ` Christopher A. Watford
2004-10-27 3:12 ` Christopher A. Watford
2004-10-27 11:34 ` Tiago Dionizio
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=c5a3ec0104102614382f01d793@mail.gmail.com \
--to=tngd81@gmail.com \
--cc=caml-list@inria.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