News for hackers. Stuff that matters.
Re:Ask HN: How to draw a single pixel? by RiderOfGiraffes on Sunday February 20, 2011 @11:09AM (#2242149)
And if you're running Linux, which window manager are you running?
Re:Ask HN: How to draw a single pixel? by gsivil on Sunday February 20, 2011 @11:11AM (#2242159)
I am running Linux (ubuntu 10.10) and I am using the Gnome terminal. Of course I could switch to something else if this could make things easier.
Re:Ask HN: How to draw a single pixel? by mooism2 on Sunday February 20, 2011 @11:33AM (#2242233)
You cannot draw graphics in a terminal window (he says, half-expecting to be corrected).

Your program can open up a window of its own and draw graphics in that.

Or you can do the low level thing on a different virtual console using Linux's framebuffer support (see the svgalib link octopus posted above) (as an aside, press Ctrl+Alt+F2, observe what happens, then Alt+F7 to return here).

Re:Ask HN: How to draw a single pixel? by wnoise on Sunday February 20, 2011 @01:00PM (#2242503)
> You cannot draw graphics in a terminal window (he says, half-expecting to be corrected).

Depends on the terminal. xterm has a "tektronix mode" to emulate the old Tektronix 4014 graphic terminal. This has a 4096x4096 coordinate system for vector graphics. Most other terminals do not emulate this, of course.

http://en.wikipedia.org/wiki/Tektronix_4010