我设法用活动窗口中的视觉线索替换声音铃声,但对于背景窗口,我可以获得声音铃声而不是视觉通知吗?
答案1
重新定义“bell_msg”以包含文字“^G”。 (也就是说,这两个字符克拉和资本-G.)
从screen
联机帮助页:
bell_msg [message]
When a bell character is sent to a background window,
screen displays a notification in the message line. The
notification message can be re-defined by this command.
Each occurrence of `%' in message is replaced by the num
ber of the window to which a bell has been sent, and each
occurrence of `^G' is replaced by the definition for bell
in your termcap (usually an audible bell).