From bonivart at opencsw.org Fri Jan 14 16:39:36 2011 From: bonivart at opencsw.org (Peter Bonivart) Date: Fri, 14 Jan 2011 16:39:36 +0100 Subject: [csw-users] /testing Please help test new Perl package with changed INC Message-ID: After years of having a Perl binary with a weird default INC we will now change it. This is the current INC: root at sol10[trunk]$ pkgparam CSWperl VERSION 5.10.1,REV=2010.12.10 ... Compiled at Dec 6 2010 17:53:49 @INC: /opt/csw/lib/perl/5.10.1 /opt/csw/share/perl/5.10.1 /opt/csw/lib/perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/lib/perl/csw /opt/csw/share/perl/csw /opt/csw/share/perl/csw . This means that when we package the latest version of a module that is included in core Perl it will not be used by default since the INC places built-in (5.10.1) before vendor (csw). It also means that if you build your own modules, via e.g. CPAN, they will not be used either if they are also in core Perl. Locally one can manipulate the INC but we think it's time for a more reasonable default one. This is the new INC, the same as Red Hat Enterprise Linux 5 uses: root at sol10[trunk]$ pkgparam CSWperl VERSION 5.10.1,REV=2011.01.06 ... Compiled at Jan 5 2011 18:06:53 @INC: /opt/csw/lib/perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/lib/perl/csw /opt/csw/share/perl/csw /opt/csw/share/perl/csw /opt/csw/lib/perl/5.10.1 /opt/csw/share/perl/5.10.1 . The above would first use your locally built modules (site_perl), then our packages modules (csw) and last the built-in modules from core Perl. Note that this doesn't matter if a CSW module package (or your CPAN module) is not in core Perl, it would of course be found with the old INC as well, the problem is when you want to use a newer version of something that is included in core Perl. Does anyone object to this change? Any reason we should not change this? We have also fixed an issue with DB_File.pm missing from the latest package. See https://www.opencsw.org/mantis/view.php?id=4544. You can install the new package with: # pkgutil -t http://buildfarm.opencsw.org/opencsw/experimental/perl-new -i perl Direct links to the packages: http://buildfarm.opencsw.org/experimental/perl-new/perl-5.10.1,REV=2011.01.06-SunOS5.9-sparc-CSW.pkg.gz http://buildfarm.opencsw.org/experimental/perl-new/perl-5.10.1,REV=2011.01.06-SunOS5.9-i386-CSW.pkg.gz http://buildfarm.opencsw.org/experimental/perl-new/perldoc-5.10.1,REV=2011.01.06-SunOS5.9-all-CSW.pkg.gz /peter From ggunselm at emporia.edu Tue Jan 25 18:46:51 2011 From: ggunselm at emporia.edu (Glen Gunselman) Date: Tue, 25 Jan 2011 11:46:51 -0600 Subject: [csw-users] mutt (CSWmutt 1.5.21,REV=2010.09.16) Message-ID: <4D3EB82B.CC54.005D.3@emporia.edu> I will start with the most basic of questions - is the version of mutt (CSWmutt 1.5.21,REV=2010.09.16) usable from the command line? I have never used mutt but our local anti spam (M+) no longer handles uuencode. It has been suggested we use mutt. I think we need to replace the following syntax: uuencode "/opt/csw/share/doc/mutt/reference.html" reference.html | mailx -v -r me at xxx.yyy -s "test - mutt reference manual" some1else at xxx.yyy ( mailto:some1else at xxx.yyy ) I tried: mutt -s "mutt reference manual" -a /opt/csw/share/doc/mutt/reference.html -- me at xxx.yyy ( mailto:me at xxx.yyy ) < /dev/null but this just hangs. Thanks for any clues, Glen -------------- next part -------------- An HTML attachment was scrubbed... URL: From bonivart at opencsw.org Tue Jan 25 19:01:17 2011 From: bonivart at opencsw.org (Peter Bonivart) Date: Tue, 25 Jan 2011 19:01:17 +0100 Subject: [csw-users] mutt (CSWmutt 1.5.21,REV=2010.09.16) In-Reply-To: <4D3EB82B.CC54.005D.3@emporia.edu> References: <4D3EB82B.CC54.005D.3@emporia.edu> Message-ID: On Tue, Jan 25, 2011 at 6:46 PM, Glen Gunselman wrote: > I have never used mutt... ...me neither but I have used mpack for years to send attachments from the command line. # mpack -s subject file address Sorry if I somehow missed your point and you wanted to do something else. /peter From ggunselm at emporia.edu Tue Jan 25 23:48:11 2011 From: ggunselm at emporia.edu (Glen Gunselman) Date: Tue, 25 Jan 2011 16:48:11 -0600 Subject: [csw-users] mutt (CSWmutt 1.5.21,REV=2010.09.16) In-Reply-To: References: <4D3EB82B.CC54.005D.3@emporia.edu> Message-ID: <4D3EFECB.CC54.005D.3@emporia.edu> Peter, Thanks for the advice. I installed mpack and removed mutt. mpack is working for me. Thanks, Glen >>> Peter Bonivart 1/25/2011 12:01 PM >>> On Tue, Jan 25, 2011 at 6:46 PM, Glen Gunselman wrote: > I have never used mutt... ...me neither but I have used mpack for years to send attachments from the command line. # mpack -s subject file address Sorry if I somehow missed your point and you wanted to do something else. /peter _______________________________________________ users mailing list users at lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From maciej at opencsw.org Wed Jan 26 08:44:25 2011 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_Blizi=C5=84ski?=) Date: Wed, 26 Jan 2011 07:44:25 +0000 Subject: [csw-users] mutt (CSWmutt 1.5.21,REV=2010.09.16) In-Reply-To: <4D3EB82B.CC54.005D.3@emporia.edu> References: <4D3EB82B.CC54.005D.3@emporia.edu> Message-ID: 2011/1/25 Glen Gunselman : > I tried: > > mutt -s "mutt reference manual" -a /opt/csw/share/doc/mutt/reference.html -- > me at xxx.yyy < /dev/null > > but this just hangs. There's the -x option, which emulates the mailx compose mode. From upendra.gandhi at gmail.com Mon Jan 31 16:02:31 2011 From: upendra.gandhi at gmail.com (upen) Date: Mon, 31 Jan 2011 09:02:31 -0600 Subject: [csw-users] rlwrap issues Message-ID: Hi , I am using rlwrap from OpenCSW on solaris 10 /sparc. /opt/csw/bin/pkgutil -c | grep rlwrap CSWrlwrap 0.37,REV=2010.09.01 SAME We use rlwrap from running oracle sqlplus. Some users reported me that they get below message when they run /opt/csw/bin/rlwrap sqlplus sqlplus rlwrap: warning: your $TERM is 'xterm-color' but rlwrap couldn't find it in the terminfo database. Expect some problems. rlwrap: Cannot execute sqlplus: No such file or directory One more strange message appeared before getting this to run successfully on immediate next attempt, /opt/csw/bin/rlwrap sqlplus rlwrap: TIOCSWINSZ failed on slave pty: Interrupted system call Please help! Thanks, From bwalton at opencsw.org Mon Jan 31 16:08:33 2011 From: bwalton at opencsw.org (Ben Walton) Date: Mon, 31 Jan 2011 10:08:33 -0500 Subject: [csw-users] rlwrap issues In-Reply-To: References: Message-ID: <1296486418-sup-7127@pinkfloyd.chass.utoronto.ca> Excerpts from upen's message of Mon Jan 31 10:02:31 -0500 2011: Hello, > sqlplus > rlwrap: warning: your $TERM is 'xterm-color' but rlwrap couldn't find > it in the terminfo database. Expect some problems. > rlwrap: Cannot execute sqlplus: No such file or directory I don't know about the rest of your issue, but the xterm-color propblem is easy; If you: export TERMINFO=/opt/csw/share/terminfo Things will start to understand xterm-colour though. This is a stock part of my shell init. HTH. -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 From upendra.gandhi at gmail.com Mon Jan 31 16:13:28 2011 From: upendra.gandhi at gmail.com (upen) Date: Mon, 31 Jan 2011 09:13:28 -0600 Subject: [csw-users] rlwrap issues In-Reply-To: <1296486418-sup-7127@pinkfloyd.chass.utoronto.ca> References: <1296486418-sup-7127@pinkfloyd.chass.utoronto.ca> Message-ID: On 1/31/11, Ben Walton wrote: > Excerpts from upen's message of Mon Jan 31 10:02:31 -0500 2011: > > Hello, > >> sqlplus >> rlwrap: warning: your $TERM is 'xterm-color' but rlwrap couldn't find >> it in the terminfo database. Expect some problems. >> rlwrap: Cannot execute sqlplus: No such file or directory > > I don't know about the rest of your issue, but the xterm-color > propblem is easy; If you: > > export TERMINFO=/opt/csw/share/terminfo > > Things will start to understand xterm-colour though. This is a stock > part of my shell init. Thank you Ben for your quick useful response, I will have users give that a try and let you all know how that goes. From bonivart at opencsw.org Mon Jan 31 16:51:06 2011 From: bonivart at opencsw.org (Peter Bonivart) Date: Mon, 31 Jan 2011 16:51:06 +0100 Subject: [csw-users] rlwrap issues In-Reply-To: References: Message-ID: On Mon, Jan 31, 2011 at 4:02 PM, upen wrote: > /opt/csw/bin/pkgutil -c | grep rlwrap > CSWrlwrap ? ? ? ? ? ? ? ? 0.37,REV=2010.09.01 ? ? ? SAME My response is less useful since it's totally off topic :-) but here goes: You don't have to pipe to grep for that, the same result comes from just giving rlwrap as an argument to -c, like this: # pkgutil -c rlwrap You can also add more packages to select, like this: # pkgutil -c rlwrap bash perl Which would otherwise take something hard to type like this to get the same result: # pkgutil -c | egrep 'rlwrap|bash|perl' This works with most of the query options in pkgutil such as -a/A/c/C and so on. Just a reminder since I see so many piping to grep. /peter