Tcmd/64 issue - options not saving

Dec 24, 2008
21
0
options/configure take command on the "tabs" tab.

changing options like background color and tab prefrences like "run-as" and password are not being saved.

Running Win7/64
tcmd/64 12.10

Thanks,
Jim Klein
 

rconn

Administrator
Staff member
May 14, 2008
12,344
149
options/configure take command on the "tabs" tab.

changing options like background color and tab prefrences like "run-as" and password are not being saved.

Not reproducible here (and nothing in that code has changed since 12.0). Can you tell me the exact steps you're taking, and where your TCMD.INI is located?

Anybody else able to reproduce this?
 
Jan 19, 2011
604
14
Norman, OK
Anybody else able to reproduce this?
It is not saving my Tab Colors setting. Is it perhaps being overridden by the Themes setting? I don't use the Run As box.
 
Dec 24, 2008
21
0
Not reproducible here (and nothing in that code has changed since 12.0). Can you tell me the exact steps you're taking, and where your TCMD.INI is located?

Anybody else able to reproduce this?

C:\]dir tcmd.ini /s
Volume in drive C is unlabeled Serial number is f8a4:757d
Directory of C:\Documents and Settings\Administrator\Local Settings\Application Data\JPSoft\tcmd.ini
3/24/2011 14:31 950 TCMD.INI
950 bytes in 1 file and 0 dirs 4,096 bytes allocated
Total for: C:\Documents and Settings\Administrator\Local Settings\Application Data\JPSoft\tcmd.ini
950 bytes in 1 file and 0 dirs 4,096 bytes allocated
Total for: C:\Documents and Settings\Administrator\Local Settings\Application Data\tcmd.ini
950 bytes in 1 file and 0 dirs 4,096 bytes allocated
Total for: C:\Documents and Settings\Administrator\Local Settings\tcmd.ini
950 bytes in 1 file and 0 dirs 4,096 bytes allocated
Total for: C:\Documents and Settings\Administrator\tcmd.ini
950 bytes in 1 file and 0 dirs 4,096 bytes allocated
Total for: C:\Documents and Settings\tcmd.ini
950 bytes in 1 file and 0 dirs 4,096 bytes allocated
Total for: C:\tcmd.ini
950 bytes in 1 file and 0 dirs 4,096 bytes allocated
13,984,796,672 bytes free
[C:\]

I can also reproduce this on a test Virtual Machine running WinXP that never has run tcmd.
 

rconn

Administrator
Staff member
May 14, 2008
12,344
149
> It is not saving my Tab Colors setting. Is it perhaps being overridden by
> the Themes setting? I don't use the Run As box.

Colors are not overridden by themes. (However, tab colors in TCMD will be
overridden by colors in the console windows.)

How are you determining that it's not saving your Tab Colors settings -- is
the TCMD.INI file not updating? Are the values shown in the configuration
dialog reset when you close it & redisplay it?

Rex Conn
JP Software
 
