Cls Does not appear to clear screen

G

Glennbo51

Guest
TCC 10.00.42 Windows XP [Version 5.1.2600]
TCC Build 42 Windows XP Build 2600 Service Pack 3

When TCC is run attached withing TCMD CLS does not appear to clear screen. When it is run detached it does. When it is attached after the CLS command is invoked it moves the cursor to the top of the window and displays the prompt. The window is cleared when the Parrent TCMD is resized. CLS /S seems to work but CLS /c and CLS does not.
 

rconn

Administrator
Staff member
May 14, 2008
12,404
152
GlennBo51 wrote:

> TCC 10.00.42 Windows XP [Version 5.1.2600]
> TCC Build 42 Windows XP Build 2600 Service Pack 3
>
> When TCC is run attached withing TCMD CLS does not appear to clear screen. When it is run detached it does. When it is attached after the CLS command is invoked it moves the cursor to the top of the window and displays the prompt. The window is cleared when the Parrent TCMD is resized. CLS /S seems to work but CLS /c and CLS does not.

Not reproducible here.

Do you have CLS aliased?

Rex Conn
JP Software
 
G

Glennbo51

Guest
rconn wrote:

> GlennBo51 wrote:
>
>
> ---Quote---
>
>> TCC 10.00.42 Windows XP [Version 5.1.2600]
>> TCC Build 42 Windows XP Build 2600 Service Pack 3
>>
>> When TCC is run attached withing TCMD CLS does not appear to clear screen. When it is run detached it does. When it is attached after the CLS command is invoked it moves the cursor to the top of the window and displays the prompt. The window is cleared when the Parrent TCMD is resized. CLS /S seems to work but CLS /c and CLS does not.
>>
> ---End Quote---
> Not reproducible here.
>
> Do you have CLS aliased?
>
> Rex Conn
> JP Software
>
>
>
>
>
>
No I did not. It has me very puzzled. As a work around I am using
CLS/S intead of just CLS.
 
May 20, 2008
603
0
Sammamish, WA
I can not reproduce the issue either.

Sent from Cookie's iPhone

On Jan 28, 2009, at 12:04, GlennBo51 <> wrote:


> rconn wrote:
>
>
> ---Quote---
>> GlennBo51 wrote:
>>
>>
>> ---Quote---
>>
>>> TCC 10.00.42 Windows XP [Version 5.1.2600]
>>> TCC Build 42 Windows XP Build 2600 Service Pack 3
>>>
>>> When TCC is run attached withing TCMD CLS does not appear to clear
>>> screen. When it is run detached it does. When it is attached
>>> after the CLS command is invoked it moves the cursor to the top of
>>> the window and displays the prompt. The window is cleared when
>>> the Parrent TCMD is resized. CLS /S seems to work but CLS /c and
>>> CLS does not.
>>>
>> ---End Quote---
>> Not reproducible here.
>>
>> Do you have CLS aliased?
>>
>> Rex Conn
>> JP Software
>>
>>
>>
>>
>>
>>
> ---End Quote---
> No I did not. It has me very puzzled. As a work around I am using
> CLS/S intead of just CLS.
>
>
>
>
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,494
91
Albuquerque, NM
prospero.unm.edu
When TCC is run attached withing TCMD CLS does not appear to clear screen. When it is run detached it does. When it is attached after the CLS command is invoked it moves the cursor to the top of the window and displays the prompt. The window is cleared when the Parrent TCMD is resized. CLS /S seems to work but CLS /c and CLS does not.

With what video controller? (I've seen this mostly with older Nvidia chips.)
 

rconn

Administrator
Staff member
May 14, 2008
12,404
152
GlennBo51 wrote:


> No I did not. It has me very puzzled. As a work around I am using
> CLS/S intead of just CLS.

The only way a CLS (with no color arguments or switches) can fail is if
the Windows FillConsoleOutputCharacter API is failing. (Which would
indicate either an errant video driver or an internal Windows problem on
your system.)

Rex Conn
JP Software
 
May 29, 2008
20
0
Edmonton, AB, Canada
I have a similar, but different problem, perhaps it's a clue?

TCC 9.02.154 Windows XP [Version 5.1.2600]
TCC Build 154 Windows XP Build 2600 Service Pack 3

ATi Mobility Radeon X1300 video with latest drivers from Dell.

CLS works in TCMD normally if it's on the laptop's screen, but if it's on the secondary/external monitor (desktop extended from the laptop monitor, so both are active) it doesn't appear to do anything except reset the cursor to the top of the screen. However, if I then maximize or restore the window it is cleared.
 
Similar threads
Thread starter Title Forum Replies Date
knudvaneeden cls in TakeCommand screen does not clear full screen Support 26
x13 %@EXECSTR[-X,...] generates CLS before execution? Support 10
I v16 - cls corrupts output stream Support 7
vefatica CLS /C slow on Win7 Support 7
S Help topic cls.htm Support 0
T Fixed Function @timer[] does not work as required Support 6
D Parsing an array variable to an array does not work Support 5
J Take command does not start on Windows 10 Support 3
J ffind does not find files Support 4
Joe Caverly PAUSE does not erase countdown timer Support 0
D ParentDirectory does not update directory history Support 6
D Documentation Help "Startup" page does not describe global lists Support 0
Charles Dye Does HASH's /E option do anything? Support 1
fishman@panix.com First TCC instantiation after reboot does not work. Support 17
D Fixed @VERSION does not increment pre-fixed version numbers. Support 1
vefatica Why does @WSLPATH double the leading '/'? Support 7
D What does the file "..\Everything\Run history.csv" store? Support 5
Peter Murschall WAD rem does not work correctly Support 8
vefatica Does @SYMLINK work? Support 6
R Tree on FAT32 does not sort by name by default. Support 6
A Tcc does not recognize "bcdedit" Support 20
MickeyF Why does this batch file give me 'unknown command "else"' error? Support 17
M Ctrl-C when using command line history does nothing Support 2
vefatica JOBS /K ... how does it work? Support 5
Joe Caverly Why does TCCRT return VIEW as an internal command? Support 6
D Does TCC improve CMD's implementation of ECHO? Support 6
vefatica Find Files/Text dialog: does it work? Support 0
Alpengreis [v22.00.41] sync command flag "/X" does not work Support 22
Joe Caverly .PS1 script does not work with PSHELL Support 11
M MOVE does not behaves like intended (on failure) Support 1
R Fixed Sendmail parameter /USER= does not work Support 4
twaterloo does tcc have a task sceduler Support 4
Brian Woodward How to? Does FTP.CFG only support SSL over port 21? (Newbie) Support 6
M Activation Key does not correspond… Support 2
James Miller tcc shell window does not disappear Support 18
D Lua does not work on the commandline Support 5
D Fresh instance of TCMD does not use TCMD.INI Support 7
D Fixed @Lua does not behave as documented Support 8
D everything /o does not open the option dialog Support 4
M Why does HELP keep opening in the background? Support 0
vefatica Does TCC know I'm visiting the forums? Support 76
vefatica Why does my forum theme keep changing? Support 1
fishman@panix.com 19.02.37 Does Not Install For Me Support 2
I Windows 10 console does not allow alt-F4 alias to complete Support 1
fromano WAD ver /r does not detect Win 10B10166 Support 5
Alpengreis Fixed BATCOMP /O does not work Support 1
D Fixed Cut and paste in TC's file/folder view does not remove file Support 17
E View (internal command) does nothing now Support 3
D How does Cut work? Support 8
B How to? why does my BTM stop Support 2

Similar threads