bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: YAPCQ (Yet Another Programmable Completion Question)


From: Chet Ramey
Subject: Re: YAPCQ (Yet Another Programmable Completion Question)
Date: Wed, 29 Nov 2000 13:28:25 -0500

> I'm a ClearCase user, and ClearCase provides many opportunities to do
> cool stuff using programmable completion.  When one is in a ClearCase-
> controlled filsystem, the filenames are "sticky" and there are special
> commands you can use to access a file's entire version history.
> 
> Without getting into excessive detail, here is what I want to do.
> Let's say I have a function called "clearcase_complete_file" that does
> ClearCase-enhanced filename completion.  It's easy enough to bind this
> function to specific ClearCase commands, but what if I want to make it
> into a generalized function that works in any filename context,
> regardless of what command I'm using?
> 
> What I want is some way to hook the default readline-based behavior
> and have it use my function instead.  The other way to win would be to
> bind my special function to a keyboard sequence using .inputrc or some
> comparable mechanism.
> 
> Any ideas?  Thanks, as always.

I'll keep it in mind for a future version.

-- 
``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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]