I want to build a perl script that adapts dynamically to terminalsize

Discussion in 'Perl' started by Jeff Silverman, Dec 29, 2005.

  1. I am working on a perl program which uses VT100 style escape codes and
    runs in gnome-terminal or konsole or rxterm or xterm or similar.

    I want to know if there is a way to sent an escape sequence to the
    terminal emulator which queries for the current size of the screen and
    gets a report back.

    Does anybody know how to do this?


    Many thanks,


    Jeff Silverman
     
    Jeff Silverman, Dec 29, 2005
    #1
    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. Wet Basement
    Replies:
    1
    Views:
    2,528
    BobMonk
    Jul 15, 2003
  2. dpackwood
    Replies:
    3
    Views:
    1,809
  3. Ivan Demkovitch

    Build script dynamically...

    Ivan Demkovitch, Oct 22, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    683
    Ivan Demkovitch
    Oct 23, 2003
  4. nalakainfo
    Replies:
    0
    Views:
    637
    nalakainfo
    Jan 31, 2007
  5. pj
    Replies:
    3
    Views:
    291
Loading...

Share This Page