Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Markus Hoenicka" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15011.49084.473000.44679@gargle.gargle.HOWL> Date: Mon, 5 Mar 2001 16:33:00 +0000 (CT0) To: cygwin AT cygwin DOT com Subject: readline woes X-Mailer: VM 6.75 under Emacs 20.6.1 Hi, in my personal struggle with Cygwin DLLs I came across the following problem: On a freshly updated box the fileman example of the readline package works differently if linked statically or dynamically to libreadline. fileman defines its own completer function, so readline will try to complete a command name for the first item on the command line, and it will try to complete filenames for all subsequent items. If I link statically, this works as expected. If I link dynamically, the filename completion still works, but it does no longer try to complete a command for the first item. I do not see this problem on a box which is still using cygwin1.dll version 1.1.7 (and no other packages updated since then). The only apparent difference is that fileman does not compile out of the box with the updated tools. The variables rl_readline_name and rl_attempted_completion_function need to be defined as global variables in fileman.c to get it link properly. Is this the wrong fix? It's not that I badly need fileman, but I use similar code in my own programs, and fileman is a fairly simple testcase for this problem. Thanks for any input Markus -- Markus Hoenicka, PhD UT Houston Medical School Dept. of Integrative Biology and Pharmacology 6431 Fannin MSB4.114 Houston, TX 77030 (713) 500-6313, -7477 (713) 500-7444 (fax) Markus DOT Hoenicka AT uth DOT tmc DOT edu http://ourworld.compuserve.com/homepages/hoenicka_markus/ -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple