New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #24416 (assigned enhancement)

Opened 3 years ago

Last modified 4 months ago

Setting xterm titles while building

Reported by: raimue@… Owned by: raimue@…
Priority: Normal Milestone: MacPorts Future
Component: base Version:
Keywords: xterm title Cc: egall@…
Port:

Description

port could make use of the xterm title to provide some indicator what is currently doing. When using verbose or debug mode a lot of code will scroll by making it difficult to see what is actually being run at the moment.

Such titles can be set by writing to stdout with special escape sequences, such as:

echo -ne "\033]0;Foo Bar\007"

This will be implemented in the branch branches/xterm-titles.

Change History

comment:1 Changed 3 years ago by raimue@…

  • Component changed from ports to base

comment:2 Changed 3 years ago by raimue@…

  • Status changed from new to assigned

The branch is now kind of usable, please test. One known problem is that it does not reset the title after port exited.

comment:3 Changed 3 years ago by raimue@…

Unfortunately there is no reliable way to get the title in all terminals in order to restore it later. xterm seems to have special control characters for this, but those have not been implemented in Terminal.app. A solution would be to always reset to "" or "Terminal" (the default string in Terminal.app). A user-defined PROMPT_COMMAND could override this as well.

comment:4 Changed 3 years ago by raimue@…

  • Milestone changed from MacPorts 1.9.0 to MacPorts Future

comment:5 Changed 4 months ago by egall@…

  • Cc egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.