- May
- 5
- 0
How do I go about RENAMING a TCC Tab from command line in TC 9.02?
Thanks, Mike
Thanks, Mike
By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!How do I go about RENAMING a TCC Tab from command line in TC 9.02?
With the TITLE command, or the TITLEPROMPT variable. (The variable takes precedence.)
> and renaming it manually? This has precedence over TITLE, TITLEPROMPT> ---Quote (Originally by Charles Dye)---
> With the TITLE command, or the TITLEPROMPT variable. (The variable takes precedence.)
> ---End Quote---
> Is there also a way to do the equivalent of right-clicking a tab in Take Command
nikbackm wrote:
> and renaming it manually? This has precedence over TITLE, TITLEPROMPT
and
> all other title changes made by console-mode programs that run in the
> tab which makes it useful for setting a title that cannot be changed. But
> it would be nice to be able to do it from the command line instead of
having
> to use the Take Command interface.
After you've set the title, change the UpdateTitle .INI directive to 0
(OPTION //UpdateTitle=No).
Rex Conn
JP Software
> problem with changing TC tab title usuaully occurs when I start> ---Quote (Originally by rconn)---
> nikbackm wrote:
>
>
> > and renaming it manually? This has precedence over TITLE, TITLEPROMPT
> and
> > all other title changes made by console-mode programs that run in the
> > tab which makes it useful for setting a title that cannot be changed. But
> > it would be nice to be able to do it from the command line instead of
> having
> > to use the Take Command interface.
>
> After you've set the title, change the UpdateTitle .INI directive to 0
> (OPTION //UpdateTitle=No).
>
> Rex Conn
> JP Software
> ---End Quote---
> I have "Update title" turned off for all TCC instances already. The
nikbackm wrote:
> problem with changing TC tab title usuaully occurs when I start
> another console-mode program from TCC (running in a tab) that changes
> the console title. This also causes the TC tab name to change unless
> it already has been assigned an explicit name (or been renamed).
Then why not set the title in a startup tab -- that will prevent
anything (except a "rename tab") from changing it subsequently.
Rex Conn
JP Software
> (via an alias using START /TAB) as I don't use them all the time.> ---Quote (Originally by rconn)---
> nikbackm wrote:
>
>
> > problem with changing TC tab title usuaully occurs when I start
> > another console-mode program from TCC (running in a tab) that changes
> > the console title. This also causes the TC tab name to change unless
> > it already has been assigned an explicit name (or been renamed).
>
> Then why not set the title in a startup tab -- that will prevent
> anything (except a "rename tab") from changing it subsequently.
>
> Rex Conn
> JP Software
> ---End Quote---
> Yes, I could do that but I prefer to start the new tabs dynamically
> "/TAB" is used would be quite useful, at least for me.>
> Therefore an extra switch to START for setting the tab name when
nikbackm wrote:
| ---Quote (Originally by rconn)---
|| nikbackm wrote:
||| problem with changing TC tab title usuaully occurs when I start
||| another console-mode program from TCC (running in a tab) that changes
||| the console title. This also causes the TC tab name to change unless
||| it already has been assigned an explicit name (or been renamed).
||
|| Then why not set the title in a startup tab -- that will prevent
|| anything (except a "rename tab") from changing it subsequently.
| ---End Quote---
| Yes, I could do that but I prefer to start the new tabs dynamically
| (via an alias using START /TAB) as I don't use them all the time.
|
| Therefore an extra switch to START for setting the tab name when
| "/TAB" is used would be quite useful, at least for me.
Check the syntax of the START command. It provides for a "title" parameter.
Though I have not tested it, it ought to allow you to provide the tab title,
just as it would become a window title when used without the /TAB option.
--
HTH, Steve