delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/05/11:47:08

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Markus Hoenicka" <Markus DOT Hoenicka AT uth DOT tmc DOT edu>
MIME-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019