Jan 19, 2011
604
14
Norman, OK
How are you determining that it's not saving your Tab Colors settings -- is the TCMD.INI file not updating? Are the values shown in the configuration dialog reset when you close it & redisplay it?
Both. It is saving the TCMD.INI file, but comparing them, the only change was that it moved the [TCFILTERS] block to a different line.
When opening the Tab Colors dialog, it is always set to the same color. I can change it, hit Apply, and hit OK, but when I return, it is reset to the color it was when I opened it the first time.
Looking through TCMD.INI, I am unable to even find ANY reference to colors at all.
Code:
[TakeCommand]
CommandInput=No
AutoUpdateFolders=No
CloseIfNoTabs=Yes
ClosePrompt=No
DescriptionMax=512
Descriptions=Yes
LinuxSelection=No
LockExplorerBar=No
LockMenuBar=No
LockTabBar=No
MinimizeOnClose=No
MouseWheel=Yes
NTFSDescriptions=No
PathExt=No
RegularExpressions=Perl
SettingChange=No
SHChangeNotify=No
ShowHiddenFiles=No
ShowSysFiles=No
ShowSuperHidden=No
SingleClick=No
ShowExtensions=Yes
StartDirectory=C:\Documents and Settings\xxxxxx
UpdateTitle=No
Wow64FsRedirection=Yes
ZoneId=0
AlwaysOnTop=No
AppendToDir=No
CompleteHiddenFiles=No
CompleteHiddenDirs=No
CompletePaths=No
CompletePercents=No
IBeamCursor=No
InactiveTransparency=255
ServerCompletion=Local
SingleInstance=No
Transparency=255
Tray=No
WindowState=Standard
AutoAttachConsoles=No
COMSPEC=C:\MyProgramFiles\JPSoft\TCMD12\tcc.exe
ConsoleBufferRows=5000
IBeamCaret=No
LeftAltKey=Yes
LeftCtrlKey=No
RightAltKey=No
RightCtrlKey=No
SmoothScroll=No
StartTabWait=0
TabIcons=Yes
Tabs=Top
TabSize=20
TabRotation=No
TabX=Selected
[4NT]
ANSI=Yes
CDDWinLeft=20
CDDWinTop=20
CDDWinWidth=554
CDDWinHeight=140
PopupWinHeight=140
PopupWinTop=10
PopupWinLeft=40
PopupWinWidth=300
WindowHeight=0
WindowState=Standard
WindowWidth=0
WindowX=0
WindowY=0
Transparency=255
InactiveTransparency=255
AppendToDir=No
CompleteHiddenFiles=No
CompleteHiddenDirs=No
CompletePaths=No
CompletePercents=No
CursorIns=100
CursorOver=15
DirHistory=10240
DirHistoryOnEntry=No
EditMode=Overstrike
FuzzyCD=1
HistMin=0
History=24576
HistCase=No
HistCopy=No
HistDups=Off
HistMove=No
HistWrap=Yes
ServerCompletion=Local
TreePath=C:\MyProgramFiles\JPSoft\TCMD12
AmPm=No
BeepFreq=0
BeepLength=2
CommandSep=&
DecimalChar=Auto
DescriptionMax=512
NTFSDescriptions=No
Descriptions=Yes
EscapeChar=^
EvalMax=10
EvalMin=0
ExpandPseudovariables=Yes
ParameterChar=$
RegularExpressions=Perl
SwitchChar=/
TabStops=8
ThousandsChar=Auto
Proxy=xx.x.xxx.xx
ProxyPort=8080
FirewallType=None
FirewallPort=1080
PassiveFTP=No
FTPTimeout=180
HTTPTimeout=180
TFTPTimeout=180
MailPort=25
RLocalPort=0
SHLocalPort=0
SSHPort=22
SSLStartMode=0
SSLPort=0
AutoCancel=No
AutoCDD=Yes
AutoRun=Yes
BatchAliases=Yes
BatchEcho=Yes
CMDExtensions=No
CopyPrompt=No
DelayedExpansion=No
DelGlobalQuery=Yes
DirJunctions=Yes
DuplicateBugs=Yes
ExecWait=No
HistLogOn=No
LocalAliases=No
LocalDirHistory=No
LocalFunctions=No
LocalHistory=No
LogAll=No
LogOn=No
LogErrors=No
MouseWheel=Yes
NoClobber=No
PathExt=No
Perl=Yes
Python=Yes
RecycleBin=Yes
Rexx=Yes
Ruby=No
SettingChange=No
SHChangeNotify=No
Tcl=No
TCStartPath=C:\MyProgramFiles\JPSoft\TCMD12
UnicodeOutput=No
UnixPaths=No
UpdateTitle=Yes
Win32SFNSearch=No
Wow64FsRedirection=Yes
ZoneId=0
4StartPath=C:\MyProgramFiles\JPSoft\TCMD12
[PopupFont]
Font=Consolas
Size=-16
Weight=400
Italic=0
Script=0
[Font]
font=Consolas
size=-16
weight=400
italic=0
Script=0
[ListView]
Style=1
[Tab1]
Title=TCC Prompt
Command=C:\MyProgramFiles\JPSoft\TCMD12\tcc.exe
Directory=C:\Documents and Settings\xxxxxx
RunAs=
Password=
[Tab2]
Title=Bash
Command=C:\cygwin\bin\bash.exe --login -i
[TCFilters]
3=apps
2=apps*
1=e*
 

