Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement: alternate default title #5

Open
swhobbit opened this issue May 27, 2020 · 4 comments
Open

enhancement: alternate default title #5

swhobbit opened this issue May 27, 2020 · 4 comments

Comments

@swhobbit
Copy link

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.)

@pmattes
Copy link
Owner

pmattes commented May 28, 2020

Already there. Try 'x3270.title'.

@pmattes pmattes closed this as completed May 28, 2020
@swhobbit
Copy link
Author

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?)

@pmattes
Copy link
Owner

pmattes commented May 29, 2020

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.

@swhobbit
Copy link
Author

swhobbit commented May 29, 2020

Please reopen the item and consider the feature when you replace the x3270 ui

@pmattes pmattes reopened this May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants