如何让屏幕传输背景窗口中产生的铃声?

如何让屏幕传输背景窗口中产生的铃声?

我设法用活动窗口中的视觉线索替换声音铃声,但对于背景窗口,我可以获得声音铃声而不是视觉通知吗?

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

相关内容