This is the mail archive of the
cygwin-apps@sources.redhat.com
mailing list for the Cygwin project.
Re: bash calls private readline functions
- To: cwilson at ece dot gatech dot edu
- Subject: Re: bash calls private readline functions
- From: Chet Ramey <chet at nike dot INS dot CWRU dot Edu>
- Date: Mon, 29 Jan 2001 10:51:06 -0500
- Cc: chet at po dot CWRU dot edu, cygwin-apps at sources dot redhat dot com
- Read-Receipt-To: chet@po.CWRU.Edu
- Reply-To: chet at po dot CWRU dot Edu
> > > These are defined in rlprivate.h:
> > > _rl_set_screen_size
> > > rl_last_func
> > > rl_explicit_arg
> > > rl_editing_mode
> >
> > Thanks. These have been fixed.
>
> Out of curiosity, how did you fix these? (I haven't seen an updated
> tarball on ftp.gnu.org for either readline or bash, so I'm not sure how
> you approached this). Did you work around it in bash, so that bash
> doesn't call the private functions, or did you make them public in
> readline? (If the latter, then I need to modify my DLL exports to take
> that into account).
The three variables were moved to readline.h. I added a new function,
rl_set_screen_size, made it part of the public interface, and changed
bash to call it. rl_set_screen_size just calls _rl_set_screen_size.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)
Chet Ramey, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/