Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all, I'm writing a couple of programs in C and need to do something to formating the output. I'm after producing something like a old mainframe screen or early ...
  1. #1
    Just Joined!
    Join Date
    Jun 2007
    Posts
    7

    Formatted Output to a Terminal

    Hi all,

    I'm writing a couple of programs in C and need to do something to formating the output. I'm after producing something like a old mainframe screen or early micro where you could PRINT(x,y) to put something on the terminal where you want it.

    Learning GTK or such is not an option due to time constraints, and some fields need updating frequently during processing, so letting the terminal scroll is going to drive the operator up the wall pretty quickly...

    Is there a way of doing this?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,975
    Try curses/ncurses for full screen formatting and addressability in console/terminal oriented programs. It's older than dirt, but works very well. There is still a learning curve, but it's not a steep as Qt or GTK.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Jun 2007
    Posts
    7
    Thanks - I'll have a look at that.

    Cheers
    Richard

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...