Open swhobbit opened 4 years ago
Already there. Try 'x3270.title'.
Already there. Try 'x3270.title'.
How do I get the current host's FQDN in it?
(I'm aware of the -title command line option, does it allow substitutions?)
My apologies, I misread your request. I thought you were simply asking for a way to set the title from a resource, rather than on the command line.
-title and the x3270.title resource are built into the Xt library. The only explicit support for them in x3270 is skipping the automatic window title switch to the hostname, if the resource has been set.
There is no substitution support in the title string at the moment. I can add this to the to-do list, but it is unlikely I will be making enhancements to the x3270 UI (as opposed to replacing it) any time soon.
Please reopen the item and consider the feature when you replace the x3270 ui
It would be nice if an alternate default title could be requested via the resource file -- rather than showing the command line, FQDN of the host and port. and perhaps a process/window id.
A boolean enabling a fixed title would be sufficient.
(I'd list possible substitutions for the title that might be supported, but I'll let you stop laughing first.)