From mint-bounce@lists.fishpool.fi Sun Oct 25 17:25:14 2009 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Subject: Re: [MiNT] TosWin console References: <00330c50.01cad6d60978@smtp.freeola.net> <00369229.01cad6d60dfa@smtp.freeola.net> <4A91368E.1040808@freesbee.fr> Date: Thu, 22 Oct 2009 23:37:48 +0200 To: "mint@lists.fishpool.fi" From: "Helmut Karlowski" Resent-To: "mint@lists.fishpool.fi" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Resent-From: "Helmut Karlowski" Resent-Date: Sun, 25 Oct 2009 22:22:20 +0100 Resent-Message-ID: In-Reply-To: <4A91368E.1040808@freesbee.fr> X-Antivirus: avast! (VPS 091024-0, 24.10.2009), Outbound message X-Antivirus-Status: Clean Message-ID: X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: helmut.karlowski@ish.de Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Am 23.08.2009, 14:31 Uhr, schrieb Vincent Rivière : Reviving an old thread ... > So we just have to make a patch (somewhere in the kernel ?) to change > the default behaviour of the console and it will be fine. I've added this in XaAES (where it belongs and where it was set to RAW). It is set to RAW first to avoid Control-keys like ^S, ^C to have undesired side-effects. It's now later changed to CRMOD, and RAW unset before the main-loop starts. Tests show that this works. Without the RAW-setting console-output would be ok, but then sometimes the Control-keys don't work as expected (the COOKED-effect, I never saw this on aranym, only real atari). Additionally tty-state is set to "un-COOKED" periodically. The stty-call is no more needed. The main-problem is that Toswin-console and XaAES both use the same device, where one wants it COOKED, and the other RAW. I will eventually give it another try to get everything into the repository soon ... -Helmut