Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Listing "@clip:"

Dec
238
2
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.

 
> 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.

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
 
Back
Top
[FOX] Ultimate Translator
Translate