Cls Does not appear to clear screen

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
G

Glennbo51

Guest
#1
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
10,100
85
#2
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
#3
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.
 
#4
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
3,383
39
Albuquerque, NM
prospero.unm.edu
#5
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
10,100
85
#7
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
 
#9
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.