[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] stairs reloaded



On 25/02/2013 13:33, Helmut Karlowski wrote:
It's not - it is a way to control CRMOD from an application.

Ok, now I understand that you are speaking at user level.
That *CRMOD stuff is defined at various places.

In the kernel: sys/mint/fsops.h
# define T_CRMOD	0x0001

In the MiNTLib: include/sys/ioctl.h
#define	CRMOD		0x0001

What system call are you trying to use in your user program?
tcsetattr()? Fcntl()?

Please commit the patch in my previous message.

I won't - because I think it's wrong.

My original stairs patch was wrong due to that stupid ~ typo.
It worked by chance. The new one is what I intended.

It does not even work in BIOS-console.

Yesterday, with ARAnyM, I removed fVDI and I started XaAES. From TeraDesk I ran a .prg which made text output. The text was displayed on the full screen as expected (since the TosWin2 console was closed), and there was no stairs. It is what was supposed to be fixed with my original stairs patch, and now (after additional fix) it works fine.

#cat t
ls -l
sleep 1
ls -l
sleep 1
ls -l
#t&

I can't see the connection between the above testcase and either the
stairs effect on console or the serial port regression.

That's exactly what should be fixed. Or don't you see any staired output
from the above?

I will test tonight with Hatari, ARAnyM, or whatever.

Do you mean that I have to type the above in bash running on the BIOS console, without XaAES?

--
Vincent Rivière