Update Title

ccb

Jul 13, 2009
47
0
TCC 14.00.31 x64 Windows 7 [Version 6.1.7601]
titleprompt=%@lfn[%_cwd]

"Take Command normally changes the window titles to include the command or batch file name each time a new command is executed. If you prefer a static title bar which does not change with each command, disable this option."
- When this option is checked, I typically see the tab title change to the running command.
- When this option is NOT checked, the tab title changes to "tcc.exe" when I run a command.

I'd "prefer a static title bar which does not change with each command".
 
May 20, 2008
3,515
4
Elkridge, MD, USA
I do not see the reported effect using
TCC 14.00.31 Windows XP [Version 5.1.2600]
when the option is not checked, i.e., title remains constant.

BTW,
1/ TITLEPROMPT must be defined as an environment variable using the SET command.
2/ %_cwd is already an LFN, so the command
set titleprompt=%_cwd
is sufficient.
--
HTH, Steve
 

ccb

Jul 13, 2009
47
0
Unchecking "Update Titles" works for me.

Do you by any chance have a PRE_INPUT or PRE_EXEC alias defined?
I can't find a PRE_INPUT or PRE_EXEC alias defined anywhere. (They would show up if I ran 'alias' at the cmd line, wouldn't they?)

I have an alias:
bld=timer & c:\bin\msbld.bat %$ & timer
When I run that, the tab title changes to "tcc.exe".
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,497
91
Albuquerque, NM
prospero.unm.edu
I can't find a PRE_INPUT or PRE_EXEC alias defined anywhere. (They would show up if I ran 'alias' at the cmd line, wouldn't they?)

Yes.

I have an alias:

When I run that, the tab title changes to "tcc.exe".

Does the title change if you run a simple command like DELAY 2 or PING LOCALHOST ?

What's in MSBLD.BAT? Does it open any subshells?
 
May 20, 2008
11,547
107
Syracuse, NY, USA
I use UpdateTitles=No and TITLEPROMPT=%[_4ver]$s$s[%_pid]$s$s$p. If I "UNSET TITLEPROMPT" the caption is rock-steady.
 

ccb

Jul 13, 2009
47
0
msbld.bat:
@echo off
if "%1"=="-?" goto help
set TRGT=%1
set CONFIG=%2
REM Set the VS2010 envronment
if "%MSVARS__"=="" call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\vsvars32.b
set MSVARS__=MsVarsSet

if "%1" == "" set TRGT=BUILD
if "%2" == "" set CONFIG=Debug
@echo on
MSBuild /t:%TRGT% /p:Configuration=%CONFIG% /property:WarningLevel=1
@echo off
set TRGT=
set CONFIG=
goto xit
:help
echo MSBld (trgt) (config)
echo Default trgt = REBUILD
echo Defalt config = DEBUG
:xit
@echo off
MSBuild is MSBuild.exe
 

ccb

Jul 13, 2009
47
0
It seems to make a difference whether I use the alias or not.
Using alias = bad behavior.
Running msbld.bat directly = good behavior.
 
Similar threads
Thread starter Title Forum Replies Date
samintz 27.0.21 Did not update ES Support 2
D ParentDirectory does not update directory history Support 6
vefatica Off topic: 10/3 cumulative update? Support 10
A After update to 24.02.49, helpfile tcmd.chm hangs when opened Support 0
Joe Caverly CMDebug v23 Help: /FEEDBACK /UPDATE Support 0
rconn News Update: Code Signing Certificate Status Support 16
C "Failed to update the system registry. Please try using REGEDIT" Support 3
Joe Caverly Update ENDLOCAL to include LIBRARY Support 0
A Reinstalling TCC-RT 21.01.57 triggers a new install instead of update/reinstall Support 3
Charles Dye Ctrl-Shift-Up doesn't update directory history Support 1
vefatica File system update after DEL? Support 4
F Update 21.00.34 -> 37, key no longer recognised Support 2
vefatica Will this survive an update? Support 3
K_Meinhard Theme not remembered by update Support 1
Seven Update / install issue with 20.0.20.10.32 take command Support 7
M Can't update TCC/TCMD to 20.00.25 Support 4
vefatica 21-22 Update problems Support 8
Alpengreis [v2problems0.x] After Update always "" with Everything Support 4
Alpengreis [TC 19.0 Beta 22/23] Install/Update-"Problems" Support 4
J Fixed Update to 18.00.25 not ok Support 7
Jay Sage Toolbar Update to INI File Not Working Support 10
vefatica Update to current install dir? Support 8
tmaynard Error on Take Command Start after recent update Support 2
vefatica Update to 54 Support 4
rconn News JP Software Forums Update Support 3
rconn News Web site update Support 0
vefatica Update removes pinned shortcut? Support 17
S How to? Download TCMD only once to update several computers Support 4
B Take Command x64 15.01.55 Error: Update installation failed Support 7
fpefpe How to? update error? Support 3
H Update to 15.01.40 freezes on cleanup... Support 3
samintz Fixed Update from 39 to 40 Support 0
rconn News Forum software update Support 5
vefatica Must update remove my taskbar-pinned shortcut? Support 20
vefatica Update removes taskbar-pinned shortcut Support 7
greyfairer Very slow startup since last Windows 7 Update (14.03.59 x64) Support 9
B Virus in latest update? Support 4
fishman@panix.com What does each update do? Support 1
R wishlist: in update keep previous settings Support 9
Peter Bratton Update the ftp site Support 1
T 12.11.70 update problem Support 3
P Help > Update triggers invalid configuration Support 3
J update Options with tcc 10.00.57 Support 4
rconn Free update keys sent Support 2
B TC 9 Update Support 0
vefatica Why am I seeing this title? Support 17
fpefpe How to? command echo in title line/bar Support 2
S START with title Support 4
rps Documentation TITLE cmd docs Support 0
M How to? How to set a default TITLE for newly opened tab? Support 2

Similar threads