Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I want to be able to print information at a certain screen postion, say specified with an X,Y coordinate. What's the easiest way to do this in perl? muchos gracias, austin
  • Comment on How do I display text at a certain position on screen?

Replies are listed 'Best First'.
Re: How do I display text at a certain position on screen?
by arturo (Vicar) on Mar 03, 2001 at 00:25 UTC

    On *nix-type operating systems, you would use Curses ... couldn't say which module you would use on Win32 systems.(somebody here will know).

    HTH

    Philosophy can be made out of anything. Or less -- Jerry A. Fodor

Re: How do I display text at a certain position on screen?
by princepawn (Parson) on Mar 03, 2001 at 02:00 UTC
    also Term::Cap which has the advantage of being included with Perl.
Re: How do I display text at a certain position on screen?
by rpc (Monk) on Mar 03, 2001 at 00:28 UTC
    Have a look at the Curses module. It allows you to specify the absolute location of the cursor.
Re: How do I display text at a certain position on screen?
by Gloom (Monk) on Mar 03, 2001 at 01:17 UTC
    if your terminal is vt100 compilant (like linux console), there is some escape caraters than do this. Ask google for more details =)

    ________________
    Hope this helps