09-03-2013
echo does not interpret escapes on most systems!
Try printf. You'll need to add \n at the ends of strings.
This User Gave Thanks to Corona688 For This Post:
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Hello, I am somewhat new to linux. I just installed Red Hat 7.2 and when I try to load gnome or KDE in colors above 8bit it will kind of lock up and display some wierd scrambled cable look. I have an ATI Radeon 7000. I check out my monitor settings they are fine. Is it the graphics card? I set my... (1 Reply)
Discussion started by: Sage3k
1 Replies
2. Solaris
Guys i used to the black background in BSD, now im using Sun Solairs, how can i change the background and font colors in console ?, i heard about setterm but i didnt get the right syntax, any ideas ? (5 Replies)
Discussion started by: XP_2600
5 Replies
3. Linux
what dog gone file is setting these colors! i dont see it in bashrc or bash_profile!! anyone know?
alias cp='cp -i'
alias l.='ls -d .* --color=tty'
alias ll='ls -l --color=tty'
alias ls='ls --color=tty'
alias mv='mv -i'
alias rm='rm -i'
alias vi='vim'
alias which='alias | /usr/bin/which... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
4. UNIX for Dummies Questions & Answers
Hey guys,
When I used a Solaris box way back I had directory, file , symbolic link colors, etc... I can't seem to find the .dircolors file and how i set it up for bash on Solaris... anyone remember how to do it?
Thanks! (2 Replies)
Discussion started by: kingdbag
2 Replies
5. UNIX for Dummies Questions & Answers
Is there a way with the bourne shell to have different types of files show up a different color when you do ls? (1 Reply)
Discussion started by: resullivan
1 Replies
6. Shell Programming and Scripting
I want to use
notify_fail ()
{
echo " " >> ${MSG}
echo " Script failed n">> ${MSG}
cat ${MSG}|mailx -s "t1.ksh Success: "name@domain.com"
exit 1
}
I want script failed to show in Red or different colors in the email that i sent to name@domain.com
I serached several sites and also... (1 Reply)
Discussion started by: konark
1 Replies
7. HP-UX
I am using xterm on my HP-UX system (11i). Color is working in xtrem, i can see that with the -color option on ls. When I use vim's syntax high lighting, instead of colors, it uses underline and bold (which looks horrible). I added the following
if &term =~ "xterm"
if has("terminfo")
... (2 Replies)
Discussion started by: kheisler
2 Replies
8. Shell Programming and Scripting
cat a | awk -F";" '{print "update db set column=' "$2" ' where column1=\""$1"\";"}' > ip-add.sql
Hi! I'm a new user!
i need to use single quote in the double quotes print string
The apex between che "$2" should not be interpreted, but....how?!
I'm trying to use \ but don't work correctly!
... (4 Replies)
Discussion started by: Re DeL SiLeNziO
4 Replies
9. Shell Programming and Scripting
Heya
I have modified $HOME/.config/user-dirs.dirs to my like and the variables are properly 'structured' (XDG_XY_DIR="$HOME/YZ").
Now since i wrote a script to do that part, i currently stuck at the part to create a new .gtk-bookmarks file.
Regarding code snippet: (bold part beeing... (2 Replies)
Discussion started by: sea
2 Replies
10. Programming
I am using ncurses to develop a user interface. Perhaps I should be using something else, but I am reasonably comfortable with ncurses and don't really want to climb another learning curve at this time.
One problem I have dealt with for many years is ncurses' colors. I have simply been... (23 Replies)
Discussion started by: BillLee
23 Replies
gitfm(1) General Commands Manual gitfm(1)
NAME
gitfm - GNU Interactive Tools File Manager
SYNTAX
gitfm [options] [path1] [path2]
DESCRIPTION
gitfm is a file system browser with some shell facilities which was designed to make your work easier and more efficient.
The GNUIT package also contains gitps, an interactive process viewer/killer and gitview, a hex/ascii file viewer.
More extensive documentation on gitfm and the other gnuit tools is available in info format, try 'info gnuit'.
OPTIONS
A summary of options is included below. For a complete description, see the Info files.
-h Show summary of options.
-v Show version of program.
-c Use ANSI colours.
-b Don't use ANSI colours.
-l Don't use last screen character.
-p Output the final path on exit
NOTE
The main configuration file of the GNUIT package is gnuitrc.TERM where TERM is the value of the environment variable 'TERM' e.g for Linux
console your environment contains something like 'TERM=linux' so the configuration file name is gnuitrc.linux. You can (and should) have a
configuration file for each terminal type you use. If you customise git, the version of the config file in your home directory should have
a leading ".", eg .gnuitrc.linux.
FILE-SYSTEM BROWSER
gitfm is made of two panels. The left one and the right one. Each one contains a file system directory. You can browse the directory tree
with the usual cursor keys and pressing ENTER when you want to enter or leave a directory. You may change the panels by pressing TAB. See
also BUILT-IN COMMANDS.
INPUT LINE
Under the two panels there is a shell like input line which you can use to type normal shell commands. The input line supports unlimited
characters and keeps a history of the typed commands. gitfm uses the GNU history library for that. See also BUILT-IN COMMANDS.
WARNINGS AND ERRORS REPORTING
Under the input line there is a status bar. You can see there the status of the currently executed command, the warnings and errors and you
will be prompted if a decision has to be taken.
BUGS
Please send bug reports to:
gnuit-dev@gnu.org
SEE ALSO
termcap(5) terminfo(5) sh(1) ps(1) mount(8) umount(8) gitps(1) gitview(1) gitaction(1) gitmount(1) gitkeys(1) gitrgrep(1) gitunpack(1)
AUTHORS
Tudor Hulubei <tudor@cs.unh.edu>
Andrei Pitis <pink@pub.ro>
Ian Beckwith <ianb@erislabs.net> (Current maintainer)
gitfm(1)