rconn

Administrator
Staff member
May 14, 2008
12,344
149
C:\]dir tcmd.ini /s
Volume in drive C is unlabeled Serial number is f8a4:757d
Directory of C:\Documents and Settings\Administrator\Local Settings\Application Data\JPSoft\tcmd.ini
3/24/2011 14:31 950 TCMD.INI

It would be more useful to see the actual contents of TCMD.INI, to see if the tab colors were saved.
 

rconn

Administrator
Staff member
May 14, 2008
12,344
149
Both. It is saving the TCMD.INI file, but comparing them, the only change was that it moved the [TCFILTERS] block to a different line.
When opening the Tab Colors dialog, it is always set to the same color. I can change it, hit Apply, and hit OK, but when I return, it is reset to the color it was when I opened it the first time.
Looking through TCMD.INI, I am unable to even find ANY reference to colors at all.

APPLY will not save the values to TCMD.INI, it just changes the values currently in use (and they will be discarded upon exit).
 
Jan 19, 2011
604
14
Norman, OK
it just changes the values currently in use (and they will be discarded upon exit).
I guess it discards them sooner than expected since the tabs don't change color upon closing the color selection dialog.
 

rconn

Administrator
Staff member
May 14, 2008
12,344
149
I guess it discards them sooner than expected since the tabs don't change color upon closing the color selection dialog.

As I said previously, if you have colors in your console window they will override any colors set in the TCMD tab dialog. The *only* time those colors take effect is in starting a new tab where the console has no colors (i.e., default white on black).
 
Jan 19, 2011
604
14
Norman, OK
The colors are set to 'default'.
 
Jan 19, 2011
604
14
Norman, OK
And did you start a new tab?
I have started all sorts of tabs; tabs where the console window is (TCC, bash, sh, another sh, another TCC, etc) and tabs that show belonging to the Tabbed Toolbar. Each time changing the color and none of them show the color I am selecting.

