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. unless you use the character map tools in GNOME and/or KDE to print the characters you want/need, i think you're stuck to printf'ing escape characters. btw, how do you clear the terminal using printf again? TIA. :) -- -=[mikhail]=- aka Dean Michael C. Berris home +63 49 5680142 work +63 49 5680024 http://free.net.ph/Members/mikhailberis pgp key ID = 0xF9501761 -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d- s:+ a--- C++ UL++ P+ L+++ E- W+ N* o K w-- O---- M- V-- PS+ PE Y+ PGP++ t+ 5 X+ R+ tv+ b++ DI+ D+ G e h! r+ y+ ------END GEEK CODE BLOCK------
signature.asc
Description: This is a digitally signed message part
-- 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
