LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-07-2020, 12:14 AM   #16
jgun98
LQ Newbie
 
Registered: Apr 2020
Posts: 19

Original Poster
Rep: Reputation: Disabled

Yes, top command work properly.
Does it mean, ncurses on my system is healthy?
I hope so.
 
Old 04-07-2020, 12:29 AM   #17
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 1,746

Rep: Reputation: Disabled
I suppose so.
 
Old 04-07-2020, 12:33 AM   #18
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Older: Coherent, MacOS, Red Hat, Big Iron IXs: AIX, Solaris, Tru64
Posts: 2,315

Rep: Reputation: 438Reputation: 438Reputation: 438Reputation: 438Reputation: 438
Quote:
Originally Posted by jgun98 View Post
Yes, It's working now.
Anything else that depend on ncurses?
Try `tput'
Code:
$ tput home               # place cursor at (row,col) = (1,1)
$ tput cup 20 10          # place cursor at (20,10)
$ tput clear              # put cursor at (1,1) and erase to end of screen
$ tput cup 10 10; echo "Hello, curses"
$ tput -V                 # show ncurses version
:^)

HTH...
 
Old 04-07-2020, 03:40 AM   #19
jgun98
LQ Newbie
 
Registered: Apr 2020
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rnturn View Post
Try `tput'
Code:
$ tput home               # place cursor at (row,col) = (1,1)
$ tput cup 20 10          # place cursor at (20,10)
$ tput clear              # put cursor at (1,1) and erase to end of screen
$ tput cup 10 10; echo "Hello, curses"
$ tput -V                 # show ncurses version
Yes, work properly
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cursing ncurses ... reverted to Slackware 14.0 version of ncurses 5.9 aaazen Slackware 3 06-18-2014 12:14 PM
[SOLVED] Ncurses bug or ncurses program error. errigour Programming 2 01-24-2013 09:36 AM
Multiple Autologins; Multiple Users; Multiple Sessions mrclisdue Linux - Desktop 1 09-26-2007 06:50 AM
how to print text in color by ncurses without opening a ncurses window Greatrebel Programming 0 12-20-2006 10:15 AM
ncurses-5.2-28 conflicts with file from package ncurses-5.2-12 tubby Linux - Software 4 06-16-2002 01:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration