Is there a way to configure PuTTY or other termina

2019-04-24 09:34发布

问题:

I'm specifically looking for a solution for PuTTY but also interested for other terminal emulators, like Gnome Terminal.

My thought is it would be useful if I start a tar zxvf to be able to set a trigger on the terminal emulator, minimize it, and on next output to stdout/stderr I get a notification in the task bar that the command has finished.

回答1:

This works for me:

echo -e "\a"

Then update your PuTTY session to use the Visual Bell, and set "Taskbar/caption indication on bell" to Flashing or Steady.

Then run this command after your tar completes:

tar xvzf file ; echo -e "\a"

Here is a screenshot: Save these settings as the default settings and/or the sessions' settings you have