Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Console Graphics and Others

10 views
Skip to first unread message

Fundip

unread,
Oct 15, 2001, 11:05:06 PM10/15/01
to
Hi, I am writing a console app and I woul like to figure out how I can draw
lines and or print text in any character position on the screen. For
example have a line of text that stays at the top of the screen while other
operations (inputs from the user, and output) are taking place. Another
example, I want a list of users connected to a server to be displayed while
messages are being sent back and forth and printed out in the meeage area
(under the list of users). Another example ould be how VI takes "control"
of the scrren. I'm new to this type of console programming so any info that
would help would be great.

Thanks, Fundip

Dave Korn

unread,
Oct 16, 2001, 9:37:49 AM10/16/01
to
Fundip wrote in message ...

You need a thing called the 'curses' library. It's a library that
provides all the functions you need for exactly that sort of
screen-and-cursor control. I haven't used it myself, only heard about it,
but a web search should find it for you quickly enough.

DaveK
--
Burn your ID card! http://www.optional-identity.org.uk/
Help support the campaign, copy this into your .sig!

Fundip

unread,
Oct 16, 2001, 7:34:52 PM10/16/01
to
Ok I'll check it out.

Thanks

"Dave Korn" <no....@my.mailbox.invalid> wrote in message
news:PKZy7.159$Vc4.2...@newsr2.u-net.net...

Fundip

unread,
Oct 18, 2001, 11:02:18 PM10/18/01
to
Ok, perfect! I'm using ncurses, works out great for my app.

Thanks a lot!

"Dave Korn" <no....@my.mailbox.invalid> wrote in message
news:PKZy7.159$Vc4.2...@newsr2.u-net.net...

0 new messages