locate

J

J-C Hendrickx

Hello,

I am a beginner in ruby.
I wonder how to place a word at x y in a terminal
(puts ?)
like (in old basic) locate(x,y).

Thanks for any tips.

J-C H.


Jean-Claude Hendrickx
à Bruxelles
(e-mail address removed)
 
W

William James

J-C Hendrickx said:
Hello,

I am a beginner in ruby.
I wonder how to place a word at x y in a terminal
(puts ?)
like (in old basic) locate(x,y).

Thanks for any tips.

J-C H.


Jean-Claude Hendrickx
à Bruxelles
(e-mail address removed)

Use Win32::Console.
 
N

nobu

Hi,

At Fri, 28 Jul 2006 15:15:04 +0900,
J-C Hendrickx wrote in [ruby-talk:204437]:
I wonder how to place a word at x y in a terminal
(puts ?)
like (in old basic) locate(x,y).

It very depends on the platform. See examples in
ext/curses/*.rb, if you can use curses.
 
J

J-C Hendrickx

Le Fri, 28 Jul 2006 17:23:57 +0900, nobu a écrit :
Hi,

At Fri, 28 Jul 2006 15:15:04 +0900,
J-C Hendrickx wrote in [ruby-talk:204437]:
I wonder how to place a word at x y in a terminal
(puts ?)
like (in old basic) locate(x,y).

It very depends on the platform. See examples in
ext/curses/*.rb, if you can use curses.

Thank you, I am in Linux I'll try your suggestion.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top