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...
Geerts asked 1/5, 2015 at 0:29

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...
Shawannashawl asked 27/5, 2020 at 8:12

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...
Odysseus asked 28/4, 2009 at 19:55

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...
Pulvinus asked 23/2, 2019 at 5:38

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...
Kubis asked 5/8, 2016 at 10:7
1

© 2022 - 2024 — McMap. All rights reserved.