diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-01 03:02:51 +0000 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2020-03-05 21:04:23 +0000 |
commit | e13713c18e2ee11d4b1b3450e721022d8ea53061 (patch) | |
tree | d479bc0ebea8d6d77937a0572103fbbaaedb54d4 /functions | |
parent | 73c1100c01da680a2d9f57aa26e48e6dc808fdf6 (diff) | |
download | vyos-live-build-e13713c18e2ee11d4b1b3450e721022d8ea53061.tar.gz vyos-live-build-e13713c18e2ee11d4b1b3450e721022d8ea53061.zip |
cursor: purge unused cursor functions
only a couple were in use and only by unused echo helpers which have now
themselves been removed, so nothing in this file is needed.
Partial fix for #952880
Gbp-Dch: Short
Closes: #952880
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/cursor.sh | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/functions/cursor.sh b/functions/cursor.sh deleted file mode 100755 index 1f683a15a..000000000 --- a/functions/cursor.sh +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh - -## live-build(7) - System Build Scripts -## Copyright (C) 2006-2015 Daniel Baumann <mail@daniel-baumann.ch> -## -## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. -## This is free software, and you are welcome to redistribute it -## under certain conditions; see COPYING for details. - - -Cursor_goto_position () -{ - __LINE="${1}" - __COLUMN="${2}" - - #echo -e "[${__LINE};${__COLUMN};H\c" - printf "[${__LINE};${__COLUMN};H" -} - -Cursor_save_position () -{ - #echo -e "[s\c" - printf "[s" -} - -Cursor_restore_position () -{ - #echo -e "[u\c" - printf "[u" -} - -Cursor_line_up () -{ - __LINES="${1}" - - #echo -e "[${__LINES}A\c" - printf "[${__LINES}A" -} - -Cursor_line_down () -{ - __LINES="${1}" - - #echo -e "[${__LINES}B\c" - printf "[${__LINES}B" -} - -Cursor_columns_forward () -{ - __COLUMNS="${1}" - - #echo -e "[${__COLUMNS}C\c" - printf "[${__COLUMNS}C" -} - -Cursor_columns_backward () -{ - __COLUMNS="${1}" - - #echo -e "[${__COLUMNS}D\c" - printf "[${__COLUMNS}D" -} - -Cursor_clear_screen () -{ - #echo -e "[2J\c" - printf "[2J" -} - -Cursor_erase_EOL () -{ - #echo -e "[K\c" - printf "[K" -} |