locate

Discussion in 'Ruby' started by J-C Hendrickx, Jul 28, 2006.

  1. 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
    J-C Hendrickx, Jul 28, 2006
    #1
    1. Advertising

  2. J-C Hendrickx wrote:
    > 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
    >


    Use Win32::Console.
    William James, Jul 28, 2006
    #2
    1. Advertising

  3. J-C Hendrickx

    Guest

    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.

    --
    Nobu Nakada
    , Jul 28, 2006
    #3
  4. 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.


    --

    ------------------------------
    Jean-Claude Hendrickx
    à Bruxelles

    ______________________________
    J-C Hendrickx, Jul 28, 2006
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Terry McKiernan
    Replies:
    0
    Views:
    1,366
    Terry McKiernan
    Jul 7, 2003
  2. Subodh
    Replies:
    0
    Views:
    781
    Subodh
    Jan 7, 2004
  3. JVarsoke

    Can't locate String::Approx.pm

    JVarsoke, Feb 28, 2004, in forum: Perl
    Replies:
    1
    Views:
    917
    Joe Smith
    Feb 28, 2004
  4. Alvin Bruney

    Re: Locate assemblies in ASP.NET

    Alvin Bruney, Jul 18, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    365
    Alvin Bruney
    Jul 18, 2003
  5. Grey

    locate item data in datagrid

    Grey, Jan 16, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    300
    Alvin Bruney
    Jan 16, 2004
Loading...

Share This Page