title: Get the terminal's name
body: <p>I'm looking for how to get the name of the terminal emulator (« aterm », « xterm », « konsole », etc.) with C Programming langage (GNU/Linux). I have done several researches, but I didn't find anything.</p>