Unix Programming - Terminal output with escape sequences: Any way to get the flags at

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > October 2007 > Terminal output with escape sequences: Any way to get the flags at





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Terminal output with escape sequences: Any way to get the flags at
Markus Mayer

2007-10-23, 1:26 pm

Hi.

I use sequences like \033[4m (underscore) to pimp up my program's
output. However I am wondering if there is any method to actually to
actually GET the flags set for a given character on the terminal. In
other words: If I know the character's position (i.e. the location the
cursor is), how do I determine whether the character is underscored or not?

Best regards,
Markus
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com