Dean Michael Berris wrote:
Sir Ariz,

On Mon, 2003-06-30 at 12:14, Ariz Jacinto wrote:
  
Dean Michael C. Berris wrote:

    
since you're on slackware, and a coffee loving masochist, you might want
to try coding your own ncurses based applications to boot. ;)

      
speaking of DIY console apps, is there a better way of
coding ASCII chars instead of using the ESC codes?

i remember on MS Win, all you have to do is press/hold
the ALT key while typing the 3-digit number corresponding
to a symbol (ie. ALT+227 = "pi symbol")

    

i think this worked in the MS-DOS prompt, as well as everywhere else in
the Windows environment. however, i am not aware of ways of doing an
alt+<key combination> in Linux though.
  

it will be a nice app to develop on console, don't you think?



btw, how do you clear the terminal using printf again? TIA. =)


how about use the system function instead.

    ...
    system("clear");
    ...

just be aware of the security risk involving the function.



HTH




--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to