From jason.lee.quinn at gmail.com Wed Jan 27 15:01:27 2010 From: jason.lee.quinn at gmail.com (Jason Quinn) Date: Wed, 27 Jan 2010 10:01:27 -0300 Subject: "jobs -l" gives "jobs: Too many arguments." Is this a bug? Message-ID: <5017f5a11001270501y639b6c67o13bdb1a461dbdea2@mail.gmail.com> When I run "jobs -l" (mentioned in the tcsh man page as producing a "long" listing of jobs, which I think means including PIDs) I get an error. I don't know if it is my understanding of the jobs command or if tcsh is failing here. Alternatively, perhaps the man page is wrong. Apologies if I am missing something obvious. Here is the output that is confusing me (the version below is for tcsh via the Ubuntu 9.10 repos but I also compiled 6.17.00 and it did the same). me at host>jobs -l jobs: Too many arguments. me at host> me at host>tcsh --version tcsh 6.14.00 (Astron) 2005-03-25 (x86_64-unknown-linux) options wide,nls,dl,al,kan,rh,nd,color,filec From thomasu at eas.iis.fraunhofer.de Thu Jan 28 12:00:06 2010 From: thomasu at eas.iis.fraunhofer.de (Thomas Uhle) Date: Thu, 28 Jan 2010 11:00:06 +0100 (CET) Subject: Compiling tcsh on 64bit Solaris Message-ID: <201001281000.o0SA063A004161@ksi.eas.iis.fraunhofer.de> Hi guys, I recently pulled the sources of tcsh 6.17.00 to build a 64bit executable for my Solaris box that has large-file support. I noticed that the current config file for Solaris boxes had been written for Solaris 2.6 without large-file support. Since recent Solaris releases such as Solaris 9, 10 as well as OpenSolaris have also BSDTIMES, I decided to add a new config file named config/sol29 to get tcsh compiled with these features. My patch can be downloaded from http://bugs.gw.com/file_download.php?file_id=73&type=bug . My compiler is Sun Studio 12 cc and the following call of configure did it: ./configure --prefix=/usr CC=cc CFLAGS="-fast -m64 -xO4 -xarch=sparcvis2 -xtarget=sparc64vi -xnolibmil -mc" Regards, Thomas Uhle From kimmo at suominen.com Thu Jan 28 14:11:28 2010 From: kimmo at suominen.com (Kimmo Suominen) Date: Thu, 28 Jan 2010 07:11:28 -0500 Subject: "jobs -l" gives "jobs: Too many arguments." Is this a bug? In-Reply-To: <5017f5a11001270501y639b6c67o13bdb1a461dbdea2@mail.gmail.com> References: <5017f5a11001270501y639b6c67o13bdb1a461dbdea2@mail.gmail.com> Message-ID: Most likely you have an alias created for jobs. ganymede:~> jobs -l jobs: Too many arguments. ganymede:~> where jobs jobs is aliased to jobs -l jobs is a shell built-in ganymede:~> Best regards, + Kim On Wed, Jan 27, 2010 at 08:01, Jason Quinn wrote: > When I run "jobs -l" (mentioned in the tcsh man page as producing a "long" > listing of jobs, which I think means including PIDs) I get an error. I > don't > know if it is my understanding of the jobs command or if tcsh is failing > here. Alternatively, perhaps the man page is wrong. Apologies if I am > missing something obvious. Here is the output that is confusing me (the > version below is for tcsh via the Ubuntu 9.10 repos but I also compiled > 6.17.00 and it did the same). > > me at host>jobs -l > jobs: Too many arguments. > me at host> > me at host>tcsh --version > tcsh 6.14.00 (Astron) 2005-03-25 (x86_64-unknown-linux) options > wide,nls,dl,al,kan,rh,nd,color,filec > _______________________________________________ > Tcsh-Bugs mailing list > Tcsh-Bugs at mx.gw.com > http://mx.gw.com/mailman/listinfo/tcsh-bugs > From christos at zoulas.com Thu Jan 28 17:07:32 2010 From: christos at zoulas.com (Christos Zoulas) Date: Thu, 28 Jan 2010 10:07:32 -0500 Subject: "jobs -l" gives "jobs: Too many arguments." Is this a bug? In-Reply-To: <5017f5a11001270501y639b6c67o13bdb1a461dbdea2@mail.gmail.com> from Jason Quinn (Jan 27, 10:01am) Message-ID: <20100128150732.C477E5654E@rebar.astron.com> On Jan 27, 10:01am, jason.lee.quinn at gmail.com (Jason Quinn) wrote: -- Subject: "jobs -l" gives "jobs: Too many arguments." Is this a bug? | When I run "jobs -l" (mentioned in the tcsh man page as producing a "long" | listing of jobs, which I think means including PIDs) I get an error. I don't | know if it is my understanding of the jobs command or if tcsh is failing | here. Alternatively, perhaps the man page is wrong. Apologies if I am | missing something obvious. Here is the output that is confusing me (the | version below is for tcsh via the Ubuntu 9.10 repos but I also compiled | 6.17.00 and it did the same). | | me at host>jobs -l | jobs: Too many arguments. What does 'alias jobs' say? christos From christos at zoulas.com Thu Jan 28 17:09:03 2010 From: christos at zoulas.com (Christos Zoulas) Date: Thu, 28 Jan 2010 10:09:03 -0500 Subject: Compiling tcsh on 64bit Solaris In-Reply-To: <201001281000.o0SA063A004161@ksi.eas.iis.fraunhofer.de> from Thomas Uhle (Jan 28, 11:00am) Message-ID: <20100128150903.991125654F@rebar.astron.com> On Jan 28, 11:00am, thomasu at eas.iis.fraunhofer.de (Thomas Uhle) wrote: -- Subject: Compiling tcsh on 64bit Solaris | Hi guys, | | I recently pulled the sources of tcsh 6.17.00 to build a 64bit executable | for my Solaris box that has large-file support. I noticed that the current | config file for Solaris boxes had been written for Solaris 2.6 without | large-file support. Since recent Solaris releases such as Solaris 9, 10 as | well as OpenSolaris have also BSDTIMES, I decided to add a new config file | named config/sol29 to get tcsh compiled with these features. My patch can | be downloaded from http://bugs.gw.com/file_download.php?file_id=73&type=bug . | | My compiler is Sun Studio 12 cc and the following call of configure did it: | | ./configure --prefix=/usr CC=cc CFLAGS="-fast -m64 -xO4 -xarch=sparcvis2 -xtarget=sparc64vi -xnolibmil -mc" Thanks! Did you fix configure to detect those versions of solaris and use your new config file? christos From thomasu at eas.iis.fraunhofer.de Thu Jan 28 17:14:24 2010 From: thomasu at eas.iis.fraunhofer.de (Thomas Uhle) Date: Thu, 28 Jan 2010 16:14:24 +0100 (CET) Subject: Compiling tcsh on 64bit Solaris Message-ID: <201001281514.o0SFEOVK000200@ksi.eas.iis.fraunhofer.de> christos at zoulas.com (Christos Zoulas) wrote: > On Jan 28, 11:00am, thomasu at eas.iis.fraunhofer.de (Thomas Uhle) wrote: > -- Subject: Compiling tcsh on 64bit Solaris > > | Hi guys, > | > | I recently pulled the sources of tcsh 6.17.00 to build a 64bit executable > | for my Solaris box that has large-file support. I noticed that the current > | config file for Solaris boxes had been written for Solaris 2.6 without > | large-file support. Since recent Solaris releases such as Solaris 9, 10 as > | well as OpenSolaris have also BSDTIMES, I decided to add a new config file > | named config/sol29 to get tcsh compiled with these features. My patch can > | be downloaded from http://bugs.gw.com/file_download.php?file_id=73&type=bug . > | > | My compiler is Sun Studio 12 cc and the following call of configure did it: > | > | ./configure --prefix=/usr CC=cc CFLAGS="-fast -m64 -xO4 -xarch=sparcvis2 -xtarget=sparc64vi -xnolibmil -mc" > > Thanks! > Did you fix configure to detect those versions of solaris and use your new > config file? > > christos > Yes, I did, and also fixed configure.in, etc. Please see my patch file for all changes. Regards, Thomas Uhle From kimmo at suominen.com Thu Jan 28 22:17:16 2010 From: kimmo at suominen.com (Kimmo Suominen) Date: Thu, 28 Jan 2010 15:17:16 -0500 Subject: "jobs -l" gives "jobs: Too many arguments." Is this a bug? In-Reply-To: <5017f5a11001280655u5acd55acx68fa4dc6ed55f11@mail.gmail.com> References: <5017f5a11001270501y639b6c67o13bdb1a461dbdea2@mail.gmail.com> <5017f5a11001280655u5acd55acx68fa4dc6ed55f11@mail.gmail.com> Message-ID: Various Linux distributions do annoying aliases, I guess trying to be helpful, but really just causing havoc. My current unalias collection: unalias which unalias vi unalias l. unalias ll unalias ls It is just as bad to change shell settings. There are documented defaults to tcsh, and changing them in the global init files is just wrong. It makes the shell behave in unexpected ways, and that just results in bug reports. # # Red Hat Linux has this brokenly set to "euc" by default. # unset dspmbyte # # Red Hat Linux sets this confusingly to "$#" by default. # Mac OS X sets this confusingly to "%#" by default. # unset promptchars I wish the people packaging tcsh would hear this message... + Kim On Thu, Jan 28, 2010 at 09:55, Jason Quinn wrote: > You are correct. That didn't even occur to me. I know my .tcshrc file by > heart but it gets set in in a file that is sourced. > > Hat tip to you, > Jason > > > On Thu, Jan 28, 2010 at 9:11 AM, Kimmo Suominen wrote: > >> Most likely you have an alias created for jobs. >> >> ganymede:~> jobs -l >> jobs: Too many arguments. >> ganymede:~> where jobs >> jobs is aliased to jobs -l >> jobs is a shell built-in >> ganymede:~> >> >> Best regards, >> + Kim >> >> >