Printing features

2004-11-12 Thread Stephen Liu
Hi folks, Please advise how to add 'bold', 'italic', 'colour', etc. such features to the printout. Can HTML syntax work on perl? I tried seeming not applicable. TIA B.R. Stephen Liu -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Printing features

2004-11-18 Thread Stephen Liu
Hi Chasecreek, Tks for your advice. > Have you also researched: > > Term::Screen > Term::Screen::Wizard > Term::ScreenColor FC2 === $ perldoc Term::Screen No documentation found for "Term::Screen". $ perldoc Term::Screen::Wizard No documentation found for "Term::Screen::Wizard". $ perldoc Term

Re: Printing features

2004-11-18 Thread Chasecreek Systemhouse
On Fri, 19 Nov 2004 12:51:20 +0800 (CST), Stephen Liu <[EMAIL PROTECTED]> wrote: > > Term::Screen > > Term::Screen::Wizard > > Term::ScreenColor > Please advise how to get them installed on my OS If you are on Unix and *IF* CPAN is correctly configured on your system, this this will work: perl M

Re: Printing features

2004-11-18 Thread Michael David
Original Message - From: "Chasecreek Systemhouse" <[EMAIL PROTECTED]> To: "beginners perl" <[EMAIL PROTECTED]> Sent: Friday, November 19, 2004 4:40 PM Subject: Re: Printing features On Fri, 19 Nov 2004 12:51:20 +0800 (CST), Stephen Liu <[EMAIL PROTECTED]>

Re: Printing features

2004-11-18 Thread Stephen Liu
n your > > system, this this will work: > > > > perl MCPAN -e 'install Term::Screen"' > > perl MCPAN -e 'install Term::Screen::Wizard"' > > perl MCPAN -e 'install Term::ScreenColor"' > > OR TRY if the above doesnt work

Re: Printing features

2004-11-19 Thread Chasecreek Systemhouse
On Fri, 19 Nov 2004 14:10:01 +0800 (CST), Stephen Liu <[EMAIL PROTECTED]> wrote: > hanging here > $ perl -MCPAN -e "install Term::Screen"; > CPAN: Storable loaded ok > mkdir /root/.cpan: æéä¸å¤ at > /usr/lib/perl5/5.8.3/CPAN.pm line 2342 Ummm, that hyphen is -MCPAN is required. Sorry about not

Re: Printing features

2004-11-19 Thread Stephen Liu
Hi Chasecreek, Tks for your advice. - snip - > Try this > > perl -MCPAN -e shell > > Then, at the CPAN prompt ( cpan> ) > > type: > > o conf init > > Answer all the qeustions; > > After you are done, again at t.CPAN prompt type > > install Bundle::CPAN Ran above commands. I don't known

Re: Printing features

2004-11-19 Thread Chasecreek Systemhouse
On Sat, 20 Nov 2004 00:15:52 +0800 (CST), Stephen Liu <[EMAIL PROTECTED]> wrote: > Hi Chasecreek, Call me Bill :) > I see you already have a directory > /root/.cpan > Shall we use it as the general CPAN build and cache > directory? > > CPAN build and cache directory? [/root/.cpan] yes > T

Re: Printing features

2004-11-19 Thread Chasecreek Systemhouse
You might also want to explore: perl -MCPAN -h -- WC -Sx- Jones http://insecurity.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Printing features

2004-11-19 Thread Stephen Liu
Hi Chasecreek, <[EMAIL PROTECTED]> wrote: > You might also want to explore: > > perl -MCPAN -h Yes, the perl switches. Tks B.R. Stephen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Printing features

2004-11-19 Thread Stephen Liu
Hi Bill, > Here [/root/.cpan] -- you should have just hit > enter. > > Try deleting the following directories: > /home/satimis/yes 'yes' directory not found. > /root/.cpan/yes the directory 'yes' is not empty. # ls -al /root/.cpan/yes/ total 5060 drwxr-xr-x 5 root root4096 Nov 20 00:52

Re: Printing features

2004-11-19 Thread Chasecreek Systemhouse
On Sat, 20 Nov 2004 01:10:32 +0800 (CST), Stephen Liu <[EMAIL PROTECTED]> wrote: > > /root/.cpan/yes > > the directory 'yes' is not empty. > > # ls -al /root/.cpan/yes/ > total 5060 > drwxr-xr-x 5 root root4096 Nov 20 00:52 . As root -- rm -fR /root/.cpan/yes > > As root - > > cd > > p

Re: Printing features

2004-11-19 Thread Stephen Liu
Hi Bill, Re-install Bundle::CPAN as advised. I answered most questions with . Installation went on smoothly without warning and finally cpan> prompted. But for unknown reason the PC continued to run and I was not allowed to type "quit" to exit. Neither I was allowed to switch to runlevel 2 or

Re: Printing features

2004-11-12 Thread JupiterHost.Net
Stephen Liu wrote: Hi folks, hello, Please advise how to add 'bold', 'italic', 'colour', etc. such features to the printout. Can HTML syntax work on perl? I tried seeming not applicable. If you're outputinng to something that understands html, yes: #!/usr/bin/perl use CGI 'header'; print header

Re: Printing features

2004-11-14 Thread Stephen Liu
Hi folks, After having installed "Color::Output" module, colour can be printed $ cat colour.pl #!/usr/bin/perl -w use strict; use warnings; use Term::ANSIColor qw(:constants); print BOLD BLUE "Remark:\n", RESET; print "OLINENO=Old Line No. NLINENO=New Line No.\n"; print "OWORDNO=Old Word No. NWO

Re: Printing features

2004-11-14 Thread Chasecreek Systemhouse
On Sun, 14 Nov 2004 20:44:36 +0800 (CST), Stephen Liu <[EMAIL PROTECTED]> wrote: > #!/usr/bin/perl -w > use strict; > use warnings; > use Term::ANSIColor qw(:constants); > > print BOLD BLUE "Remark:\n", RESET; > print "OLINENO=Old Line No. NLINENO=New Line No.\n"; > print "OWORDNO=Old Word No. NW

Re: Printing features

2004-11-14 Thread Stephen Liu
Hi WC -Sx- Jones, Tks for your advice. --- Chasecreek Systemhouse <[EMAIL PROTECTED]> wrote: > Put RESET on the line you want set as normal. > > Like this: > > print RED "This line is RED"; > print RESET, "This line is not.\n"; It works for me here. Furthermore ... print BOLD RED ON_YELLOW

Re: Printing features

2004-11-14 Thread Stephen Liu
Hi WC -Sx- Jones, Further to my last posting I found out the cause. Each time after changing the colour on the script, I must start a new terminal to run $ perl colour.pl If on the same terminal "ON_YELLOW" and "UNDERLINE" will appear on following line. But I have no glue. B.R. Stephen -- To

Re: Printing features

2004-11-14 Thread Chasecreek Systemhouse
On Sun, 14 Nov 2004 23:20:09 +0800 (CST), Stephen Liu <[EMAIL PROTECTED]> wrote: > If on the same terminal "ON_YELLOW" and "UNDERLINE" > will appear on following line. But I have no glue. You must realize that Screen ANSI escape sequences SOMETIMES take up spaces on the visible screen -- using a