[Hugs] #61: [Patch] Readline command completion for everything

Hugs trac at galois.com
Sun Mar 25 10:44:46 EDT 2007


#61: [Patch] Readline command completion for everything
-------------------------+--------------------------------------------------
 Reporter:  gsauthof     |       Owner:  nobody
     Type:  enhancement  |      Status:  new   
 Priority:  major        |   Milestone:        
Component:  hugs         |     Version:  200609
 Keywords:               |  
-------------------------+--------------------------------------------------
Hi,

 I wrote a patch that improves the readline command completion feature of
 hugs. I.e:
 - added completion of function names and constructors
 - added completion of command names (:<cmd>)
 - added completion of module names (e.g. after :browse , etc.)
 - only do filename completion where it makes sense (e.g. after :load ,
 etc.)
 - expand use of tilde (~) in filenames (previously it was completed but
 not recognized by hugs)
 - read and write the history from/to ~/.hugs_history
 - make hugs recognize :help

 Patch is attached.

 Best regards
 Georg Sauthoff

-- 
Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/61>
Hugs <http://www.haskell.org/hugs/>
Hugs 98, an interpreter for Haskell


More information about the Hugs-Bugs mailing list