From mint-bounce@lists.fishpool.fi Mon Jul 5 02:29:56 2010 Message-ID: <374872A1A4C64DFCA3E7C1BF9C2D0556@mercatus.local> From: "Jo Even Skarstein" To: References: <4C128FBE.7010402@online.no> <4C30D0CA.5030504@online.no> <201007050044.25747.oak@helsinkinet.fi> In-Reply-To: <201007050044.25747.oak@helsinkinet.fi> Subject: Re: [MiNT] Keyboard-problem with XaAES helmut-branch Date: Mon, 5 Jul 2010 08:26:00 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-15"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8089.726 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726 X-EsetId: 83219F2717493432D065 X-EsetScannerBuild: 7411 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: joska@online.no Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: -------------------------------------------------- From: "Eero Tamminen" Sent: Sunday, July 04, 2010 11:44 PM To: Subject: Re: [MiNT] Keyboard-problem with XaAES helmut-branch > On Monday 05 July 2010, Helmut Karlowski wrote: >> > Why is this translation necessary? On Atari/TOS, cr+lf is the norm >> > anyway. >> >> But toswin is also for unix-apps. >> >> It is necessary to create a mode that does the translation without >> interpreting Ctrl-S/Q etc. I don't know if this is already there or if it >> has to be written. But the related code in the kernel is not very easy to >> read. > > As toswin handles the input/output to these apps, why it shouldn't > be the thing setting up the input correctly? Did I miss something? How does the console know when lf is supposed to be crlf or just lf? It can't. Same with COOKED mode. Is a plain lf possible in this mode? I'm not sure if this is something that should be fixed. If it's fixed, it should atleast be configurable, and I agree with you that this should be a feature of the console itself. In TOS, lf is a linefeed, not carriage return. I think it's wrong to change this on a global basis. Instead, people that needs this should switch the console to COOKED themselves. Since this can be done by stty as described by Helmut, this could easily be done from mint.cnf by those who needs this feature. Jo Even