LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-21-2016, 01:09 PM   #1
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
ncurses or something else?


I'm interested in playing with a library that can put characters in arbitary screen coordinates. You know how you used to set pixel colors at arbitary coordinates in graphics programming? I'd like to do that with text.

Is ncurses still the best library for that? Or are there better ones now?

I don't need support for colors or for "wide" characters.

Last edited by dugan; 06-21-2016 at 01:10 PM.
 
Old 06-21-2016, 04:09 PM   #2
millgates
Member
 
Registered: Feb 2009
Location: 192.168.x.x
Distribution: Slackware
Posts: 852

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
I'd go with ncurses.
It's simple to use, powerful and portable.
Or you may implement your own solution. If all you need is printing characters at arbitrary coordinates, this should not be too difficult.
 
1 members found this post helpful.
Old 06-30-2016, 11:59 AM   #3
selfprogrammed
Member
 
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 13.37, 14.2, 15.0
Posts: 635

Rep: Reputation: 154Reputation: 154
I still put a ncurses port in many of my projects. It is the first to become functional.
The ports to more complicated widget libraries always get stalled because they demand total
submission of control to the widget library. That is fine for your usual point-and-click responding app, but hardly ever works for my projects with independent control loops.
 
1 members found this post helpful.
  


Reply



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 11:14 AM
[SOLVED] Ncurses bug or ncurses program error. errigour Programming 2 01-24-2013 08:36 AM
how to print text in color by ncurses without opening a ncurses window Greatrebel Programming 0 12-20-2006 09:15 AM
ncurses-5.2-28 conflicts with file from package ncurses-5.2-12 tubby Linux - Software 4 06-16-2002 12:00 AM
Ncurses Mohsin Linux - Newbie 1 03-21-2002 02:01 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:43 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