Declined Full support for list /c using @consoleb

Dec 13, 2009
2
0
[LIST /C] only works in stand-alone TCC windows, not in Take Command tab windows.
Could this restriction be lifted now that you support @consoleb?

In the meantime, I'm using this 1-line alias as a workaround:
listc=set _save=%@consoleb[-1] %+ echo %@consoleb[0] >NUL %+ list %$ %+ echo %@consoleb[%_save] >NUL %+ set _save=
But it seems that this would leak, because there doesn't seem to be any way to release the temporary buffer when done. (I tried @bfree and not surprisingly crashed the session.)

Thanks!
 

samintz

Scott Mintz
May 20, 2008
1,557
26
Solon, OH, USA
LIST /C works just fine in a tabbed window for me. What version of TC are
you running?

-Scott

jdmarch <> wrote on 12/16/2009 09:07:56 AM:


> Quote:
>
> [LIST /C] only works in stand-alone TCC windows, not in Take Command
> tab windows.
>
> Could this restriction be lifted now that you support @consoleb?
>
> In the meantime, I'm using this 1-line alias as a workaround:
> Quote:
>
> listc=set _save=%@consoleb[-1] %+ echo %@consoleb[0] >NUL %+ list %$
> %+ echo %@consoleb[%_save] >NUL %+ set _save=
>
> But it seems that this would leak, because there doesn't seem to be
> any way to release the temporary buffer when done. (I tried @bfree
> and not surprisingly crashed the session.)
>
> Thanks!
>
>
 
Jun 26, 2008
38
1
LIST /C works just fine in a tabbed window for me. What version of TC are you running?

From the announce for Take Command 11.0 build 35:

LIST - disabled the /C option when running in a TCMD tab window.

so in tabbed windows, "list /c somefile" behaves like "list somefile".
 

rconn

Administrator
Staff member
May 14, 2008
12,557
167
> ---Quote---
> [LIST /C] only works in stand-alone *TCC* windows, not in *Take
> Command* tab windows.
> ---End Quote---
> Could this restriction be lifted now that you support @consoleb?

No; it's a Windows limitation. There's no way for TCMD to know that a
console window has changed to a new console.

Rex Conn
JP Software
 
Dec 13, 2009
2
0
No; it's a Windows limitation. There's no way for TCMD to know that a console window has changed to a new console.
Sorry, Rex, I'm lost. Isn't the point of /c to avoid cluttering the screen buffer? (It certainly is for me.) The alias in my original post does this AFAICT. If an alias can do it, can't a command do it?

Also, can you address the memory leakage issue that I raised in the original post? (When @consoleb is used to make and use a temporary screen buffer, is that buffer deallocated? If not, isn't this a bug?)

Thank you!
 
Nov 13, 2008
257
3
www.thedave.me
On Wed, 16 Dec 2009 19:25:34 -0600, rconn <>
was claimed to have wrote:


>---Quote---
>> ---Quote---
>>[LIST /C] only works in stand-alone *TCC* windows, not in *Take
>> Command* tab windows.
>> ---End Quote---
>> Could this restriction be lifted now that you support @consoleb?
>---End Quote---
>No; it's a Windows limitation. There's no way for TCMD to know that a
>console window has changed to a new console.

Couldn't TCC tell TCMD?
 

Similar threads