From bear@coyotesong.com Sat Jan 8 23:30:17 2000 Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.mit.edu (8.9.3/8.9.3) with SMTP id XAA02596 for ; Sat, 8 Jan 2000 23:30:16 -0500 (EST) Received: from bgiles.dimensional.com by MIT.EDU with SMTP id AA03191; Sat, 8 Jan 00 23:31:11 EST Received: (from bear@localhost) by eris.coyotesong.com (8.9.3/8.9.3/Debian/GNU) id VAA03375; Sat, 8 Jan 2000 21:27:03 -0700 Message-Id: <200001090427.VAA03375@eris.coyotesong.com> Date: Sat, 8 Jan 2000 21:27:03 -0700 From: bgiles@coyotesong.com Reply-To: bgiles@coyotesong.com To: krb5-bugs@MIT.EDU Cc: Subject: readline for kftp X-Send-Pr-Version: 3.99 >Number: 809 >Category: krb5-clients >Synopsis: patch file to add readline and history to kftp >Confidential: no >Severity: non-critical >Priority: low >Responsible: krb5-unassigned >State: open >Class: change-request >Submitter-Id: unknown >Arrival-Date: Sat Jan 8 23:31:01 EST 2000 >Last-Modified: >Originator: Bear Giles >Organization: Bear Giles bgiles@coyotesong.com >Release: krb5-1.1.1 >Environment: Debian-2.1r5 System: Linux eris 2.2.13 #7 SMP Sat Oct 30 20:57:16 MDT 1999 i686 unknown Architecture: i686 >Description: The existing kftp client does not provide an editable command line or command history. This functionity is now common in ftp clients. >How-To-Repeat: N/A. >Fix: The attached files conditionally replaces the fgets() call in src/appl/gssftp/ftp/main.c with readline(), and modifes both main.c and cmds.c to add non-empty commands to a history buffer. This code uses the new conditional HAVE_READLINE. I have not identified the changes required by autoconf. begin 664 0008 M+2TM(&]L9"]S7!E M"B!T>7!E9&5F('-I9W1Y<&4@*"IS:6=?="DH*3L*0$`@+3(P-BPV("LR,3$L M.2!`0`H@"0DH=F]I9"D@2@I.PHK(V5N9&EF"B`)9F]R("@[ M.RD@>PH@"0EC;61S8V%N;F5R*'1O<"D["B`)"71O<"`](#$["D!`("TR.#8L M,3<@*S(Y-"PR-B!`0`H@"7)E9VES=&5R('-T'1E2D@/R`B9G1P/B`B M(#H@(B(I.PHK"0EI9B`H<"`]/2`P*0HK"0D)8G)E86L["BL)"7-TF5O9B!L:6YE*3L**PD)9G)E92`H<"D["BLC96QS90H@ M"0EI9B`H9G)O;6%T='DI('L*(`D)"7!R:6YT9B@B9G1P/B`B*3L*(`D)"2AV M;VED*2!F9FQUF5O9BAL:6YE*2`M(#(I('L*(`D) M"7!R:6YT9B@B