tput Questions
4
Solved
We have a shell script which is run by CRON. The shell script in turn runs a python script which downloads files from an FTP server and then runs a java log processor on those files. The process ru...
2
Solved
I'm trying to create an update-able progress status. In order to do that, I need to be able to clear the last output in its entirety so that I can update it. Carriage returns can work, but when the...
2
I'm on AIX-6.1 and I'm trying to make use of tput inside my $PS1.
I've confirmed I can't even run tput from the commandline. Following is my session:
# tput
unknown terminal "xterm"
# echo $TERM
x...
1
Solved
I am sourcing a file with this content
export fgBlack8="$(tput setf 0)";
export fgRed8="$(tput setf 1)";
export fgGreen8="$(tput setf 2)";
export fgYellow8="$(tput setf 3)";
export fgBlue8="$(tput...
6
Solved
I would like to know how to change the following behavior. Let's say my terminal has 28 lines. Then I use the following commands:
$ tput lines # my terminal
28
$ docker run --rm -it ubuntu:16.04 t...
1
© 2022 - 2024 — McMap. All rights reserved.