You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
(9) |
Jul
(7) |
Aug
(9) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
---|
From: anirudh n. <ani...@gm...> - 2009-09-30 22:25:23
|
Hii Varun/Saifi Was pretty busy with college for the past few weeks. I've done a few things with ALAN and have a few issues to discuss. a)*Unable to install Alien::SVN module. This module will form the main wrapper for other modules related to SVN to function. * <error> $sudo cpan Alien::SVN .. .. ..(the code compiles) .. All tests successful, 7 subtests skipped. Files=10, Tests=173, 8 wallclock secs ( 1.53 cusr + 0.27 csys = 1.80 CPU) MSCHWERN/Alien-SVN-1.4.6.0.tar.gz ./Build test -- OK Running Build install Prepending /home/anirudh/.cpan/build/Alien-SVN-1.4.6.0-dXdoRw/blib/arch /home/anirudh/.cpan/build/Alien-SVN-1.4.6.0-dXdoRw/blib/lib to PERL5LIB for 'install' sudo: ./build: command not found MSCHWERN/Alien-SVN-1.4.6.0.tar.gz sudo ./build install -- NOT OK </error> I also tried to install it from source. The compiling part again went smooth but still having problems installing it $ sudo ./Build install [sudo] password for anirudh: Running make install-lib /usr/local/bin/install -c -d /usr/local/lib/perl/5.10.0/Alien/SVN --prefix=/usr/local /usr/local/bin/install: unrecognized option `--prefix=/usr/local' Try `/usr/local/bin/install --help' for more information. make: *** [install-fsmod-lib] Error 1 installing libs failed at inc/My/SVN/Builder.pm line 165. Varun, do try installing this module and post the results. b)*Archive::RPM was showing dependencies* which i was unable to resolve. It basically wanted a package *rpm2cpio* installed. But i was unable to find that package for my debian. But I found this interesting piece of code which converts rpm to cpio archive format. The code is pasted below. The code is licensed and i feel it can't be integrated with our code. So, we may have to re write it. The code.. #!/usr/bin/perl # Copyright (C) 1997,1998,1999, Roger Espel Llima # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and any associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # SOFTWARE'S COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE # (whew, that's done!) # why does the world need another rpm2cpio? because the existing one # won't build unless you have half a ton of things that aren't really # required for it, since it uses the same library used to extract RPM's. # in particular, it won't build on the HPsUX box i'm on. # sw 2002-Mar-6 Don't slurp the whole file # add a path if desired $gzip = "gzip"; sub printhelp { print <<HERE; rpm2cpio, perl version by orabidoo <odar\@pobox.com> +sw dumps the contents to stdout as a cpio archive use: rpm2cpio [file.rpm] > file.cpio Here's how to use cpio: list of contents: cpio -t -i < /file/name extract files: cpio -d -i < /file/name HERE exit 0; } if ($#ARGV == -1) { printhelp if -t STDIN; $f = "STDIN"; } elsif ($#ARGV == 0) { open(F, "< $ARGV[0]") or die "Can't read file $ARGV[0]\n"; $f = 'F'; } else { printhelp; }anirudh@ani-lap:~/Downloads/perl_modules/Alien-SVN-1.4.6.0 printhelp if -t STDOUT; # gobble the file up ##undef $/; ##$|=1; ##$rpm = <$f>; ##close ($f); read $f,$rpm,96; ($magic, $major, $minor, $crap) = unpack("NCC C90", $rpm); die "Not an RPM\n" if $magic != 0xedabeedb; die "Not a version 3 or 4 RPM\n" if $major != 3 && $major != 4; ##$rpm = substr($rpm, 96); while (!eof($f)) { $pos = tell($f); read $f,$rpm,16; $smagic = unpack("n", $rpm); last if $smagic eq 0x1f8b; # Turns out that every header except the start of the gzip one is # padded to an 8 bytes boundary. if ($pos & 0x7) { $pos += 7; $pos &= ~0x7; # Round to 8 byte boundary seek $f, $pos, 0; read $f,$rpm,16; } ($magic, $crap, $sections, $bytes) = unpack("N4", $rpm); die "Error: header not recognized\n" if $magic != 0x8eade801; $pos += 16; # for header $pos += 16 * $sections; $pos += $bytes; seek $f, $pos, 0; } if (eof($f)) { die "bogus RPM\n"; } open(ZCAT, "|gzip -cd") || die "can't pipe to gzip\n"; print STDERR "CPIO archive found!\n"; print ZCAT $rpm; while (read($f, ($_=''), 16384) > 0) { print ZCAT; } close ZCAT; c) *The PARSING PART: * Me and Varun had a chat on this a few days back: issues that were discussed: 1) Where to store the names of the licenses against which the search will take place? Can we have a config file /etc/alan which will ve the names of the license? 2) Should we access the contents of the files line by line or as a whole string containing the whole file? The problem with accessing the file line by line is that one part of the search term could be present in the 1st line and the other part in the 2nd and as a result it will be tough to capture them. Would like to know Saifi's take on c-1(storing the licenses). And I think its time that we start using the svn repo. Wht say guys?? cheers Anirudh Nair |
From: Varun J. <var...@gm...> - 2009-09-30 17:49:17
|
*EVENT 1 Site Link* : https://iws60.iiita.ac.in/alkhwarizm/ “You gotta know something of everything and everything of something to be a geek”.* Al-Khwarizm *the annual online programming contest organised by*IIIT-A *is for all those brilliant minded coders and budding programmers of this galaxy to showcase their acumen. Ticking seconds and flowing algorithms is sure to make that adrenaline gush through all you techies who have a passion, an addiction to prove their intelligence. So this is a challenge to all those whiz kids to be the best amongst the bests. . *Schedule* Date *October 1, 2009* Timings *7 PM - 1 AM Prize Money Cash prize of more than 14,000 INR to be won along with certificates. EVENT 2 Site Link **https://iws60.iiita.ac.in/limite/ Limite de Plazo * Effectiveness is doing the right things while Efficiency is doing things right. What is the major problem? It is fundamentally the confusion between effectiveness and efficiency that stands between doing the right things and doing things right. Finally, it is a mix of both that would take you to the pinnacle of success. If you have made mistakes, there is always another chance for you. You may have a fresh start any moment you choose, for this thing we call "failure" is not the falling down, but the staying down. Limite de plazo is an event where brilliant minds will make their way while others find it difficult to solve simple problems made typical by *constraints of time and space.* The problems don't require a very deep knowledge of algorithms, but instead require efficient thinking and some effective programming. The codes may be submitted in either C or C++. *Prize Money* Cash prize of more than *8,000 INR* to be won along with *certificates* to the top 3 teams. * * time line [All times are in IST (GMT +05:30)] - Registration has started - Contest will be on 2nd October at 7:00 PM IST to 1:00 AM IST * * |
From: S. K. <sai...@tw...> - 2009-09-02 04:34:10
|
> > After the build the code worked fine. Looks good for starters. > > things to be looked at: > > a) retrieving the code from svn , cvs and git repos > SVN::core , Cvs, Git::Wrapper should help us. > These module are not inbuild. therefore will be > dependencies if we use thm. It is a good idea to use all the stable modules in the CPAN. As part of the install process, the dependencies can be pulled in. > c) i ve noticed tht most of the .deb packages come with a copyright > notice. I think the .rpm > packages should also have a copyright notice. Now, searching > through CPAN > i found Archive::RPM which helps to extract a .rpm file. No > similar modules were found for > .deb packages. > Please go ahead with .rpm only. thanks Saifi. |
From: anirudh n. <ani...@gm...> - 2009-08-25 16:35:32
|
Hii Varun/Saifi Chk this code out. Had written this a few days back. I was unable to share it coz internet in hostel was down since the past four days. File- twincling-alan.pl use warnings; use strict; use Switch; use Twincling::Alan; use Twincling::Alan::Util; use Twincling::Alan::Report; use Twincling::Alan::Logic; my $alan_ob=Twincling::Alan->new(); my $util_ob=Twincling::Alan::Util->new(); #my $report_ob=Twincling::Alan::Report->new(); #my $logic_ob=Twincling::Alan::Logic->new(); switch($ARGV[0]) { case "tree" { if (-d $ARGV[1]) { $alan_ob->licence_analyse($ARGV[1]); } else { print "Doesn't look like a tree"; } } case "package" { } case "repo" { } case "file" { $alan_ob->licence_analyse($ARGV[1]); } case "archive" { $alan_ob->licence_analyse($util_ob->extract_file($ARGV[1])); } case "version" { } else { } } The above file is available at http://dl.getdropbox.com/u/1409169/alan/src/main/twincling-alan.pl -x-x-x-x-x- File- Alan.pm package Twincling::Alan; use Twincling::Alan::Util; use warnings; use 5.010; use File::Find; use strict; use Switch; =head1 NAME Twincling::Alan - The great new Twincling::Alan! =head1 VERSION Version 0.01 =cut our $VERSION = '0.01'; sub new() { my $constructor= { }; bless $constructor; } sub licence_analyse { find(\&wanted,$_[1]); #traverses through the directory specified in the arguments sub wanted { unless (-z $File::Find::name and -d _) { open PARSE,$File::Find::name; #the licence finding code goes here close PARSE; } } } the above file is available at http://dl.getdropbox.com/u/1409169/alan/src/lib/Twincling/Alan.pm -x-x-x-x-x- File- Util.pm package Twincling::Alan::Util; use Archive::Extract; use warnings; use strict; sub new { my $constructor = { }; bless $constructor; } sub extract_file { my $unpack=Archive::Extract->new( archive => $_[1]); # $_[1] contains the path of the archive print "Extracting.....\n"; $unpack->extract(to => '/tmp') or die $unpack->error; # the archive is extracted to /tmp. By default the archive # is extracted to CWD print "done\n"; my $final_path=$unpack->extract_path; # $final_path contains the path of the extracted directory return $final_path; } The above file is available at: http://dl.getdropbox.com/u/1409169/alan/src/lib/Twincling/Alan/Util.pm -x-x-x-x-x-x- After the build the code worked fine. things to be looked at: a) retrieving the code from svn , cvs and git repos SVN::core , Cvs, Git::Wrapper should help us. These module are not inbuild. therefore will be dependencies if we use thm. b) need a quick IRC with Varun to discuss the code to capture the licence of a file. c) i ve noticed tht most of the .deb packages come with a copyright notice. I think the .rpm packages should also have a copyright notice. Now, searching through CPAN i found Archive::RPM which helps to extract a .rpm file. No similar modules were found for .deb packages. Cheers Anirudh Nair |
From: Saifi K. <sai...@tw...> - 2009-08-05 05:27:32
|
Hi Varun and Anirudh: It will useful to have daily updates from your side. Even if you write two lines of code, please post the same. If you have some doubt, please discuss the same on the mailing list. thanks Saifi. http://twitter.com/saifikhan |
From: Saifi K. <sai...@tw...> - 2009-08-01 10:19:21
|
On Sat, 1 Aug 2009, Varun Jain wrote: > > Saifi I am not very clear with the non portability of system command.I have > checked d net but still have my doubts intact.Kindly throw some light on > that > from your example, system('ls -l'); works on *nix. but is this portable ? what about platforms on which 'ls' is not available ? what about platforms on which '--option' is not available ? This is one such illustration among many others. Let me know what your doubts are ? thanks Saifi. http://twitter.com/saifikhan |
From: Varun J. <var...@gm...> - 2009-08-01 09:47:26
|
I searched the inbuilt Perl modules and found the above link http://search.cpan.org/~nwclark/perl-5.8.8/lib/File/Find.pm<http://search.cpan.org/%7Enwclark/perl-5.8.8/lib/File/Find.pm>.This is more efficient since it uses DFS and serves our purpose. <code> These are functions for searching through directory trees doing work on each file found similar to the Unix find command. File::Find exports two functions, find and finddepth. They work similarly but have subtle differences. find find(\&wanted, @directories); find(\%options, @directories); find() does a depth-first search over the given @directories in the order they are given. For each file or directory found, it calls the &wanted subroutine. (See below for details on how to use the &wanted function). Additionally, for each directory found, it will chdir() into that directory and continue the search, invoking the &wanted function on each file or subdirectory in the directory. finddepth finddepth(\&wanted, @directories); finddepth(\%options, @directories); finddepth() works just like find() except that is invokes the &wanted function for a directory after invoking it for the directory's contents. It does a postorder traversal instead of a preorder traversal, working from the bottom of the directory tree up where find() works from the top of the tree down. </code> Saifi I am not very clear with the non portability of system command.I have checked d net but still have my doubts intact.Kindly throw some light on that Cheers, Varun :) |
From: Saifi K. <sai...@tw...> - 2009-08-01 06:35:13
|
On Sat, 1 Aug 2009, Varun Jain wrote: > However as stated in the script the above code saves the file names > and directory names respectively in @ file and @ dir . There would be a PERL module that lets you traverse the directory and returns a list of . directories . dir paths . file(s) The other important consideration is to avoid completely the usage of 'system()' function. it is non-portable and doesn't serve our requirements. In fact the above point is so important, that in all Twincling PERL modules, we've even avoided the use of Makefile.PL Please take a look. thanks Saifi. http://twitter.com/saifikhan |
From: Varun J. <var...@gm...> - 2009-08-01 04:26:10
|
(1)I don't know about a perl module that solves the above problem in this fashion . I shall have to check that .However as stated in the script the above code saves the file names and directory names respectively in @ file and @ dir .The elements are shifted left i.e popped out as we traverse to inner nodes .Also I dont think that a pre written module would cater to the need of checking through the file and finding the license and thereby storing in the hash.This can easily be implemented in the above script as per alan requirements. (2)As of question 2 i.e if($val[$#val] ne "." && $val[$#val] ne "..") well $#val is the last element S0 $val[$#val] contains the file/dir name.Now if this condition is not put then we shall have a recursive never ending program.This is because every directory shall show "." and "..".Now if we dunnot pay heed to the condition then @dir shall always store . and .. .Thereby it shall keep on listing the files inside and also the initial condition of while to have zero element in @dir to eliminate wont be sufficed . PS :: I havent checked any of those snippets as of now .Shall do if need arise ;) :P Cheers !!! Varun |
From: Saifi K. <sai...@tw...> - 2009-08-01 03:59:44
|
- original message - Subject: [alan] Alan Prototype 1 From: Varun Jain Date: 01/08/2009 03:38 1. Is there a perl module that solves this directly? 2. The expression below is not clear if($val[$#val] ne "." && $val[$#val] ne "..") what is the purpose of this code ? Internet search also shows similar snippets :-) thanks Saifi. |
From: Varun J. <var...@gm...> - 2009-08-01 03:38:08
|
# Author :Varun Jain Aug 1,2009 #to run the code type eg ./test_reg.pl /home/rebel/perl/ch2 #!/usr/bin/perl @dir=(); #array to hold directory names @file=(); #array to hold file names # Inititally the package named shall be tested and corresponding scripts #run so to extract the contents.For eg if the path turns out #to have a tar archive den command tar -xvzf NAME shall be run . # Here I have taken the eg of a directory for sake of simplicity push(@dir,$ARGV[0]); #first element pushed in directory with path and not just name # : Reason::(1) No mess of keeping track of cd and path #(2)in subdirectories same name directory might exist $FILENAME=$dir[0]."/filename.txt"; system("ls -a -l $dir[0] > $FILENAME"); # output of ls -a -l pushed to filename.txt which resides on same location while(@dir !=0){ #till it has visited all the subdirectories recursively open(fname,$FILENAME) or die("Cant open file\n"); while($line=<fname>){ $line =~ s/\s+/ /g; #substitution of multispaces by single space to the ls -a -l output @val=split(/\s/,$line); #holding contents in a val array i.e different fields of ls -a -l $path=$dir[0]."/".$val[$#val]; # path of the current file or directory taken if($val[$#val] ne "." && $val[$#val] ne ".."){ # to overcome recursive mess created by . and .. presence in ls -a -l output if($val[0] =~ m/^d/){ # checking if its a directory print "$path\n"; #printing path push(@dir,$path); #pushing directory[alongwith path] in @dir } } if($val[0] =~m/^-/){ #checking if it is a file push(@file,$val[$#val]); #pushing file in @file alongwith path } } shift(@dir); #shifting @dir to the left .Since contentsof $dir[0] have already been read foreach $dirname(@dir){ # print "$dirname\n"; } system("ls -a -l $dir[0] > $FILENAME"); #for recursive functionality output of new $dir[0] redirected to filename.txt $i=0; foreach $filename(@file){ #filenames displayed $i++; #Now here we can open the files one by one.Check the license # it has my regular expression or grep functionality and store # the result in an hash function with key as filename [here path] and value as license i.e #GPL v3,GPL v2,ASL etc etc print "\t\t$filename\n"; } delete@file[0..$i]; #filenames already displayed deleted } |
From: Saifi K. <sai...@tw...> - 2009-08-01 01:49:50
|
- original message - Subject: Re: [alan] design related discussions From: anirudh nair <ani...@gm...> Date: 31/07/2009 21:41 > > looking forward to the design discussions. > i suppose Varun and yourself were having some discussions on this earlier. In one of the Alan IRC it was mentioned. Can you post an update on that ? thanks Saifi |
From: anirudh n. <ani...@gm...> - 2009-07-31 21:41:09
|
On Fri, Jul 31, 2009 at 11:18 PM, Saifi Khan <sai...@tw...>wrote: > Hi Varun/Anirudh: > > Now that we got scaffold in place (i just checked in), > its time for you guys to start having daily design discussions, > prototype updates. > > Like to see how are we going. > > > thanks > Saifi. > > http://twitter.com/saifikhan > looking forward to the design discussions. Cheers Anirudh Nair |
From: Saifi K. <sai...@tw...> - 2009-07-31 17:50:12
|
Hi Varun/Anirudh: Now that we got scaffold in place (i just checked in), its time for you guys to start having daily design discussions, prototype updates. Like to see how are we going. thanks Saifi. http://twitter.com/saifikhan |
From: Saifi K. <sai...@tw...> - 2009-07-31 16:19:20
|
Hi: The scaffold code for ALAN perl module has the following layout. src |-- Build.PL |-- Changes |-- MANIFEST |-- README |-- apache.license |-- lib | `-- Twincling | |-- Alan | | |-- Logic.pm | | |-- Report.pm | | `-- Util.pm | `-- Alan.pm |-- main | `-- twincling-alan.pl `-- t |-- 00-load.t |-- boilerplate.t |-- pod-coverage.t `-- pod.t The modules here are . Alan.pm (responsible for License analysis) . Logic.pm (inference rules, relationship related to license algebra) . Report.pm (reports of analysis) . Util.pm (handlers, utility functions) As part of the install, twincling-alan.pl will get copied to /usr/local/bin/twincling-alan . All the ALAN test cases go into t/ directory. I'll checkin in the entire scaffold by tomorrow morning. thanks Saifi. http://twitter.com/saifikhan |
From: Saifi K. <sai...@tw...> - 2009-07-29 08:51:00
|
Hi: Interesting case of 'Open source' license, Artistic License 1.0 violation. http://en.wikipedia.org/wiki/Jacobsen_v._Katzer The court ruling is here http://www.cafc.uscourts.gov/opinions/08-1001.pdf thanks Saifi. |
From: anirudh n. <ani...@gm...> - 2009-07-27 22:00:04
|
Hii Varun/Saifi Alan IRC at 10:15pm on tuesday 28th jul. Duration would be approx 1hr Cheers Anirudh Nair |
From: Saifi K. <sai...@tw...> - 2009-07-18 16:53:11
|
Hi Varun / Anirudh: suggest Alan IRC on coming wednesday (22/7) at 2030 hrs. Duration would be 1 hr max. thanks Saifi. |
From: Saifi K. <sai...@tw...> - 2009-07-09 11:27:24
|
Hi Alan-ysts: The ALAN project requirement specification (draft) is now live. Please review the same http://www.twincling.org/node/556 We can discuss this stuff. thanks Saifi. |
From: anirudh n. <ani...@gm...> - 2009-06-23 14:22:25
|
Hello Guys I found only three interesting files in the whole package. All the rest were completely MIT licenced. Varun pls add any files if i had missed thm. The licences of the files are mentioned below a)cursesw.cc * Copyright (c) 2007 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * * "Software"), to deal in the Software without restriction, including * * without limitation the rights to use, copy, modify, merge, publish, * * distribute, distribute with modifications, sublicense, and/or sell * * copies of the Software, and to permit persons to whom the Software is * * furnished to do so, subject to the following conditions: * * * * The above copyright notice and this permission notice shall be included * * in all copies or substantial portions of the Software. * * * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * * * Except as contained in this notice, the name(s) of the above copyright * * holders shall not be used in advertising or otherwise to promote the * * sale, use or other dealings in this Software without prior written * * authorization. * ****************************************************************************/ /* * Authors: * Thomas E. Dickey * Juergen Pfeifer * * *The NCursesWindow class was originally based on a file written by * Eric Newton, later modified by Ulrich Drepper and Anatoly Ivasyuk. * However, aside from the compatible interface definition, no trace * of the original code remains in this version: it consists only of * changes introduced since 1995. */* -x-x-x-x-x-x- b)tput.c /**************************************************************************** * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * * "Software"), to deal in the Software without restriction, including * * without limitation the rights to use, copy, modify, merge, publish, * * distribute, distribute with modifications, sublicense, and/or sell * * copies of the Software, and to permit persons to whom the Software is * * furnished to do so, subject to the following conditions: * * * * The above copyright notice and this permission notice shall be included * * in all copies or substantial portions of the Software. * * * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * * * Except as contained in this notice, the name(s) of the above copyright * * holders shall not be used in advertising or otherwise to promote the * * sale, use or other dealings in this Software without prior written * * authorization. * ****************************************************************************/ /**************************************************************************** * Author: Zeyd M. Ben-Halim <zmb...@ne...> 1992,1995 * * and: Eric S. Raymond <es...@sn...> * ****************************************************************************/ /* ** tput.c -- shellscript access to terminal capabilities * * by Eric S. Raymond <es...@sn...>, portions based on code from * Ross Ridge's mytinfo package. * -x-x-x-x-x-x- *c)tset.c* * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * * "Software"), to deal in the Software without restriction, including * * without limitation the rights to use, copy, modify, merge, publish, * * distribute, distribute with modifications, sublicense, and/or sell * * copies of the Software, and to permit persons to whom the Software is * * furnished to do so, subject to the following conditions: * * * * The above copyright notice and this permission notice shall be included * * in all copies or substantial portions of the Software. * * * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * * * Except as contained in this notice, the name(s) of the above copyright * * holders shall not be used in advertising or otherwise to promote the * * sale, use or other dealings in this Software without prior written * * authorization. * ****************************************************************************/ /**************************************************************************** * Author: Zeyd M. Ben-Halim <zmb...@ne...> 1992,1995 * * and: Eric S. Raymond <es...@sn...> * * and: Thomas E. Dickey 1996-on * ****************************************************************************/ /* * tset.c - terminal initialization utility * * This code was mostly swiped from 4.4BSD tset, with some obsolescent * cruft removed and substantial portions rewritten. A Regents of the * University of California copyright applies to some portions of the * code, and is reproduced below: */ /*- * Copyright (c) 1980, 1991, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ -x-x-x-x-x-x- cursesw.cc gives credit to the original author but clearly states that the no part of the original code is reproduced tput.c says that some portion of the code is from another package. The licence in test.c says that some part of the code is licenced in BSD We need to discuss a) how to handle situaltions in 'a' and 'b' if at all we need to care abt them? b)the situation in 'c', which seems to be straight forward cheers Anirudh |
From: Saifi K. <sai...@tw...> - 2009-06-23 14:14:54
|
On Tue, 23 Jun 2009, Varun Jain wrote: > I found only three interesting files in the whole package. All the rest were > completely MIT licenced. > > a)cursesw.cc > b)tput.c > c)tset.c > > cursesw.cc gives credit to the original author but clearly states that the > no part of the original code is reproduced > > tput.c says that some portion of the code is from another package. > > The licence in test.c says that some part of the code is licenced in BSD > > We need to discuss > a) how to handle situaltions in 'a' and 'b' if at all we need to care abt > them? > b)the situation in 'c', which seems to be straight forward > Was there any file named LICENSE or COPYING in the base directory of the source tree ? thanks Saifi. |
From: anirudh n. <ani...@gm...> - 2009-06-23 14:13:26
|
Hello Guys I found only three interesting files in the whole package. All the rest were completely MIT licenced. Varun pls add any files if i had missed thm. The licences of the files are mentioned below a)cursesw.cc * Copyright (c) 2007 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * * "Software"), to deal in the Software without restriction, including * * without limitation the rights to use, copy, modify, merge, publish, * * distribute, distribute with modifications, sublicense, and/or sell * * copies of the Software, and to permit persons to whom the Software is * * furnished to do so, subject to the following conditions: * * * * The above copyright notice and this permission notice shall be included * * in all copies or substantial portions of the Software. * * * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * * * Except as contained in this notice, the name(s) of the above copyright * * holders shall not be used in advertising or otherwise to promote the * * sale, use or other dealings in this Software without prior written * * authorization. * ****************************************************************************/ /* * Authors: * Thomas E. Dickey * Juergen Pfeifer * * *The NCursesWindow class was originally based on a file written by * Eric Newton, later modified by Ulrich Drepper and Anatoly Ivasyuk. * However, aside from the compatible interface definition, no trace * of the original code remains in this version: it consists only of * changes introduced since 1995. */* -x-x-x-x-x-x- b)tput.c /**************************************************************************** * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * * "Software"), to deal in the Software without restriction, including * * without limitation the rights to use, copy, modify, merge, publish, * * distribute, distribute with modifications, sublicense, and/or sell * * copies of the Software, and to permit persons to whom the Software is * * furnished to do so, subject to the following conditions: * * * * The above copyright notice and this permission notice shall be included * * in all copies or substantial portions of the Software. * * * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * * * Except as contained in this notice, the name(s) of the above copyright * * holders shall not be used in advertising or otherwise to promote the * * sale, use or other dealings in this Software without prior written * * authorization. * ****************************************************************************/ /**************************************************************************** * Author: Zeyd M. Ben-Halim <zmb...@ne...> 1992,1995 * * and: Eric S. Raymond <es...@sn...> * ****************************************************************************/ /* ** tput.c -- shellscript access to terminal capabilities * * by Eric S. Raymond <es...@sn...>, portions based on code from * Ross Ridge's mytinfo package. * -x-x-x-x-x-x- *c)tset.c* * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * * "Software"), to deal in the Software without restriction, including * * without limitation the rights to use, copy, modify, merge, publish, * * distribute, distribute with modifications, sublicense, and/or sell * * copies of the Software, and to permit persons to whom the Software is * * furnished to do so, subject to the following conditions: * * * * The above copyright notice and this permission notice shall be included * * in all copies or substantial portions of the Software. * * * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * * * Except as contained in this notice, the name(s) of the above copyright * * holders shall not be used in advertising or otherwise to promote the * * sale, use or other dealings in this Software without prior written * * authorization. * ****************************************************************************/ /**************************************************************************** * Author: Zeyd M. Ben-Halim <zmb...@ne...> 1992,1995 * * and: Eric S. Raymond <es...@sn...> * * and: Thomas E. Dickey 1996-on * ****************************************************************************/ /* * tset.c - terminal initialization utility * * This code was mostly swiped from 4.4BSD tset, with some obsolescent * cruft removed and substantial portions rewritten. A Regents of the * University of California copyright applies to some portions of the * code, and is reproduced below: */ /*- * Copyright (c) 1980, 1991, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ -x-x-x-x-x-x- cursesw.cc gives credit to the original author but clearly states that the no part of the original code is reproduced tput.c says that some portion of the code is from another package. The licence in test.c says that some part of the code is licenced in BSD We need to discuss a) how to handle situaltions in 'a' and 'b' if at all we need to care abt them? b)the situation in 'c', which seems to be straight forward cheers Anirudh |
From: Varun J. <var...@gm...> - 2009-06-23 14:11:49
|
---------- Forwarded message ---------- From: Varun Jain <var...@gm...> Date: Tue, Jun 23, 2009 at 7:39 PM Subject: Ncurses observation To: st...@tw... courtesy:*Anirudh Nair* I found only three interesting files in the whole package. All the rest were completely MIT licenced. a)cursesw.cc b)tput.c c)tset.c cursesw.cc gives credit to the original author but clearly states that the no part of the original code is reproduced tput.c says that some portion of the code is from another package. The licence in test.c says that some part of the code is licenced in BSD We need to discuss a) how to handle situaltions in 'a' and 'b' if at all we need to care abt them? b)the situation in 'c', which seems to be straight forward |
From: anirudh n. <ani...@gm...> - 2009-06-19 07:37:32
|
Hello Guys I found only three interesting files in the whole package. All the rest were completely MIT licenced. Varun pls add any files if i had missed thm. a)cursesw.cc b)tput.c c)tset.c cursesw.cc gives credit to the original author but clearly states that the no part of the original code is reproduced tput.c says that some portion of the code is from another package. The licence in test.c says that some part of the code is licenced in BSD We need to discuss a) how to handle situaltions in 'a' and 'b' if at all we need to care abt them? b)the situation in 'c', which seems to be straight forward cheers Anirudh |
From: anirudh n. <ani...@gm...> - 2009-06-11 14:24:17
|
Hii Saifi Thanks for the book... Downloaded all the chapters. cheers Anirudh |