The *only* time those colors take effect is in starting a new tab where the console has no colors (i.e., default white on black).
I have made sure that all my console tabs (and tabbed toolbar tabs, though I don't think these are the ones we are talking about) have the DEFAULT foreground and DEFAULT background color selected. Even upon restart, my tab colors are not applied.

I can see you are trying to troubleshoot the issue with
How are you determining that it's not saving your Tab Colors settings -- is the TCMD.INI file not updating? Are the values shown in the configuration dialog reset when you close it & redisplay it?
and
It would be more useful to see the actual contents of TCMD.INI, to see if the tab colors were saved.
but then you contradict yourself with
APPLY will not save the values to TCMD.INI, it just changes the values currently in use (and they will be discarded upon exit).
If it is not a contradiction, then what method must be used to make sure the values are saved?

Lastly I must provide a counter-example to
Colors are not overridden by themes. (However, tab colors in TCMD will be overridden by colors in the console windows.)
There are three attachments to this message with clipped screen captures of the tabs in TCMD. Each of them has differently colored tabs. Note in particular the office2003.jpg image. The tabs in that image ARE colored, however, I had no input as to which colors were selected. The colors were assigned for me.


Would you please provide a step-by-step walk-through of how to use Options > Configure Take Command... > Tabs > Windows > Tab Colors?
 

Attachments

  • office2000.jpg
    office2000.jpg
    8.1 KB · Views: 81
  • office2003.jpg
    office2003.jpg
    8.6 KB · Views: 82
  • vs2010.jpg
    vs2010.jpg
    8.4 KB · Views: 82

rconn

Administrator
Staff member
May 14, 2008
12,344
149
We may be talking about completely different things.

Are you talking about the color of the tab itself, or the colors displayed by the text in the tab window (i.e., what TCC shows)? The former is not changeable; only the latter is affected by the "tab colors" option. (See the help for details.)

The color (and shape) of tabs are determined by the theme.
 
Jan 19, 2011
604
14
Norman, OK
We may be talking about completely different things.
You couldn't have hit the nail on the head any harder than that. We weren't talking apples and oranges, we were talking apples and hippos or something.

OK. I understand how it works now.

The Tab Colors button is used to define the colors in the Custom Colors palette which is used by the Foreground and Background color selector pull-downs.

I see where my confusion was coming from. In the documentation, Tab Colors is listed under the Tabs: heading along with Tab Size, Tab Icons, etc..., instead of the Windows: heading (where it is actually located in the option dialog box) which implied that it controlled the tab itself.

Please move the Tab Colors help down to the Windows: section and I think my italicized "understanding" text above would make an excellent addition to the Tab Colors help.

Returning hijacked thread back to its original owner.
 
Similar threads
Thread starter Title Forum Replies Date
cgunhouse TCMD.INI Issue Support 7
J Odd V12 TCMD issue Support 5
D Bug TCMD /X option Support 6
vefatica TCMD hides itself! Support 3
vefatica Tray min'd TCMD and ACTIVATE Support 6
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
kb6ojs How to? "Specified Account Already Exists" error installing TCMD v27 Support 12
CWBillow TCMD Colors Support 8
Jay Sage Issues With TCMD File Explorer Support 0
C Last TCMD that supports win 7? Support 5
gentzel TCMD background color confusion Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Alpengreis Remaining TCMD background process (v26) ... Support 19
S Windows Server version not being detected correctly in TCMD 26RC2 Support 9
G TCMD crash when copy Support 3
Joe Caverly DrawVLine results different in TCMD tab and detached TCC Support 11
Alpengreis [TCMD v25.00.24] Small space problem with the DE translation in Prefs-GUI Support 1
Alpengreis [TCMD v25.00.24] Problem with copy and paste and the # char via mouse in TCC Support 6
Jay Sage TCMD Crashes with "tctoolbar /c /r file" Support 5
nikbackm TCMD 25 - Unregister older TCMD version Support 2
G Documentation on TCMD.INI Support 9
R New Clear Buffer in TCMD Home Menu Support 2
CWBillow Back up TCMD tabs Support 2
CWBillow Upgrade Windows 10's effect on TCMD and TCC Support 3
DrusTheAxe TCMD 24.02.49 x64 crashed due to DivideByZero :-( Support 4
A After update to 24.02.49, helpfile tcmd.chm hangs when opened Support 0
David McClelland TCMD 24 & Perl - perl thinks it's own executable is ...\TCMD24\TCC.EXE??? Support 3
dcantor How to? Can 32-bit TCC be run on a system with 64-bit TCMD and TCC installed? Support 6
W pdir returns diff results between tcc and tcmd - one is an error msg Support 5
vefatica What's TCMD's problem with ^e[0m? Support 13
CWBillow TCMD PowerShell Tab elevated Support 6
A How to? Copy+Paste in TCMD tabs with Ctrl-Shift-Ins? Support 5
vefatica TCMD output invisible on Win10 Support 22
J Moving from TCC v22 to TCMD v24 issues Support 3
RChrismon How to? Copy TCMD.INI to New Version Support 7
rps TCMD OPTIONS dialog Support 2
rps TCMD Tabs priority option setting Support 0
D Can we fix the scaling for TCmd? Support 14
CWBillow TCMD Tab Defs Support 4
A How to? TCMD Configuration Dialog: 'Smooth Scrolling' Option missing? Support 1
A Fixed [23.0.22]: TCMD crashes shortly after start, TCC keeps running in background Support 6
A TCMD - Dir Command puts out blank lines? Support 16
P Symantec Endpoint Protection trapped TCMD.EXE and said it contained WS.Reputation.1 (Virus?) Support 3
Emilio III TCMD Tab titles on Insider Windows Support 2
kb6ojs Want to start TCMD v20 with every Windows 10 bootup Support 3
D Tcmd 22.00.42 - annoying desktop refresh Support 47
CWBillow Context menu extensions for TCC/TCMD v18? Support 1
vefatica Pasting into TCMD via right-click menu? Support 2
M Please explain TCMD's ANSI x3.64 support Support 4

Similar threads