Buglet in mingw32 version: yap -L a.pl emits vertical bar prompts

View: New views
2 Messages — Rating Filter:   Alert me  

Buglet in mingw32 version: yap -L a.pl emits vertical bar prompts

by Tony Wilson-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Win version incorrectly uses ConsoleGetc (C/iopreds.c) when consulting
the argument file, thereby emitting the '| ' prompt for each line in the
file.

I have bypassed it temporarily with:
Yap 5.1.3 C/iopreds.c  ConsoleGetc
<<< char *cptr = Prompt, ch;
 >>> char *cptr = (yap_flags[QUIET_MODE_FLAG]?"":Prompt), ch;

Since I do not know the code too well, I haven't had time to unravel how
it happens.

Regards,
Tony
Durban, South Africa


------------------------------------------------------------------------------
_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users

Re: Buglet in mingw32 version: yap -L a.pl emits vertical bar prompts

by Vitor Santos Costa-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Tony

Thanks, I included a similar patch that will do for now (hopefully).

Wish a merry, and warm, Xmas!

Vitor

On Sun, Dec 21, 2008 at 6:35 PM, Tony Wilson <soduktile@...> wrote:

> Win version incorrectly uses ConsoleGetc (C/iopreds.c) when consulting
> the argument file, thereby emitting the '| ' prompt for each line in the
> file.
>
> I have bypassed it temporarily with:
> Yap 5.1.3 C/iopreds.c  ConsoleGetc
> <<< char *cptr = Prompt, ch;
>  >>> char *cptr = (yap_flags[QUIET_MODE_FLAG]?"":Prompt), ch;
>
> Since I do not know the code too well, I haven't had time to unravel how
> it happens.
>
> Regards,
> Tony
> Durban, South Africa
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Yap-users mailing list
> Yap-users@...
> https://lists.sourceforge.net/lists/listinfo/yap-users
>

------------------------------------------------------------------------------
_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users