Slackware :: Tcsh - Unknown Colorls Variable 'ca'
Jul 27, 2010
I have been using tcsh for quite some time, both on a laptop running Ubuntu and a remote server running Slackware 11. No problem whatsoever. Now I am compiling and installing tcsh on a brand new Slackware 13 box and when I run tcsh I get this error:
Unknown colorls variable 'ca'
or
Unknown colorls variable 'hl'
I didn't have this problem in Slackware 11, why is it happening now?
So I tried the official Slackware package for tcsh. It works, but it's tcsh 6.15.00. Tcsh is at 6.17.00, which runs fine on my Slackware 11 box.
I investigated the problem on Google and all reports seem to refer to Fedora, some to Mandriva. Many of the threads, across several forums and sites, point to this LinuxQuestions thread:
[URL]
View 2 Replies
ADVERTISEMENT
Feb 4, 2010
I'm running Ubuntu 8.04.4 LTS to host a moodle server in a school.. moodle is running OK - but I'm having problems with MySql Any mysql command generates:
unknown variable 'pid-file=/var/run/mysqld/mysqld.pid'
I've taken a look in unknown variable 'pid-file=/var/run/mysqld/ and there is no mysqld.pid file I have followed these instructions that I found elsewhere:
If there�s no mysqld.pid inside /var/run/mysqld directory, create mysqld.pid
# cd /var/run/mysqld
# touch mysqld.pid
[code]....
But after reboot the mysqld.pid file is missing again.. I can access mysql via phpmyadmin - but webmin fails with unknown variable 'pid-file=/var/run/mysqld/mysqld.pid'
View 8 Replies
View Related
Oct 28, 2010
I'm not sure if I should post the whole script here (60 lines) but the script has a variable that occurs only three times, once when it's set and twice when it's referenced/read/expanded (not sure of the correct terminology)Anyway if I change the name of this variable from "maxdepth" to "findopts" the script throws the following error:
find: unknown predicate `-maxdepth 1'
But if I change the variable name to "maxIdepth" it still works? Here are the lines that this variable appears in:
maxidepth=('-maxdepth 1');
.
# other code, etc
[code]....
View 4 Replies
View Related
Apr 26, 2010
I compiled and installed a new visual traceroute program on my laptop running Slackware 12.1, the program is called GTrace. After an initial ./configure attempt, the program said that I had to install the JDK package. I installed <jdk-6u11-i586-1.tgz> and reconfigured, then make and make install, (I also added a required BerkleyDB <db-2.7.7.tar.gz> file to the install directory, as per the webpage instructions). Now when I try to run the program, it attempts to start ( a window appears onscreen and then just stops and sits there). I then ran the program in the command line and this is the output:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/GTrace/libdb/libdb_java.so: /usr/local/GTrace/libdb/libdb_java.so: undefined symbol: __gxx_personality_v0
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.sleepycat.db.Db.load_db(Db.java:248)
at com.sleepycat.db.Db.<clinit>(Db.java:263)
at com.sleepycat.db.DbEnv.<clinit>(DbEnv.java:173)
at caida.GTrace.GTrace.initGTrace(GTrace.java:444)
at caida.GTrace.GTrace.<init>(GTrace.java:271)
at caida.GTrace.GTrace.main(GTrace.java:1597)
I searched google for this error and found one user that had a similar output in another program, but after reading the other forum, I have no idea what they were talking about or how to fix this up. How I may overcome this JDK error to be able to run the visual traceroute program.
View 2 Replies
View Related
Jul 25, 2010
I'm setting my CLASSPATH in /etc/profile.d/jre.sh. In a login shelleverything is fine. In an xterm window, the CLASSPATH consists of two of every intended entry.In jre.sh I am doing aCode:export CLASSPATH=$CLASSPATH:/many/paths/to/jarsSo I'm guessing this is getting run twice in the xterm case. Can someone explain what's going on here and what I should do to remedy this?
View 12 Replies
View Related
May 16, 2010
I'm using Slackware64-current and everything is fine except by the $TERM variable. When I try to run sbopkg, for example, i get this error message:
Code:
root pedro # sbopkg
tput: No value for $TERM and no -T specified
TERM environment variable not set.
tput: No value for $TERM and no -T specified
[Code]....
View 6 Replies
View Related
Jan 30, 2010
Here is my example code that doesn't work:
find $HOME -type d -name "$WHATEVER" -exec rm -rfv {} ';'
$HOME works ofcourse. it's $WHATEVER that -name doesn't honor. Has to be a variable. I really don't see a way around it because $WHATEVER could be any number of things depending on the circumstance. I've also tried other things:
find $HOME -type d -name '${WHATEVER}' -exec rm -rfv {} ';'
Using backticks will process $WHATEVER but it tries to execute it as a command instead of processing it as an argument to -name....
View 11 Replies
View Related
Jan 10, 2009
I have problems with setting my JAVA_HOME variable. I am using Slackware 12.0, bash shell. This is a question for the 'Linux Newbie' forum (not slackware-specific).
I have set JAVA_HOME in my /etc/profile, like this:
But when I login in with my user name and type env on the command line, I get for JAVA_HOME the following:
Also, in my /etc/profile I have put the path to my java in the PATH variable, like this:
And when I type env when I login, then the PATH variable contains correctly the path to the jdk (as I have put it into /etc/profile).
I expect that after I have set everything as I want in /etc/profile, and restart the computer then what I have set will be relevant and when I login and type env, I will get values to the variables equal to those I have set in /etc/profile. Why it does not happen?
I have particularly a problem with a Java application, which I want to run. When I type ant, I get:
error: JAVA_HOME is not defined correctly. We cannot execute /usr/lib/java/bin/java.
View 1 Replies
View Related
Jun 5, 2011
I'm mainly asking beforehand so I won't have to shoot myself in the head twenty minutes from now. I suppose I'll find/figure out one way or the other anyway . Can I just source the 32dev.sh and then run sbopkg -i if the source for the package I want to create isn't 64bit capable? I might need to change the $ARCH variable to x86_64 too, right?
View 1 Replies
View Related
Nov 11, 2010
I have a problem when i ried run this command (export HISTTIMEFORMAT="%F %T ") on slackware 13.0. the answer is the following (-bash: HISTTIMEFORMAT: readonly variable) I am running this command on the bash like root.
View 2 Replies
View Related
Feb 12, 2011
I am trying to patch linux kernel 2.6.24.7 with drivers for via chrome 9, by guidance of this article:[URL].. the problem appears when I run command: make xconfig I have following errors CHECK qt
[Code]...
View 2 Replies
View Related
Feb 2, 2010
Is anyone else having this issue when running "su" after the latest batch of current updates? Every time I run su, I get the following:
Code:
configuration error - unknown item 'DIALUPS_CHECK_ENAB' (notify administrator) configuration error - unknown item 'NOLOGIN_STR' (notify administrator) I'm pretty sure this is related to the shadow package that was rebuilt on the last set up updates.
View 7 Replies
View Related
Jun 27, 2011
every here and there i enter a page where a box pops up:Additional plugins are required to display all the media on this page . After a number of steps I am at a page by Adobe, and I download what seems to be a generic package (Ubuntu will of course be there).But its instalation has never proved helpful. Still the same pop-up. Are there binaries for Slack or a way to get the sources?
View 12 Replies
View Related
Mar 18, 2011
IN 3.5.10 I am able to display the full $PROMPT_COMMAND environment variable in the Konsole title bar. Kind of handy and I did not need to display that information in the $PROMPT variable.
In 4.5.5 I am having trouble figuring out how to make that work correctly. The title bar displays only the directory name rather than the full path and user name.
This is my $PROMPT_COMMAND:
history -a;echo -ne "33]0;${USER}@`uname -n`: ${PWD}07"
All I see in the title bar is:
dirname: bash
I should see:
username@hostname: full path to present working directory
View 5 Replies
View Related
Jul 23, 2010
I tried to start a tcsh on my Fedora 7 (default shell is bash)
[ss@ssvm ~]$ tcsh
[ss@ssvm ~]$ echo $SHELL
/bin/bash
As you see, another bash shell started.
I looked at the tcsh file:
[ss@ssvm ~]$ ll /bin/tcsh
-rwxr-xr-x 1 root root 345348 2007-02-26 23:58 /bin/tcsh
[ss@ssvm ~]$ ll /bin/csh
lrwxrwxrwx 1 root root 4 2010-03-07 13:13 /bin/csh -> tcsh
It is not a link (but csh is). I don't understand why this is happening.
View 3 Replies
View Related
Apr 1, 2011
I'm so lost it's difficult to even pose my question. My default shell is bash; and I'd like [actually, required to] have the ability to type csh and enter the TC shell...but it's not working at all. All the changes I made to the ~/.bashrc file work great, but I can't seem to access tcsh to see if the commands in my ~/.tcshrc file work.
When I type "csh", my old PS1 [prompt] displays and I have to type "exit" to get back to the one in the bashrc file and then type "bye" to log out off the system.
I've spent the last 3 days researching this, but every article/blog/site discusses permanently changing my log in...NOT going to happen.
View 7 Replies
View Related
Jun 5, 2010
im a rookie at configuring linux and i have problem booting slackware 13.1 just installed. i get a message similar to this Kernel panic - not syncing: VFS: Unable to mount root fs on unknown- block(8,4) i got this one from another user who has a similar problem, they say i should fix lilo.conf and it actually was pointing to a wrong partition so i fixed it. i also fixed /etc/fstab to make it point to the right partition /dev/sda3. but after fixing the files, it still wants to load something in /dev/sda4, i dont know why so what should i do next, please explain with commands and not just words. edit this is my lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda3
[Code]...
View 12 Replies
View Related
Jun 13, 2009
I am going to write a function which will do different operation base on the data type of the input parameter.
I am using C (Pure C, not C++).
The problem is that I do not know how to get the data type of the input parameter in C Language.
Can anyone tell me how to do this.
View 8 Replies
View Related
Dec 16, 2010
When I do #./pdfedit.SlackBuil I get the information in the terminal:
[Code]...
Whether we want to checking PDFedit prepare-core-dev package ... yes Whether we want to checking build PDFedit gui ... yes configure: error: QTDIR environment variable must Be Set
View 3 Replies
View Related
Jun 12, 2010
I'm new with linux, and I'm wondering why in order to run executable after compilation I have to type
>"./executableName" I want it to type it just like
>"executableName" (with no "./")
I don't know if this matters but I'm using tcsh for my shell...
View 6 Replies
View Related
Jul 3, 2010
I really like pushd and popd, but I don't like their long spellings, so I made aliases: 'x' runs pushd and 'xx' runs popd. That's not bad, but I wish I could improve them in the following way:
x => If followed by a path, 'pushd' (and cd to) that path. If not given any arguments, run 'popd'.
xx => 'cd -'
The problem is implementing that pushd/popd in one command trick. Since tcsh does not have functions, I've been struggling hard to come with a solution. I made a script, and it works, but it only works within the context of the script. The script exits and not only am I still sitting in the same directory, but also my dirstack is emptied.
A similar problem: make 'cdd'. I remember using that program in DOS a long time ago. I would run 'cdd /path/to/directory' and cd to that path if it existed, or create it and cd to it if it didn't exist. Again, I made a script, but that only works within the context of the script, not my current shell. So the new dir is created, but my shell won't cd into it.
View 1 Replies
View Related
Aug 18, 2010
Recently, when we updated our OS, we got a new tcsh feature enabled by default. Whenever I type a command that tcsh doesn't recognize, I get an annoying spelling correction like:
% cats
CORRECT>cast (y|n|e|a)?
I want to disable this feature and allow misspellings to error out like:
% cats
cats: Command not found.
Is my enter key somehow getting re-bound? What could be causing this?
View 1 Replies
View Related
Feb 7, 2011
I just recently installed Ubuntu for our server, and I had a question about using tcsh. I'm trying to run a script of commands and the first line of my script is: Quote: #! /bin/tcsh -f I chmod +x my script, but when I type the name of my script at the command line i get this message: Quote: myscript: Command not found. the only way my script will work is if I type: Quote: tcsh myscript
Only then, will myscript execute its set of commands. I would like to be able to type the name of scripts without having to type tcsh at the beginning, each time. Is there a way to do that?
View 5 Replies
View Related
Jun 27, 2010
I'm trying to install a Brother MFC425CN printer on my Gentoo system. I have obtained the files needed from Brother and extracted the payload.
The script for creating the filter (endless echos) is a csh script, so I emerged tcsh and ran the script. No luck. CUPS does not see the filter, even though it is present and has the same owner, group, and permissions that work on my other gentoo system.
When I print a test page the log file says
Code:
E [27/Jun/2010:09:36:03 +0800] PID 3912 (/usr/libexec/cups/filter/brlpdwrapperMFC210C) stopped with status 22!
D [27/Jun/2010:09:36:03 +0800] [Job 8] /usr/libexec/cups/filter/brlpdwrapperMFC210C: No such file or directory
It's been too long since I got it working on the other system, and if I made notes they are lost...
View 1 Replies
View Related
May 7, 2011
The check on the size of a file I perform in a tcsh script does not work. The size of my file is the following :
ls -l File.gpg
-rw-r--r-- 1 xuo users 3354637392 2011-05-07 15:31 File.gpg
The script is the following :
#!/bin/tcsh -f
set listOfEncryptFiles = `ls *.gpg`
foreach file ($listOfEncryptFiles)
set fileSize = `stat -c %s $file`
echo $fileSize
[Code]....
View 6 Replies
View Related
Aug 11, 2010
Can't seem to use tcsh as my login shell under CentOS 5 as I used to (if I specify /bin/tcsh as my start-up shell, the windowing system doesn't come up), so am logging in under bash then switching to tcsh on top of that, but it won't allow display access from tcsh for my programs. Gives the "cannot connect to display" error that usually xhost + is the solution for, but xhost doesn't help in this case (won't even run under tcsh, says unable to open display "0.0"). $DISPLAY is set in .cshrc. Must be something simple, but can't seem to find a direction to head?
View 2 Replies
View Related
Apr 7, 2010
I need to find TCSH shell and gzip version number by running a acript on several boxes through ssh. How can i do that? I made a script for tcsh but it is not working by ssh , it only works on my box . I dont know from where to find the gzip version info.
View 5 Replies
View Related
Aug 5, 2011
I have written a tcsh script on a Windows 7 machine in order to perform a task on a machine running Fedora. After writing the script, I used cygwin to run it on the Windows 7 machine, and it worked exactly as intended. Then I moved it to the Fedora machine, and I got the following error:
Code:
While: badly formed number
Here is the beginning of the script:
Code:
#!/bin/tcsh -f
##
## Script to automate loading of A2 DAQ systems
##
##
[Code]....
Before the error, I see the string "This program will attempt to automate the DAQ Control process", but not "Please enter the number of the current or most recently completed run: ", so clearly the problem begins at the first "while"
View 3 Replies
View Related
Jun 23, 2011
I want to write script at "tcsh" that send message to user ($DISPLAY) and let him to answer me.below command line that open xterm at any user displayQuote:setenv LESS "P'HIT q TO QUIT'"/usr/bin/xterm -display $USER_DISPLAY -geometry 60x7 +sb -rv -e less ./MESSAGE_FILEpressing "q" will close the window.there is any way to press "r" ->
new window will open ->user write a feedback ->message will send back to sender.
View 11 Replies
View Related
May 5, 2010
I tried posting this before and I'm not sure what happened but I don't think it worked, so if it did please forgive the double post.am very very new to centOS and linux in general. I just want to setup a test web server that more closely mirrors our actual web server that is hosted by rackspace. I've installed centOS and tried to setup Apache, PHP and MySQL from a guide on the web using Yum. When I go to localhost in the web browser I'm able to see the default apache page. However when I create a php page it's just blank.When I look at the apache error logs I get this: PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
I've been searching alot on the internet and I know the issue is permission related, but I don't know how to fix it. I've seen some forum posts that say you need to use the chmod 775 command on the /var/www/html folder.Currently when I do ls -l /var/www/html it returns
-rw------- 1 root root 19 May 5 13:16 index.php
-rw------- 1 root root 19 May 5 13:15 index.php~
I'm sure that this isn't correct but like I said I don't know much about how to set permissions or who the owner needs to be. I've done alot of searching and seen similar posts, but no one seems to explain it clearly.
View 2 Replies
View Related