From: 7stud -- Date: 2009-04-29T12:27:05+09:00 Subject: Re: New to Ruby, making a program from a disabled friend Hank Quinlan wrote: > Hi. I am only learning Ruby to help my friend out, and am completely new > to programming. I am trying to make a program that can take in text and > then blink it out using the moniter screen (like say, switching from > black to white). I've found some references here on how to convert > letters into morse code, that I can use to learn: > http://www.ruby-forum.com/topic/105552#new > > But how would I make the graphical component work? > > Anyone who can help, thank you so much in advance. > > I am also considering trying to do this with something else, any other > programming languages that are quick to learn I can accomplish this > with? I kept trying to think of way to possibly do it with flash? Something called "curses" (or "ncurses") can be used to control the color of text on a monitor. However, it's called "curses" for a reason. In my opinion, it's waste of time to spend any time learning curses. Rather, you should spend your time learning gui programming, which is a subject dealing with how to create your own windows and fill them with text or images or forms to query the user for information. With gui programming it is much easier to manipulate text color, etc. However, gui programming is generally an advanced topic in any language, so you would need to learn the language of your choice pretty well, then learn gui programming in that language. So maybe learning a little ruby and then trying to accomplish what you want with curses would take less time. -- Posted via http://www.ruby-forum.com/.