OSSP CVS Repository

ossp - Check-in [2559]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2559
Date: 2002-Oct-07 07:02:12 (local)
2002-Oct-07 05:02:12 (UTC)
User:rse
Branch:
Comment: Try the terminal 'init' sequence before 'reset' for bold mode restoring in order to make sure the terminal is not cleared. Additionally, fallback to a consistent no-bold mode.

Submitted by: Mirko Liss <mirko.liss@web.de>

Tickets:
Inspections:
Files:
ossp-pkg/shtool/ChangeLog      1.170 -> 1.171     7 inserted, 0 deleted
ossp-pkg/shtool/THANKS      1.23 -> 1.24     1 inserted, 0 deleted
ossp-pkg/shtool/sh.echo      1.30 -> 1.31     3 inserted, 1 deleted

ossp-pkg/shtool/ChangeLog 1.170 -> 1.171

--- ChangeLog    2002/07/13 18:13:58     1.170
+++ ChangeLog    2002/10/07 05:02:12     1.171
@@ -9,6 +9,13 @@
 
  ChangeLog
 
+ Changes between 1.6.1 and 1.6.2 (12-Jul-2002 to xx-Oct-2002):
+
+   *) Try the terminal 'init' sequence before 'reset' for bold mode
+      restoring in order to make sure the terminal is not cleared.
+      Additionally, fallback to a consistent no-bold mode.
+      [Mirko Liss <mirko.liss@web.de>]
+
  Changes between 1.6.0 and 1.6.1 (01-Feb-2002 to 12-Jul-2002):
 
    *) Removed not-existing --min-size option from the usage


ossp-pkg/shtool/THANKS 1.23 -> 1.24

--- THANKS       2002/09/04 09:58:42     1.23
+++ THANKS       2002/10/07 05:02:12     1.24
@@ -20,6 +20,7 @@
   o Jim Jagielski            <jim@jaguNET.com>
   o Martin Kraemer           <Martin.Kraemer@MchP.Siemens.De>
   o Thomas Linden            <tom@izb.net>
+  o Mirko Liss               <mirko.liss@web.de>
   o Liones                   <liones@myrealbox.com>
   o Markus F.X.J. Oberhumer  <markus.oberhumer@jk.uni-linz.ac.at>
   o Benjamin Saller          <case@appliedtheory.com>


ossp-pkg/shtool/sh.echo 1.30 -> 1.31

--- sh.echo      2002/02/23 09:18:03     1.30
+++ sh.echo      2002/10/07 05:02:12     1.31
@@ -76,7 +76,7 @@
                             fi
                         done
                         if [ ".$term_bold" != . ]; then
-                            for seq in sgr0 me rmso reset; do # 'reset' is last
+                            for seq in sgr0 me rmso init reset; do # 'reset' is last
                                 norm="`$dir/$tool $seq 2>/dev/null`"
                                 if [ ".$norm" != . ]; then
                                     term_norm="$norm"
@@ -95,6 +95,8 @@
     esac
     if [ ".$term_bold" = . -o ".$term_norm" = . ]; then
         echo "$msgprefix:Warning: unable to determine terminal sequence for bold mode" 1>&2
+        term_bold=''
+        term_norm=''
     fi
 fi
 

CVSTrac 2.0.1