For Programmers: Free Programming 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, 7:18 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







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com