Re: [ql-developers] curses library

2004-02-18 Thread Peter Graf
Hi,

I changed the C68 libc_a (not libcurses_a !) from version 4.22f to 4.22i 
and the wild linefeed problem magically disappeared. Unfortunately most 
file downloads are no longer available Dave Walker's Website, so I don't 
know which details had changed.

Has someone got a changelog?

But with libc_a 4.22i the keyboard input stopped to work correctly. Looks 
like I have the choice between scrambled screen output (f) or no cursor 
keys (i) :-((

DW's website says 4.22i fixes a problem reported by Thierry concerning 
scanf(). Thierry, if you're here, could you make a guess if that fix could 
have broken something?

All the best
Peter


Re: [ql-developers] curses library

2004-02-18 Thread Peter Graf
Hi Derek,

This effect, looks like the staircase effect on some older printers, it was
remedied by interchanging the carriage returns and linefeeds on the printer
driver.
I am not saying that this will solve the problem, but it could be that the
end of line control code is not correct for the QDOS screen driver. It
should be something like - CHR$(10);CHR$(13)
If there were _any_ control characters at the occurences of the linefeeds,
that would provide a hook for fault search. But they seem to occur by
chance :-(
>L was o
>  ne o
>  f Sir Cl
>  i
>   ve Sinclair's ho
>   me computers.>
All the best
Peter



Re: [ql-developers] curses library

2004-02-18 Thread Derek Stewart

Hi Peter,

This effect, looks like the staircase effect on some older printers, it was
remedied by interchanging the carriage returns and linefeeds on the printer
driver.

I am not saying that this will solve the problem, but it could be that the
end of line control code is not correct for the QDOS screen driver. It
should be something like - CHR$(10);CHR$(13)

Derek

- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 18, 2004 8:50 AM
Subject: [ql-developers] curses library


>
> Hi,
>
> when porting a new textbased webbrowser to QDOS, I have again run into
> problems with the C68 curses library. At many undefined points throughout
> the text, unwanted linefeeds are inserted. For instance:
>
> 
>
> would typically look like
>
>L was o
>  ne o
>  f Sir Cl
>  i
>   ve Sinclair's ho
>   me computers.>
>
> The effect doesn't change in different cache modes or when using qdos-gcc.
> The library binary is original from the C68 distribution. Does anyone
> remember an effect like this?
>
> (I know there were some issues with the curses lib, but I thought they
> were gcc related, and I use C68.)
>
> All the best
> Peter
>
>



[ql-developers] curses library

2004-02-18 Thread pgraf

Hi,

when porting a new textbased webbrowser to QDOS, I have again run into 
problems with the C68 curses library. At many undefined points throughout 
the text, unwanted linefeeds are inserted. For instance:



would typically look like



The effect doesn't change in different cache modes or when using qdos-gcc. 
The library binary is original from the C68 distribution. Does anyone 
remember an effect like this?

(I know there were some issues with the curses lib, but I thought they 
were gcc related, and I use C68.)

All the best
Peter