1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Listing "@clip:"

Discussion in 'Support' started by mikea, Dec 22, 2009.

  1. mikea

    Dec 7, 2009
    Likes Received:
    TCC 11 build 36:

    With a list of filenames in the clipboard -- one per line:
    list @clip:
    This works as it did under 4NT (which I have way more experience with, than TCC yet) -- lists the filenames stored in the clipboard, rather than the clipboard contents, literally. However, some things aren't working as they did under 4NT, namely certain next/previous keystrokes "C" and "B" and Control+PgDn and Control+PgUp.

    I just get a beep when I use those keystrokes. Esc works as before, though.

    Was the behavior of LIST changed in TCC?

    The "next file" and "previous file" keystrokes do work if you're viewing files in a more conventional fashion, as in:
    list *.pl
    . . . well, wait. I'm not entirely right about this. If I'm viewing files via "list @clip:" and if I press Esc to go to the next file(s), then I can use Control+PgUp or "B" to go to the previous files. But I can never get "C" or Control+PgDn to work.

  2. rconn

    rconn Administrator
    Staff Member

    May 14, 2008
    Likes Received:
    This was changed several years ago -- TCC needs to know how many matching
    files it's got, so it won't fall off the end of (and exit LIST) when you use
    the "continue" keystroke. With the @ filename syntax, TCC cannot determine
    the number of matching files (without a whole lot of extra work and time in
    parsing and testing each line of the @ file).

    Rex Conn
    JP Software

Share This Page