Re: text spooling

2012-11-18 Thread Simon Owen
On 16/11/2012 18:59, Thomas Harte wrote: What's your policy on native code? I ran a quick test with: I try to avoid native code in the SDL version, where possible, but it seems like it might be the best option. It can probably go in SDLMain.m without too much trouble -- thanks! :) Si

text spooling

2012-11-16 Thread Marcos Cruz
En/Je/On 2012-11-16 14:41, Simon Owen escribió / skribis / wrote : I'll add file spooling for non-Windows platforms, and clipboard paste once SDL 2.0 is supported. Great! It will be possible to code in MasterBASIC with a modern editor. Cannot wait to try it :) The Windows version will

Re: text spooling

2012-11-16 Thread Simon Owen
On 16/11/2012 16:15, Marcos Cruz wrote: the text is converted before auto-typing it. Isn't it? I mean non-ASCII characters. Yes, in the simplest case it's just to map £ and © to the special codes needed for SAM use, and to drop CR but convert NL to CR. Though I also use the Win32 API to do

Re: text spooling

2012-11-16 Thread Thomas Harte
On 16 November 2012 10:38, Simon Owen simon.o...@simcoupe.org wrote: For the other ports I was planning to use iconv to do the main transliteration step. Under Linux iconv (part of libc-bin) appears to include the support I'm after. Mac OS X is still using the traditional libiconv, which

Re: text spooling

2012-11-16 Thread Marcos Cruz
En/Je/On 2012-11-16 18:38, Simon Owen escribió / skribis / wrote : I'll probably add options for no translation, minimal translation, and full transliteration. That would be great. Marcos -- http://programandala.net