From 9724a0538b82109992bfe9322008eab7f62064b7 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 4 Jun 2015 19:29:51 +0300 Subject: [PATCH] windows/README: Add notes on running under Wine. After enabling line editing support on Windows console, this is no longer trivial. --- windows/README | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/windows/README b/windows/README index 88ee5ffce..2f1f20b9c 100644 --- a/windows/README +++ b/windows/README @@ -24,3 +24,19 @@ Open micropython.vcxproj and build To compile using Visual Studio 2013 commandline: msbuild micropython.vcxproj + + +To run on Linux using Wine: + +Default build (MICROPY_USE_READLINE=1) uses extended Windows console +functions and thus should be run using "wineconsole" tool. Depending +on Wine build configuration, you may also want to select curses backend +which has look&feel of a standard Unix console: + + wineconsole --backend=curses ./micropython.exe + +For more info, see https://www.winehq.org/docs/wineusr-guide/cui-programs + +If built without line editing and history capabilities +(MICROPY_USE_READLINE=0), the resulting binary can be built using standard +"wine" tool.