Opened 15 years ago

Closed 15 years ago

Last modified 3 years ago

#4 closed defect (fixed)

TitleIsCurDir=No - does not work

Reported by: andi.b Owned by: somebody
Priority: major Milestone: Version-3.08
Component: Base Version:
Keywords: Cc: akm@…

Description

There are a couple of issues with your TitleIsCurDir mods. It appears
that the OptionIsCurDir setting is not always honored. With 4os2.ini set
to

TitleIsCurDir=No

try

start "xyz"

Part of the reason this occurs is because you are using
gpIniptr->ChangeTitle before the default ini file has been processed.
However, correcting this may not be sufficient to resolve the issue. I
need to do more testing.

Also, both title_cmd and window_cmd should should restore
gaInifile.TitleIsCurDir to its initial value before exiting. It might be
better to localize the setting by passing it to update_task_list() as an
argument.

Change History (7)

comment:1 by andi.b, 15 years ago

Work around for people who do not like the new title feature and run into this bug maybe entering 'title /c' into 4start.cmd.

comment:2 by Anton Monroe, 15 years ago

The April 15 2010 build broke 'title /c'. I can change the title with 'title' or 'window', but as soon as I run any .btm file the title reverts to the directory name. The February build is okay.

in reply to:  2 comment:3 by Anton Monroe, 15 years ago

Replying to Anton Monroe:
You can ignore that. It looks like 'TitleIsCurDir=No' was fixed in the April build. I don't know how that could change 'title /c', but it probably isn't important.

comment:4 by andi.b, 15 years ago

title /c (and /d) has changed cause Steven and I have different views on how it actually should behave and I didn't check his last changes carefully enough.

We currently discuss how this should behave in the future.

Hint - there's also the possibility to change the TitleIsCurDir setting from within the shell with 'option TitleIsCurDir=No'.

comment:5 by Anton Monroe, 15 years ago

Cc: akm@… added

comment:6 by andi.b, 15 years ago

Resolution: fixed
Status: newclosed

Reverted back to the April 15 behavior with change set 36304

comment:7 by Gregg Young, 3 years ago

Milestone: Version-3.08
Note: See TracTickets for help on using tickets.