🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #111

gdb-4.6/readline -- ~/inputrc or ~/.inputrc

#111
From: David Edelsohn
Date: Tue, 21 Jul 1992 14:24
30 lines
1662 bytes
	The libreadline library still erroneously reads keybindings from
~/inputrc instead of ~/.inputrc as mentioned in the source code comments as
well as in documentation.  This bug existed in gdb-4.5 as well.  The
affected file is readline.c:

*** readline.c- Tue Jul 21 18:21:29 1992
--- readline.c  Tue Jul 21 16:24:13 1992
***************
*** 5656,5662 ****
  /* Don't know what to do, but this is a guess */
  static char *last_readline_init_file = "/INPUTRC";
  #else
! static char *last_readline_init_file = "~/inputrc";
  #endif
  
  /* Re-read the current keybindings file. */
--- 5656,5662 ----
  /* Don't know what to do, but this is a guess */
  static char *last_readline_init_file = "/INPUTRC";
  #else
! static char *last_readline_init_file = "~/.inputrc";
  #endif
  
  /* Re-read the current keybindings file. */

===============================================================================
David Edelsohn                                          Dept of Physics
Syracuse Center for Computational Science               201 Physics Bldg
INTERNET: edelsohn@sccs.Syr.EDU                         Syracuse, NY 13244-1130
"If G-D had wanted us to vote, he would have given us candidates" -- Jay Leno
Technical Details
Message-ID: <9207212224.AA12974@ace.syr.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sccs.syr.edu!edelsohn

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sccs.syr.edu!edelsohn
From: edelsohn@sccs.syr.edu (David Edelsohn)
Subject: gdb-4.6/readline -- ~/inputrc or ~/.inputrc
Message-ID: <9207212224.AA12974@ace.syr.edu>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Tue, 21 Jul 1992 14:24:28 GMT
Approved: bug-gdb@prep.ai.mit.edu
Lines: 31