Slackware :: No Value For $TERM Variable
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
ADVERTISEMENT
Oct 10, 2010
I just upgraded to 10.10, I use Tilda (terminal client) on my desktop but now when I type "clear" it says "TERM environment variable not set." instead of clearing the screen. Also commands like "tree" does not show folders and iles in color like they did before upgrading.
View 4 Replies
View Related
Jan 5, 2011
I want to get the last term of an unknown-sized text line, by usig the awk command. Is there any variable which points to the last term of a text line ? (obviously, y can obtain that term if i knew how many terms does the line have... i.e. awk '{print $12}' ; if we are talking about a 12-terms text line) I wonder if there is an option like $?, to get the last term.
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
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
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
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
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
Jan 24, 2011
I am new to Red Hat Enterprise Linux and now i'm supposed to practice gnuplot especially png. I downloaded 1 gnuplot i saw from internet and i couldn't able to set term to png. I think i'm supposed to run gnuplot 3.7. how to install gnuplot v3.7?
View 1 Replies
View Related
Aug 21, 2009
I'm trying to read content of file to variable and use this variable in for loop. The problem is, when I have c++ comment style in file - /*. Spaces in line are also interpreted as separated lines.
For example:
Code:
Changing $files to "$files" eliminate these problems but causes that whole content of variable is treated as one string (one execution of loop).
View 6 Replies
View Related
Apr 13, 2011
I wanted to add a repository so I took the steps of zypper ar -f ((repo directory)) and got:
Code:
zypper ar -f http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_11.4
If only one argument is used, it must be a URI pointing to a .repo file.
addrepo (ar) [options] <URI> <alias>
addrepo (ar) [options] <file.repo>
[Code].....
View 4 Replies
View Related
Feb 14, 2010
i'v heard it some where and i'm not sure what it mean is it ubuntu without ubuntu-desktop or without some more things?
View 2 Replies
View Related
Mar 18, 2010
I have several servers , I use the command "screen -R -T vt220" , it is ok to open another session to login , but I found that one server have probelm , even I use the same command , the display screen change , the line changed to question mark (?) , I tried to use vt100 , TERM but still not work ,
View 1 Replies
View Related
Mar 5, 2009
What is the long term support plan for CentOS 5.2 (or indeed 5.3)? We are interested in changing our machines away from Scientific Linux 4.5, because support is ending for that OS within 12 months. So we need to make sure that a new OS choice is going to have support for a number of years.
View 3 Replies
View Related
Feb 17, 2011
how to assign a local variable value to a global variable....
View 2 Replies
View Related
Apr 7, 2010
my script has a variable which comes in the form +00.00 +0.00 -00.00 or -0.00 (the numbers can be any in that form) for any that have a + symbol I need to remove the +, but if it has a - symbol it needs to stay.
i need to make a new variable with the string from the old variable btut without any plus sign. I have tried a lot of different ways with no success, each thing I tried either left the + or removed the entire string. I think this should work but doesn't
foo=+12.40
bar=${foo#+}
View 4 Replies
View Related
Apr 16, 2011
I am supposed to create an environment variable with the PRINTER variable, which should resolve to the word sales. Would the command be like this?: env PRINTER - NAME=SALES (is this the command to create that variable with resolving the word sales to it?)
View 3 Replies
View Related
Jun 10, 2009
I have a text file i that has a mailTo: NAME in it. In a bash script i need to extract NAME and put it in a $variable to use. How do i do this?
View 2 Replies
View Related
Apr 25, 2011
how I can search within a variable and assign the results to a new variable. I'll use the following as an example -
cars="Audi BMW Cadillac Chevy Dodge Ferrari Ford Mercedes"
list=`echo ${cars} | egrep -o '<A?+|<C+'`
with the echo command I get the following output assigned to list -
A
C
C
What I'd like to get for output is -
Audi
Cadillac
Chevy
how I could do this regardless of upper/lower case letters?
View 5 Replies
View Related
Feb 25, 2010
I would like to search for a term within a batch of text files and copy the files containing that term to a folder.
I've read the man pages for Grep, Ack-grep and looked through nautilus, dolphin, midnight commander as well as tried beagle, tracker and google desktop (and looked throught these forums).
I can do this function easily with xp's wagging dog in the Windows search, but would like to find a way in Linux.
View 5 Replies
View Related
Oct 20, 2010
I'm looking for a simple text editor which could highlight all occurrences of search term in the opened text file. This is a feature that I particularly like in the Windows Notepad++ editor where any selected word is automatically highlighted in the rest of the document.
View 5 Replies
View Related
Mar 7, 2011
I am trying to search for a term in a bunch of files. Is there a way to do this. I would like to search all the files in a directory and its subdirectories for a specific term.
View 1 Replies
View Related
Jun 14, 2010
What is a difference between TERM, TERMCAP, and TERMINFO? To connect to a linux server from a terminal emulator on a PC, is it necessary to set all 3 variables?
View 1 Replies
View Related
Jan 17, 2010
i have to agree the term of agreement before runing it becase i want to automate my installation with a scripti have already tried "yes | ./myfile " but the problem is the agreement is more than one page and i need to hit space couple of times .. so it's not working .
View 7 Replies
View Related
Aug 3, 2010
I need to set both my font size and my term ($TERM=vt220) from the command for a /usr/bin/terminal. Is there a way for me to do this?
View 2 Replies
View Related
Jan 23, 2011
So what is the term used when your web site is getting spammed from many different ip addresses, hits are minutes apart?
View 14 Replies
View Related