Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!AUREL.CALTECH.EDU!bfox From: bfox@AUREL.CALTECH.EDU (Brian Fox) Newsgroups: gnu.bash.bug Subject: readline is not quite independent of bash Message-ID: <8909181607.AA03227@aurel.caltech.edu> Date: 18 Sep 89 16:07:05 GMT References: Sender: daemon@tut.cis.ohio-state.edu Reply-To: bfox@aurel.caltech.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 29 Date: 18 Sep 89 11:09:56 GMT From: garfield!stretch!jeff1@uunet.uu.net (Jeff Sparkes) Organization: Memorial University of Newfoundland References: Sender: bug-bash-request@prep.ai.mit.edu In article jeff1@garfield.mun.edu (Jeff Sparkes) writes: I copied readline into the gdb directory to make use of my extra vi stuff, and had to define the following to get it to link: int follow_symbolic_links = 1; char *the_current_working_directory = 0; char *get_working_directory (); char *make_absolute (); pathname_backup (); To be absolutely clear, I just included those functions from bash. The behaviour you get when you complete a filename that contains ".."'s may be inconsistent with Gdb's idea of what that filename should be. The readline.c needs to be recompiled without any special definitions. cd readline make clean make Brian