Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. source2exe

    Using color excape codes in less

    OK. At last, success. This is the only thing that is working, 100% to my satisfaction. nohup less +F /var/log/Server.log | /usr/local/src/Colorlogs/colorlogs.pl > takethis.log & less +F -f -R takethis.log This works wonderfully. Only downside is the duplication of the log files, but this can...
  2. source2exe

    Using color excape codes in less

    I am rushing now to test this (thought about this yesterday too). Will update about the results, One thing, though, It is less +F if you want to "tail" a file while it is being updated. Hope this works as well. Thanks a lot for your effort, man.
  3. source2exe

    Using color excape codes in less

    Thanks for your replies,currently you are the only one across 5 forums who answered anything.... But, the problem is the less has its own control over input and output. Unlike tail, for example, when you break (control-c), you get to a prompt. This calls for formally "telling" less to relay its...
  4. source2exe

    Using color excape codes in less

    This is the link to the Perl script:http://www.daniweb.com/forums/attachment.php?attachmentid=7454&d=1221941390
  5. source2exe

    Using color excape codes in less

    This works for me as well, probably redirecting the output to a file loses the escape sequences and this is not directly related to less. But, my problem remains: 1. How can I use less +F and pipe it somehow to a Perl script that colors the text? Less has its own prompt, input and output...
  6. source2exe

    Using color excape codes in less

    Hi all, Please forgive me if you see this post in other Unix forums around the web: I just don't seem to get any answers anywhere.... A. My Environment ============== I am using RedHat Linux, version 2.6.18-53.el5. When I type less --version I get: less 394 Copyright (C) 1984-2005 Mark...

Part and Inventory Search

Back
Top