From c869540984a1342361dfeb00613e1002543b96fa Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 13 Sep 1999 22:32:22 +0000 Subject: Duh. Use different terminal escape. --- rc.d/init.d/functions | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rc.d') diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index 1ecdfa13..37b6ced7 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -1,4 +1,3 @@ - #!/bin/sh # # functions This file contains functions to be used by most or all @@ -25,7 +24,7 @@ if [ -z "$BOOTUP" ]; then # or in /usr/doc/initscripts-*/sysconfig.txt BOOTUP=color RES_COL=60 - MOVE_TO_COL="echo -en \\033[300C\\033[$[${COLUMNS}-${RES_COL}]D" + MOVE_TO_COL="echo -en \\033[${RES_COL}G" SETCOLOR_SUCCESS="echo -en \\033[1;32m" SETCOLOR_FAILURE="echo -en \\033[1;31m" SETCOLOR_WARNING="echo -en \\033[1;33m" -- cgit v1.2.1