<?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: BOLD LETTERS FOR SHELL SCRIPT in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109661#M92644</link>
    <description>You're right!! Must be something wrong with my mouse. ;-)&lt;BR /&gt; &lt;BR /&gt;Here's the attachment.</description>
    <pubDate>Fri, 30 Nov 2007 13:18:27 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2007-11-30T13:18:27Z</dc:date>
    <item>
      <title>BOLD LETTERS FOR SHELL SCRIPT</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109651#M92634</link>
      <description>I need to make a bold message&lt;BR /&gt;PS3=:"&lt;BR /&gt;(bold)INTRODUCE EL NUMERO DE OPCION:"&lt;BR /&gt;Any example for make a shell script for present messages in bold for shell script my shell is &lt;BR /&gt;PS3="&lt;BR /&gt;   INTRODUCE EL NUMERO DE OPCION:"&lt;BR /&gt;select clean_menu in "BAJAR BASE DE DATOS" "SUBIR BASE DE DATOS" "SALIR"&lt;BR /&gt;do&lt;BR /&gt;case $clean_menu in&lt;BR /&gt;"BAJAR BASE DE DATOS")&lt;BR /&gt;/oradb/ora_stop_db_DGCHM.sh;;&lt;BR /&gt;&lt;BR /&gt;"SUBIR BASE DE DATOS")&lt;BR /&gt;/oradb/ora_start_db_DGCHM.sh;;&lt;BR /&gt;&lt;BR /&gt;"SALIR") break ;;&lt;BR /&gt;esac&lt;BR /&gt;done&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Nov 2007 10:40:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109651#M92634</guid>
      <dc:creator>Muguerza</dc:creator>
      <dc:date>2007-11-29T10:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: BOLD LETTERS FOR SHELL SCRIPT</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109652#M92635</link>
      <description>Blatantly borrowed from Bill Hassell:&lt;BR /&gt;&lt;BR /&gt;export HB=$(tput dim 2&amp;gt;/dev/null) # dim text&lt;BR /&gt;export HV=$(tput smso 2&amp;gt;/dev/null) # 1/2 bright inverse&lt;BR /&gt;export IV=$(tput bold 2&amp;gt;/dev/null) # inverse&lt;BR /&gt;export UL=$(tput smul 2&amp;gt;/dev/null) # underline&lt;BR /&gt;export BL=$(tput blink 2&amp;gt;/dev/null) # blink&lt;BR /&gt;export EL=$(tput el 2&amp;gt;/dev/null) # clear to end of line&lt;BR /&gt;export ED=$(tput ed 2&amp;gt;/dev/null) # clear to end of display&lt;BR /&gt;export EE=$(tput sgr0 2&amp;gt;/dev/null) # end all enhancements&lt;BR /&gt;echo "normal $HV smso $HB dim $IV bold $UL smul $BL blink $EE normal"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 29 Nov 2007 10:44:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109652#M92635</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-11-29T10:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: BOLD LETTERS FOR SHELL SCRIPT</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109653#M92636</link>
      <description>BOLD=$(tput bold)&lt;BR /&gt;NORM=$(tput sgr0)&lt;BR /&gt;&lt;BR /&gt;echo "${BOLD}\c"&lt;BR /&gt;This should be bold.&lt;BR /&gt;echo "${NORM}\c"&lt;BR /&gt;This should be normal&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Not all terminals support bold so you should probably use BOLD=(tput smso) nad NORM=(tput rmso)" instead but you could test it see if bold is available using the tput command. Man tput , terminfo for details.</description>
      <pubDate>Thu, 29 Nov 2007 10:49:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109653#M92636</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-11-29T10:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: BOLD LETTERS FOR SHELL SCRIPT</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109654#M92637</link>
      <description>Exist any option for brightnes</description>
      <pubDate>Thu, 29 Nov 2007 11:25:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109654#M92637</guid>
      <dc:creator>Muguerza</dc:creator>
      <dc:date>2007-11-29T11:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: BOLD LETTERS FOR SHELL SCRIPT</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109655#M92638</link>
      <description>It depends upon the particular terminal type.</description>
      <pubDate>Thu, 29 Nov 2007 11:31:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109655#M92638</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-11-29T11:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: BOLD LETTERS FOR SHELL SCRIPT</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109656#M92639</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Exist any option for brightnes&lt;BR /&gt;&lt;BR /&gt;As Clay notes, everything depends upon your terminal type.  If you look at the 'terminfo(4)' and 'tput(1)' manpages, you will find that "bold" is considered equivalant to "extra-bright".&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 29 Nov 2007 11:48:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109656#M92639</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-11-29T11:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: BOLD LETTERS FOR SHELL SCRIPT</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109657#M92640</link>
      <description>Thanks Gurus&lt;BR /&gt;&lt;BR /&gt;My question is what is the option for the cursor display and not display&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Nov 2007 11:55:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109657#M92640</guid>
      <dc:creator>Muguerza</dc:creator>
      <dc:date>2007-11-29T11:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: BOLD LETTERS FOR SHELL SCRIPT</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109658#M92641</link>
      <description>The answer is still "man terminfo". ... and it still depends upon the TERM type whether or not this is possible.</description>
      <pubDate>Thu, 29 Nov 2007 13:04:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109658#M92641</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-11-29T13:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: BOLD LETTERS FOR SHELL SCRIPT</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109659#M92642</link>
      <description>Attached is ttyenhance, a simple script to show the most common video enhancements available on the current terminal emulator (hardly anyone has a real terminal these days). As mentioned, the terminfo man page (one of the longest in all of HP-UX -- trivia: gated.conf is the longest) is extensive and defines a generic way to access the multitude of terminal features from literally hundreds of different models. All of this works when you don't lie about your terminal -- which means TERM=vt100 is never allowed, you must have ttytype set your TERM and related values, like this in .profile or /etc/profile:&lt;BR /&gt; &lt;BR /&gt;eval $(ttytype -sa)&lt;BR /&gt; &lt;BR /&gt;ttyenhance graphically shows the video features but is just using the Curses library to figure out what codes or escape sequences are needed for this terminal. Related to ttytype are the untic and tpu commands. untic shows (in terminfo talk) whether a feature exists and if so, shows to activate each feature.</description>
      <pubDate>Thu, 29 Nov 2007 22:32:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109659#M92642</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-11-29T22:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: BOLD LETTERS FOR SHELL SCRIPT</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109660#M92643</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;Looks like the attachment didn't</description>
      <pubDate>Fri, 30 Nov 2007 11:47:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109660#M92643</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2007-11-30T11:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: BOLD LETTERS FOR SHELL SCRIPT</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109661#M92644</link>
      <description>You're right!! Must be something wrong with my mouse. ;-)&lt;BR /&gt; &lt;BR /&gt;Here's the attachment.</description>
      <pubDate>Fri, 30 Nov 2007 13:18:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109661#M92644</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-11-30T13:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: BOLD LETTERS FOR SHELL SCRIPT</title>
      <link>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109662#M92645</link>
      <description>&lt;!--!*#--&gt;OK, attachments are broken again...here's the code:&lt;BR /&gt;  &lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;# Bill Hassell Jun 2004&lt;BR /&gt;&lt;BR /&gt;# Script to display terminal characteristics using Curses&lt;BR /&gt;&lt;BR /&gt;# usage: ttyenhance [ any text will turn off ttytype polling ]&lt;BR /&gt;#   Run with any text to bypass the ttytype polling and use&lt;BR /&gt;#   the current value of $TERM, $LINES and $COLUMNS&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;set -u&lt;BR /&gt;PATH=/usr/bin&lt;BR /&gt;&lt;BR /&gt;if [ $# -gt 0 ]&lt;BR /&gt;then&lt;BR /&gt;   echo&lt;BR /&gt;   echo "Current settings: TERM=$TERM, LINES=$LINES, COLUMNS=$COLUMNS"&lt;BR /&gt;else&lt;BR /&gt;   eval $(ttytype -s)&lt;BR /&gt;   echo&lt;BR /&gt;   echo "ttytype says this terminal is a $TERM, LINES=$LINES, COLUMNS=$COLUMNS"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;# see if there is a terminal like this defined&lt;BR /&gt;&lt;BR /&gt;tput sgr0 &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;if [ $? -ne 0 ]&lt;BR /&gt;then&lt;BR /&gt;  echo "$TERM is unknown to the terminfo database on this computer" &lt;BR /&gt;  exit&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;HB=$(tput dim)          # dim text&lt;BR /&gt;HV=$(tput smso)         # 1/2 bright inverse&lt;BR /&gt;IV=$(tput bold)         # inverse&lt;BR /&gt;UL=$(tput smul)         # underline&lt;BR /&gt;BL=$(tput blink)        # blink&lt;BR /&gt;EE=$(tput sgr0)         # end enhancements&lt;BR /&gt;&lt;BR /&gt;echo&lt;BR /&gt;echo "Typical names:"&lt;BR /&gt;echo "\t$EE Normal $IV Inverse $EE $HB Dim $EE $BL Blink $EE $HV halfbrite $EE $UL underline $EE"&lt;BR /&gt;&lt;BR /&gt;echo&lt;BR /&gt;echo "Curses capname (tput)"&lt;BR /&gt;echo "\t$EE  SGR0  $IV   BOLD  $EE $HB DIM $EE $BL BLINK $EE $HV    SMSO   $EE $UL   SMUL    $EE"&lt;BR /&gt;echo</description>
      <pubDate>Fri, 30 Nov 2007 14:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/bold-letters-for-shell-script/m-p/4109662#M92645</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-11-30T14:56:24Z</dc:date>
    </item>
  </channel>
</rss>

