Dan M. wrote:
Command Prompts don’t generally support multiple fonts on screen, it
emulates a TTY < http://en.wikipedia.org/wiki/Teletypewriter >. You can
what font your command prompt displays stuff in, but your program can
really do it for you the way you intend for it to do so.
Most Command Line Interfaces can support colours and bold text -> but
that is not very portable. Typically it involves using the curses
(which tries to make such things portable between UNIX systems) or
API instructions (only portable between those systems). Other Operating
families would have their own way of doing it.
Doing such things as displaying the things in multiple fonts, sizes,
styles e.t.c. can be done by creating a GUI program instead of a console
or even a Web Application with Ruby on Rails.
Are you using a GUI toolkit?
A: No, I don’t even know what one is. I am new to both programming and
A GUI (Graphical User Interface) toolkit is a collection of code that
easier to write a program that runs within a ‘Window’ on your screen,
most programs do (notepad, internet explorer, word, e.t.c.).
Without a GUI toolkit, every one would have to write the code to create
‘window’ on screen them selves and they’d never look the same… Like
Programmers used to have to write their own puts() methods if they
put stuff to the command prompt :S
Are you just printing to the console?
A: Yes, I am just printing to the console.
Are you (trying) to get this functionality in TextMate?
A: I am not familiar with TextMate.
TextMate is a feature full text editor for Mac OS X popular with
What operating system are you using?
A: Windows XP
Do you need a portable program?
A: Yes, I would prefer that it be portable.
Basic input/output to and from the system console is usually pretty
in most high level languages created since the 1970s / 1980s. Some
not but simple stuff l
This link is very valuable
Thanks for the help!
Posted via http://www.ruby-forum.com/.
We are all new once, most regular people are to young to know every
about computers and even the oldest geeks probably have yet to learn it
As you learn more, you’ll grow deeper in the force. Learning to ask
that make it easier for people to help you, will increase your chances
success… Rather then meeting up with a few people that have probably
stop laughing at a beginners question and hopefully not post remarks =/
PS: No offense to any of the other people on this mailing list with that