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,511
18
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,404
152
> ---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
255
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
Thread starter Title Forum Replies Date
Alpengreis Done Suggestion for full osbuild internal variable Suggestions 2
mfarah Done TCEDIT: show the full name (with drive and path) of the active file on the title bar. Suggestions 3
Emilio III Done Full path with short names Suggestions 2
M Done Allow a full search in the directory history Suggestions 2
rconn New parameter /WTF - COPY/MOVE - Wait on disk full (rather than halt with error) Suggestions 1
K Done Alt-Enter to toggle 'full-frame' mode for console tab in TakeCmd Suggestions 1
Joe Caverly Have TCMD/TCC support registered version of V Suggestions 13
samintz Done Support ~ and :path in COPY Suggestions 5
R Done Website home page doesn't mention MS Server 2019 support Suggestions 0
S Add support for Git auto-completion Suggestions 0
Charles Dye Done ASSOCIATE: Support other verbs Suggestions 1
D Done @expand should support directory aliases. Suggestions 0
joltcoder Done Support an "up" command to go to parent directory and "up3" to go up 3 directories, etc. Suggestions 4
M Declined Command line support for Virustotal Suggestions 0
Charles Dye Done MOUNTISO: Add support for VHD / VHDX files Suggestions 5
E Done Support for IPv6 (ping function) Suggestions 5
Charles Dye Done Support binary buffers in checksum functions Suggestions 0
vefatica Done Let WHICH support UDFs Suggestions 1
gentzel Done Support m<&n as synonym for n>&m Suggestions 0
cgunhouse Declined Support for Handling Permissions Suggestions 0
cgunhouse Declined Support for Critical Sections Suggestions 0
rconn Declined VMDK support with MOUNT Suggestions 0
rconn DROPBOX and GOOGLE DRIVE support Suggestions 1
rconn add support for batch file projects Suggestions 0
rconn Add support for backpipes Suggestions 0
rconn Done UnQlite - alternative to dBase support ? Suggestions 0
rconn Support XML environment variables Suggestions 0
rconn Declined Support JSON environment variables Suggestions 1
krischik Done Working UTF-8 Support Suggestions 11
J Done Suggestions (copied from Support Thread) Suggestions 4
S Declined Support for Enhanced Deflate in ZIP Suggestions 1
M Declined Support for UTF-8 coded files in LIST and FFIND Suggestions 0
fpefpe Done Regina Support Suggestions 2
S Done Better PLUGIN support Suggestions 0
R Declined wish-list: add a command to copy a file to clipboard. Suggestions 17
R Done Add Libraries and Multi-line In-Memory functions to Features List on Website Suggestions 1
R Done IDE copy (OR REMOVE) Set var name to Watch list by hotkey Suggestions 2
rconn Configurable character list for selection delimiters Suggestions 0
Dmitry L. Kobyakov Done The list pane in the TCMD: some improvements Suggestions 0
newbie Done Remove TCC from Cntrl-Pnl Recommended list Suggestions 10
Joe Caverly Done LIST enhancement Suggestions 0
B Done Allow CDD /S To Skip Over Unavailable TreeExclude List Entries Suggestions 2

Similar threads