Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8226153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T15:39:59+00:00 2026-06-07T15:39:59+00:00

when I open a terminal I have a black background with white characters. I

  • 0

when I open a terminal I have a black background with white characters. I also have a green placeholder that indicates to me where currently is the cursor.

This behaviour is the same during any perl script that is running in the terminal.

How can I change within the script the color of the cursor indicator (specifically, I want it to disappear for a while and then come back)?

I’m using Linux and bash.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T15:40:01+00:00Added an answer on June 7, 2026 at 3:40 pm

    You can change the color of cursor if you change the color of the printed text.
    So you can’t simple change the color of the cursor not changing the color of the text you are printing.

    But you can make cursor invisible:

    system("tput cinvis"); # make cursor invisible
    system("tput cnorm");  # make cursor visible
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After reading this question regarding Linux: Open Terminal From Eclipse I have the same
When I do 'open .profile' in the terminal I have the following: export PATH=$PATH:/usr/local/git/bin
I have a few different things open in the terminal whenever I'm developing --
I have an open socket to a remote terminal. Using the answer to Force
If I have several OS-X Terminal.app windows open, how can I move one Terminal
This question concerns running python files in terminal that are not stored in the
Say I want a have a C program that does this: 1. User will
Is there any way in Spotlight to have a folder open in a Terminal
I have a computational terminal program that I need to interact with using a
I have a question about clearcase. in linux, I open a terminal, and use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.