Re: HTAB, VTAB in a terminal?
On Oct 20, Bryan R Harris said: I'd like to write a perl script to do very simple bitmap editing. The part I can't figure out is how to write text into the terminal at any x,y point. Is this possible? e.g. how can I write an * at 10 columns over, 5 rows down in the current terminal? The Curses module is probably a good starting point. It gives you control over the terminal displays. Curses! Foiled again! -- Jeff japhy Pinyan% How can we ever be the sold short or RPI Acacia Brother #734% the cheated, we who for every service http://www.perlmonks.org/ % have long ago been overpaid? http://princeton.pm.org/ %-- Meister Eckhart -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Re: HTAB, VTAB in a terminal?
On Oct 20, Bryan R Harris said: I'd like to write a perl script to do very simple bitmap editing. The part I can't figure out is how to write text into the terminal at any x,y point. Is this possible? e.g. how can I write an * at 10 columns over, 5 rows down in the current terminal? The Curses module is probably a good starting point. It gives you control over the terminal displays. Curses! Foiled again! Curses is a CPAN module, correct? I have an office-full of users here, most of which will not not have that module installed on their workstations. What's the best way to do something like that? Can I have my perl script install that module on their machines? Or can I simply embed that module within my script somehow? - B -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Re: HTAB, VTAB in a terminal?
On Oct 20, Bryan R Harris said: Curses is a CPAN module, correct? I have an office-full of users here, most of which will not not have that module installed on their workstations. What's the best way to do something like that? Can I have my perl script install that module on their machines? Or can I simply embed that module within my script somehow? It's not that easy. Curses is a wrapper around a bunch of C functions and what-not. I don't know what the simplest non-Curses way of controlling a terminal is. -- Jeff japhy Pinyan% How can we ever be the sold short or RPI Acacia Brother #734% the cheated, we who for every service http://www.perlmonks.org/ % have long ago been overpaid? http://princeton.pm.org/ %-- Meister Eckhart -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
RE: HTAB, VTAB in a terminal?
-Original Message- From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED] Sent: Thursday, October 20, 2005 2:22 PM To: Bryan R Harris Cc: Beginners Perl Subject: Re: HTAB, VTAB in a terminal? On Oct 20, Bryan R Harris said: Curses is a CPAN module, correct? I have an office-full of users here, most of which will not not have that module installed on their workstations. What's the best way to do something like that? Can I have my perl script install that module on their machines? Or can I simply embed that module within my script somehow? It's not that easy. Curses is a wrapper around a bunch of C functions and what-not. I don't know what the simplest non-Curses way of controlling a terminal is. Correct me if I'm wrong, but if you're users are accessing (something) via a terminal, wouldn't they all be accessing a central system? In other words, your script would reside on a *NIX box (for argument's sake) whose environment would include Perl and the relevant modules, correct? -- Jeff japhy Pinyan% How can we ever be the sold short or RPI Acacia Brother #734% the cheated, we who for every service http://www.perlmonks.org/ % have long ago been overpaid? http://princeton.pm.org/ %-- Meister Eckhart -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Re: HTAB, VTAB in a terminal?
Curses is a CPAN module, correct? I have an office-full of users here, most of which will not not have that module installed on their workstations. What's the best way to do something like that? Can I have my perl script install that module on their machines? Or can I simply embed that module within my script somehow? It's not that easy. Curses is a wrapper around a bunch of C functions and what-not. I don't know what the simplest non-Curses way of controlling a terminal is. Correct me if I'm wrong, but if you're users are accessing (something) via a terminal, wouldn't they all be accessing a central system? In other words, your script would reside on a *NIX box (for argument's sake) whose environment would include Perl and the relevant modules, correct? Nope, the script is on an NFS mounted fileserver, but each is running them on a local workstation, so each user is using /usr/bin/perl on their local machine. - B -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
RE: HTAB, VTAB in a terminal?
-Original Message- From: Bryan R Harris [mailto:[EMAIL PROTECTED] Sent: Thursday, October 20, 2005 3:02 PM To: Beginners Perl Subject: Re: HTAB, VTAB in a terminal? Curses is a CPAN module, correct? I have an office-full of users here, most of which will not not have that module installed on their workstations. What's the best way to do something like that? Can I have my perl script install that module on their machines? Or can I simply embed that module within my script somehow? It's not that easy. Curses is a wrapper around a bunch of C functions and what-not. I don't know what the simplest non-Curses way of controlling a terminal is. Correct me if I'm wrong, but if you're users are accessing (something) via a terminal, wouldn't they all be accessing a central system? In other words, your script would reside on a *NIX box (for argument's sake) whose environment would include Perl and the relevant modules, correct? Nope, the script is on an NFS mounted fileserver, but each is running them on a local workstation, so each user is using /usr/bin/perl on their local machine. - B A, bugger! I see. Perhaps you could include the module via the script using 'use' if the module is installed somewhere on the NFS share like so: use lib qw(/mountpoint/path/to/module); I don't know if there are any restrictions with NFS, but it's worth a try. ry -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response