From 5ec161b9994b21d94a1d494ea6a7e5c360075cd0 Mon Sep 17 00:00:00 2001 From: simonpj Date: Wed, 6 Aug 2003 15:26:02 +0000 Subject: [PATCH] [project @ 2003-08-06 15:26:02 by simonpj] Add a note about readline on Win32 --- ghc/docs/users_guide/win32-dlls.sgml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ghc/docs/users_guide/win32-dlls.sgml b/ghc/docs/users_guide/win32-dlls.sgml index b1f894d..cdaad9c 100644 --- a/ghc/docs/users_guide/win32-dlls.sgml +++ b/ghc/docs/users_guide/win32-dlls.sgml @@ -37,12 +37,19 @@ Notice how the "%1" argument is quoted (or not). -Avoiding the console window +Interacting with the terminal By default GHC builds applications that open a console window when they start. If you want to build a GUI-only application, with no console window, use the flag -optl-mwindows in the link step. + +For some reason, Mingw ships with the readline library, +but not with the readline headers. As a result, GHC (like Hugs) does not +use readline for interactive input on Windows. +You can get a close simulation by using an emacs shell buffer! + + -- 1.7.10.4