Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Command History not showing on up arrow button

Oct
5
0
I've searched for this on the forums, but can't find an answer.

If I have a TCC Prompt tab open, and I type in a command such as: ffind /t"correctkey" /v /s *.txt
...I then get the results from the ffind command. But when I then hit my up arrow to cycle through the previous commands in the command history, I just get a beep, and nothing shows up.

I very much want to use the up arrow and down arrows to cycle through my command history, but nothing shows and all I get is an annoying beep.

Any ideas? Thanks in advance.
 
I don't think the history mechanism can be turned off. The only ways I can think of to render <Up> useless would be with a "NormalKey=Up" directive in TCMD.INI (and that seems unlikely) or the environment setting HISTORYEXCLUDE=* (and that seems unlikely).
 
Here is my .ini file:

[4NT]
ANSI=No
CDDWinLeft=20
CDDWinTop=20
CDDWinWidth=300
CDDWinHeight=140
PopupWinHeight=400
PopupWinTop=10
PopupWinLeft=40
PopupWinWidth=400
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=4096
DirHistoryOnEntry=No
EditMode=Insert
FuzzyCD=0
HistMin=8192
History=20000
HistCase=No
HistCopy=No
HistDups=Off
HistMove=No
HistWrap=Yes
ServerCompletion=Local
AmPm=No
BeepFreq=440
BeepLength=2
CommandSep=&
DecimalChar=Auto
DescriptionMax=512
NTFSDescriptions=No
Descriptions=Yes
EscapeChar=^
EvalMax=10
EvalMin=0
ExpandPseudovariables=Yes
ParameterChar=$
RegularExpressions=Perl
TabStops=8
ThousandsChar=Auto
ProxyPort=80
FirewallType=None
FirewallPort=1080
PassiveFTP=Yes
FTPTimeout=180
HTTPTimeout=180
TFTPTimeout=180
MailPort=25
MailSSL=No
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=Yes
LogAll=No
LogOn=No
LogErrors=No
MouseWheel=Yes
NoClobber=No
PathExt=No
Perl=No
Python=No
RecycleBin=Yes
Rexx=No
Ruby=No
SettingChange=No
SHChangeNotify=No
Tcl=No
UnicodeOutput=No
UnixPaths=No
UpdateTitle=Yes
WebHelp=No
Win32SFNSearch=No
Wow64FsRedirection=Yes
ZoneId=0
[TakeCommand]
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
UpdateTitle=No
WebHelp=No
Wow64FsRedirection=Yes
ZoneId=0
AlwaysOnTop=No
AppendToDir=No
BackgroundImage=E:\Personal Docs\Backgrounds\WindowBackground.bmp
CommandInputFile="E:\Personal Docs\Work\TCCommandInput.txt"
CompleteHiddenFiles=No
CompleteHiddenDirs=No
CompletePaths=No
CompletePercents=No
IBeamCursor=No
InactiveTransparency=255
ServerCompletion=Local
SingleInstance=No
Transparency=255
Tray=No
WindowState=Standard
AutoAttachConsoles=No
ConsoleBufferRows=5000
IBeamCaret=No
LeftAltKey=Yes
LeftCtrlKey=No
RightAltKey=No
RightCtrlKey=No
SmoothScroll=No
SplitterWindows=No
StartTabWait=0
TabIcons=Yes
Tabs=Top
TabSize=20
TabRotation=No
TabX=Selected
[Tab1]
Title=Build Asset
Command=cmd.exe
Directory=D:\dev\Main\Game\Temp\Game
RunAs=
Password=
[Tab2]
Title=Miscellaneous
Command=C:\Program Files (x86)\JPSoft\TCMD15x64\tcc.exe
Directory=D:\dev-m2
[Toolbar1]
Title=Untitled
B1=261,C:\Users\Public\Documents\Stardock\IconPackager\CopperDeck2_4.5\CopperDeck2_4.5\CopperDeck2_4.5 Icon 60.ico,SyncCommandLine,,,"CDD" ""%_tcfolder"" enter
B2=257,C:\Users\Public\Documents\Stardock\IconPackager\CopperDeck2_4.5\CopperDeck2_4.5\CopperDeck2_4.5 Icon 18.ico,SyncFolders,,,"cdd /t " ""%%_cwd"" enter
 
I wonder how the directive HistMin=8192 got into the .INI file? 8192 characters was the upper limit of an expanded command line several build ago. It wasn't made the default, was it?
 
I wonder how the directive HistMin=8192 got into the .INI file? 8192 characters was the upper limit of an expanded command line several build ago. It wasn't made the default, was it?

No. (And 8192 was the upper limit of an expanded command line about 10 years ago.)

I suspect the OP added it thinking it related to the size of the history list, rather than the minimum length of the command line to save.
 
Last edited:

Similar threads

Back
Top