How to? TCC/LE: How do you add "edit-mode=insert" to ini file?

Jul 23, 2014
37
0
I have a shortcut with this target:

C:\applications\utilities\TCCLE10\tcc.exe /@R:\jeffy\application_settings\tcc_le\tcmd.ini

My goal is to set edit mode to start in insert mode. The INI file is currently empty. I don't understand how to add "SETDOS /M1" (or its equivalent) into this INI file.

How do you do this? I've been reading through the documentation, and while I see stuff on "SETDOS", "Ins", and "Edit Mode", I don't understand which of these, if any, apply to the INI file. I've tried these values (which is the *only* text in the INI file):

Ins = Yes
--> Invalid key substitution for "Ins"
Ins
--> No error message, and mode is still overstrike
Ins = 1
--> No error message, and mode is still overstrike
SETDOS = M1
--> Invalid item name "SETDOS"
SETDOS = /M1
--> Invalid item name "SETDOS"

Most importantly, how do I discover this kind of thing in the documentation? The universe of available variables, and their possible values?

Thank you.
 
Last edited:

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,469
88
Albuquerque, NM
prospero.unm.edu
You don't actually need to edit the .INI file. Type OPTION to open the configuration dialog, then select the 'Command Line' tab. At the top of the right-hand side, you'll find radio buttons to set the default editing mode.

(To answer the question you asked: SETDOS is a command, not an .INI directive. You would open the .INI file in a text editor, look for the section beginning with [4NT], then look for the EditMode= directive. If there is one, change it to EditMode=Insert. If there is no EditMode= directive, just create it under [4NT] somewhere.)
 
Jul 23, 2014
37
0
That worked. Thank you. (It actually worked with or without the "[4NT]" header. I'm doing this in a completely new/empty file.)

I could not find "EditMode" in the documentation under directives or via a search. I did find "_EDITMODE". Is there a complete listing of all available INI directives, and their possible values?
 
Dec 7, 2009
238
2
Left Coast, USA
> how do I discover this kind of thing in the documentation? The universe of available variables, and their possible values?

4NT has one of the most extensive help files I've ever seen, but to be sure as the thing expands, it can become difficult to find what you're looking for. The 'favorites' tab of the CHM file can be your friend here. I'd suggest:

Expand the table of contents until you locate the topic Variables.
Expand Variables and locate Variables by Category. Open that topic.
Click the Favorites tab in the help file.
In the Topics pane, right-click, and select Add from the context menu. This puts the Variables by Category topic into the list.
Start over and go to Functions (in the table of contents), then open Functions by Category. Add that one to the list of favorites.
Switch to the Search tab and type ini file into the search field.
Do the search. In the results-list, find an options- or INI-file-related topic to bookmark.
Open that topic. Switch to the Favorites tab, right-click, add it to the favorites-list.
And so forth.

I'm constantly in and out of those "by category" topics. Using the Favorites feature in the help file is one way to get to them quickly.
 
Dec 7, 2009
238
2
Left Coast, USA
> What config dialog? I'm using TCC/LE

As Charles said: "option," then <enter>.

And help option, typed at the command line, should provide some additional info. (I assume that works in TCC/LE.)
 
Jul 23, 2014
37
0
I don't believe it. I've been using TCC/LE for like five years and never knew that.

Thanks to you both.
 
Last edited:
Similar threads
Thread starter Title Forum Replies Date
R Curiosity - can TCC be a VBA Add-In? Support 2
vefatica TCC startup: /IP not honored after /K Support 1
MickeyF TCC crashing when copying multiple files (now resolved) Support 6
C COMSPEC constantly reset to TCC.EXE Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT v28 Released Support 0
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.24 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.23 uploaded Support 0
Alpengreis Fixed Crash after copy dialog with big TCC.exception.log Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT v27.01 Build 22 Uploaded Support 0
L FTYPE in TCC, less quirky than in cmd.exe Support 3
V Set path permanently from within TCC? Support 3
DrusTheAxe Runaway TCC.exception.log filling drive Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.21 uploaded Support 0
Joe Caverly tcc.exception.log Support 3
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.20 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.19 Support 0
FreezerBurnt Help making a CMD and TCC compatible batch file Support 7
vefatica SCRIPT ... TCC disappears Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT v27.0.18 Support 0
Jesse Heines Access Denied errors in TCC 27 Support 9
fpefpe How to? tcc inifile (%_ininame) Support 3
M How to? Black TCC Prompt Support 2
D Differences between TCC and CMD with COPY /b Support 4
M Oracle batch OPatch.bat.bat not working in TCC but correctly in CMD Support 5
Jay Sage Extra TCC Tasks Support 6
vefatica Can I turn off the minimize to tray mechanism in TCC? Support 5
N Command execution slows down in TCC Prompt after a while Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Joe Caverly Set a batch variable (%1 - %n) when TCC is executing a batch file Support 5
samintz How to? Is this doable in TCC? Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT 26.02.41 Uploaded Support 0
D TCC tab detaching & restarting Support 3
Ó Recent git output not shown on TCC Support 1
P Kill all other instances of tcc from a btm batch file Support 2
L Using TCC.exe through an SSH connection Support 3
M TCC color issue in ConEmu Support 4
Alpengreis UTF-8 problem in TCC related to Python Support 7
Alpengreis Python support for 3.8.3 in TCC v26.x? Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT 26.01.40 uploaded Support 0
Peter Murschall TCC V26.01.3x Debugging has problems with Alias /R Support 1
rconn News Take Command / TCC / CMDebug / TCC-RT 26.0.37 Uploaded Support 0
vefatica TCC waits for Office apps Support 4
Joe Caverly .BAT works in TCC-RT 25, but not in TCC-RT 26 Support 4
M Strange error messages from TCC in FTP copy Support 7
Kachupp Documentation tcc-rt versions Support 1
V Comments from a first-time user (TCC 26) Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT 26.0.28 Support 0
C TCC 26 BATCOMP BTM problems? Support 5

Similar threads