[CWB] [ cwb-Feature Requests-3036837 ] CQP (win32): command line tab completion

SourceForge.net noreply at sourceforge.net
Fri Sep 3 12:55:34 CEST 2010


Feature Requests item #3036837, was opened at 2010-07-29 23:10
Message generated for change (Comment added) made by andrewhardie
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=722306&aid=3036837&group_id=131809

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: CQP
Group: None
Status: Open
Priority: 3
Private: No
Submitted By: Andrew Hardie (andrewhardie)
Assigned to: Nobody/Anonymous (nobody)
Summary: CQP (win32): command line tab completion

Initial Comment:
The editline library is not included in the Win32 build because cmd.exe gives support for left-right-backspace, up-down history, copy paste and so on. HOWEVER, it does not give tab completion. It would be nice for the Windows version to have this.

Queries: is it possible to build editline using the mingw cross-compiler? 

-- If YES, will it work under cmd.exe or not given it was designed for *nix? Will the editing of cmd and editline interfere with each other? What about the use of a history file - will it know where to put this? 
-- If NO, how could this function be simulated under Win32?

----------------------------------------------------------------------

>Comment By: Andrew Hardie (andrewhardie)
Date: 2010-09-03 10:55

Message:
We are now back with Readline.


After initial testing of the custom completion with GNU Readline, the
RL_DEBUG stuff in cqp/llquery.c should be removed again.

----------------------------------------------------------------------

Comment By: Andrew Hardie (andrewhardie)
Date: 2010-07-30 08:07

Message:
Good news re Readline.

BUT, as far as I can tell from fiddling with PCRE and Glib, GnuWin32's
prebuilt binaries of a library will only work if we either (a) link
dynamically or (b) actually build under MinGW-on-Win32. If we build on
Linux, and link statically as per our preferred practice, then it is
probably necessary to build the library from source using the
cross-compiler. (Unless I'm just Not Clever Enough to get the
cross-compiler to link pre-built Win32 binaries, which is entirely
possible.)

----------------------------------------------------------------------

Comment By: Stefan Evert (schtepf)
Date: 2010-07-30 07:56

Message:
We should switch back from Editline to the more standard and supported GNU
Readline library anyway. Editline was only used as a substitute for
licensing reasons, which no longer apply.

A Win32 build of Readline (sources and binaries) is available from the
Gnuwin32 project.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=722306&aid=3036837&group_id=131809


More information about the CWB mailing list