<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: script with colors in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/script-with-colors/m-p/2991387#M75240</link>
    <description>I mean that i want to write a script on perl or shell that will write text with color!</description>
    <pubDate>Fri, 06 Jun 2003 19:50:02 GMT</pubDate>
    <dc:creator>Caesar_3</dc:creator>
    <dc:date>2003-06-06T19:50:02Z</dc:date>
    <item>
      <title>script with colors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-with-colors/m-p/2991385#M75238</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;How can i write with color in perl or some shell in linux (RH 7.2 or high).&lt;BR /&gt;Which command or modules can help?&lt;BR /&gt;&lt;BR /&gt;Thk&lt;BR /&gt;Caesar</description>
      <pubDate>Fri, 06 Jun 2003 18:56:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-with-colors/m-p/2991385#M75238</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-06-06T18:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: script with colors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-with-colors/m-p/2991386#M75239</link>
      <description>I would use vim for just editing purpose (quite a bit of learning to use, though, but you'll get trhough in 20 mn typing 'vimtutor'),&lt;BR /&gt;and for debugging... emacs.&lt;BR /&gt;hth&lt;BR /&gt;J</description>
      <pubDate>Fri, 06 Jun 2003 19:28:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-with-colors/m-p/2991386#M75239</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-06-06T19:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: script with colors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-with-colors/m-p/2991387#M75240</link>
      <description>I mean that i want to write a script on perl or shell that will write text with color!</description>
      <pubDate>Fri, 06 Jun 2003 19:50:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-with-colors/m-p/2991387#M75240</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-06-06T19:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: script with colors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-with-colors/m-p/2991388#M75241</link>
      <description>Oops,&lt;BR /&gt;sorry Caesar for misunderstanding. What you need is the curses and ncurses function in your script.&lt;BR /&gt;man these functions or look at this howto about ncurses, the new curses. Notice that it exists both for shell &amp;amp; perl :&lt;BR /&gt;&lt;A href="http://www.linux.org/docs/ldp/howto/NCURSES-Programming-HOWTO/" target="_blank"&gt;http://www.linux.org/docs/ldp/howto/NCURSES-Programming-HOWTO/&lt;/A&gt;&lt;BR /&gt;hth&lt;BR /&gt;J</description>
      <pubDate>Fri, 06 Jun 2003 20:33:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-with-colors/m-p/2991388#M75241</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-06-06T20:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: script with colors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-with-colors/m-p/2991389#M75242</link>
      <description>Hi, Caesar&lt;BR /&gt;&lt;BR /&gt;I've found this. Try it, i think is what you want.&lt;BR /&gt;&lt;BR /&gt;You can found more information at:&lt;BR /&gt;&lt;A href="http://www.freeos.com/guides/lsst/" target="_blank"&gt;http://www.freeos.com/guides/lsst/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers Frank.&lt;BR /&gt;&lt;BR /&gt;#!/bin/bash&lt;BR /&gt;#&lt;BR /&gt;# Linux Shell Scripting Tutorial 1.05r3, Summer-2002&lt;BR /&gt;#&lt;BR /&gt;# Written by Vivek G. Gite &lt;VIVEK&gt;&lt;BR /&gt;#&lt;BR /&gt;# Latest version can be found at &lt;A href="http://www.nixcraft.com/" target="_blank"&gt;http://www.nixcraft.com/&lt;/A&gt;&lt;BR /&gt;#&lt;BR /&gt;# Q16&lt;BR /&gt;# echo command with escape sequance to give differnt effects&lt;BR /&gt;#&lt;BR /&gt;# Syntax: echo -e "escape-code your message, var1, var2 etc"&lt;BR /&gt;# For eg. echo -e "\033[1m  Hello World"&lt;BR /&gt;#                   |         |&lt;BR /&gt;#                   |         | &lt;BR /&gt;#               Escape code   Message&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;clear &lt;BR /&gt;echo -e "\033[1m Hello World"&lt;BR /&gt; # bold effect&lt;BR /&gt;echo -e "\033[5m Blink"&lt;BR /&gt;       # blink effect&lt;BR /&gt;echo -e "\033[0m Hello World"&lt;BR /&gt; # back to noraml&lt;BR /&gt;&lt;BR /&gt;echo -e "\033[31m Hello World"&lt;BR /&gt; # Red color&lt;BR /&gt;echo -e "\033[32m Hello World"&lt;BR /&gt; # Green color&lt;BR /&gt;echo -e "\033[33m Hello World"&lt;BR /&gt; # See remaing on screen&lt;BR /&gt;echo -e "\033[34m Hello World"&lt;BR /&gt;echo -e "\033[35m Hello World"&lt;BR /&gt;echo -e "\033[36m Hello World"&lt;BR /&gt;&lt;BR /&gt;echo -e -n "\033[0m "&lt;BR /&gt;  # back to noraml&lt;BR /&gt;&lt;BR /&gt;echo -e "\033[41m Hello World"&lt;BR /&gt;echo -e "\033[42m Hello World"&lt;BR /&gt;echo -e "\033[43m Hello World"&lt;BR /&gt;echo -e "\033[44m Hello World"&lt;BR /&gt;echo -e "\033[45m Hello World"&lt;BR /&gt;echo -e "\033[46m Hello World"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;echo -e "\033[0m Hello World"&lt;BR /&gt;  # back to noraml&lt;BR /&gt;&lt;/VIVEK&gt;</description>
      <pubDate>Mon, 16 Jun 2003 19:50:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-with-colors/m-p/2991389#M75242</guid>
      <dc:creator>Francisco J. Soler</dc:creator>
      <dc:date>2003-06-16T19:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: script with colors</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-with-colors/m-p/2991390#M75243</link>
      <description>Go Francisco! :)&lt;BR /&gt;&lt;BR /&gt;Caeser, welcome to the wonderful world of ANSI Escape sequences!&lt;BR /&gt;&lt;BR /&gt;It's truely quite remarkable what you can do with these silly things (I remember re-mapping CTRL-C using ANSI.SYS on old DOS 5 systems!), but it all goes down to terminal emulation requirements.&lt;BR /&gt;&lt;BR /&gt;If you are using a VT220 terminal, or emulation, you'll have issues with using ANSI color sequences.&lt;BR /&gt;&lt;BR /&gt;But as you'll most probably be using some emulator that does ANSI anyway (as it's extremely widely used, and a number of other emulation types use a subset of it's sequences), you shouldn't have too many issues.&lt;BR /&gt;&lt;BR /&gt;Strangely enough, if you look in the "Bash-Prompt-HOWTO" (section 6 - &lt;A href="http://www.ibiblio.org/mdw/HOWTO/Bash-Prompt-HOWTO/)," target="_blank"&gt;http://www.ibiblio.org/mdw/HOWTO/Bash-Prompt-HOWTO/),&lt;/A&gt; you'll find quite a few details on what you can do with your shell.&lt;BR /&gt;&lt;BR /&gt;Have fun.. ;)</description>
      <pubDate>Mon, 16 Jun 2003 23:39:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-with-colors/m-p/2991390#M75243</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-06-16T23:39:14Z</dc:date>
    </item>
  </channel>
</rss>

