0

I am tailing a file using Putty.

I have this code:

tail -f /srv/ppp/ppp*.log | perl -pe 's/(TransactionID)/\e[4;38;5;255m$&\e[0m/g';

The following code makes the string "TransactionID" underlined and adds a color. My question is how can I also make the "TransactionID" string blink?

I couldn't find practical solutions to my issue in other similar posts...

DHristov
  • 1
  • 2
  • 1
    Possible duplicate of [how-to-make-a-text-blink-in-shell-script](https://stackoverflow.com/questions/17439482/how-to-make-a-text-blink-in-shell-script). – Mayank Porwal Nov 08 '18 at 07:53
  • No - this doesnt solve my problem as I still cant make it to blink. – DHristov Nov 08 '18 at 08:06
  • Then your question must say that you also tried this and it did't not work. And actually your question would better fit on [su], where you may get more attention. – Martin Prikryl Nov 09 '18 at 06:44
  • Possible duplicate of [How to make a text blink in shell script](https://stackoverflow.com/questions/17439482/how-to-make-a-text-blink-in-shell-script) – Tsyvarev Nov 11 '18 at 16:47
  • No this still don't seem to work – DHristov Nov 13 '18 at 12:35

2 Answers2

2

Is it possible that your PuTTY configuration needs a switch to enable blinking text? I ask because the PuTTY Configuration on a Windows system has an explicit checkbox to "Enable Blinking text" in its "Terminal" configuration settings.

ccarter1
  • 21
  • 3
1

In putty:

TERMINAL -> ENABLE BLINKING TEXT

Cahedral
  • 47
  • 8