Debian :: Can't Get Work Terminal Syntax Highlighting
May 6, 2010
I can't get work terminal syntax highlighting for other users then root.To get the same result I've created /home/user/.bashrc and added the above options.I've also tried to override LS_OPTIONS in system-wide: /etc/bash.bashrc.In all cases is the highlighting working only for root.
View 1 Replies
ADVERTISEMENT
Mar 30, 2011
I have installed FEDORA 14 in my machine. I am not able to have the syntax highlighting in the xemacs. I tried a file.f90 for a FORTRAN 90 program . I tried to flag the syntax highlighting in this buffer without success.
Code:
rpm -q xemacs
xemacs-21.5.29-15.fc14.x86_64
View 2 Replies
View Related
Jun 24, 2010
syntax on , is in ~/.vim file but still not syntax higlighting in vim a.cpp.Why?
View 3 Replies
View Related
Aug 20, 2010
I'm working on reorganizing my .bashrc. I moved my aliases to .bash_aliases (which is sourced by .bashrc, but I can't figure out how to enable syntax highlighting for this file. vim seems unable to figure out what language the file is in. It works fine for .bashrc.
View 2 Replies
View Related
Jun 8, 2010
The site that used to host the language spec file for .erb/.rhtml for ruby/rails syntax highlighting is no more.If someone could attach the file for gtksourceview-2.It's located in /usr/share/gtksourceview-2.0/ language-specs/ and probably called rhtml.lang
View 2 Replies
View Related
Nov 9, 2010
I've been battling with this weird problem for a while now and since I can't seem to find a decent answer I'm hoping one of you guys can steer me in the right direction. The problem is simple... syntax highlighting is not working consistently on ".rb" files.
My user name on my Ubuntu 10.04 LTS is jean-marc. So if I do
touch /home/jean-marc/testing.rb
and then
gedit /home/jean-marc/testing.rb
The file comes up as "Plain Text"
If I copy the file into /tmp/ and do gedit /tmp/testing.rb
the file comes up as "Ruby"
If I do
gedit /home/jean-marc/afile.rb
and the file does not exists the file comes up as "Ruby"
If I manually set the Syntax Highlight mode on my file gedit seems to remember it. Since most of the files are generated through scripting they all come as "Plain Text" and it's definitely not the best way to edit them. Also, the files, no matter where they are show up as "Ruby script (application/x-ruby)" when showing the attributes through nautilus. Now, before someone tells use, use this software or that software instead of gedit, well I'm happy with the tool and its plugins. I'm efficient with it and I'd rather stick to it.
View 4 Replies
View Related
Sep 10, 2010
On this Red Hat Box that I am using there is no .vimrc file for the user root. So, I created one and entered only one line to highlight syntax with colors when I am writing scripts in PHP and Bash. But it is not working.
Code:
[root@localhost ~]# cat ~/.vimrc
syntax on
[code]....
View 6 Replies
View Related
Nov 30, 2010
Is there a utility or method enabling easier navigation (keyword search, hyperlink etc) or color/syntax highlighting when viewing man pages?
View 7 Replies
View Related
Mar 20, 2010
How can I tell emacs that a file type that it doesn't recognise should have the same syntax highlighting as one it does?
Xfig produces .pstex files which I want to be highlighted like .ps/.eps
View 2 Replies
View Related
Apr 25, 2011
I know it's possible to change the $ user@hostname colors, but is it possible to color different things? Could I make all numbers/integers a certain color. Or set certain keywords to be bold?
View 1 Replies
View Related
Jan 10, 2010
I'm using a dark theme (Obsidian Coast) which is making things a pain to read using the default LaTeX syntax highlighting and color schema of Kate. I can edit the schema just fine, but that does not affect the colors of certain highlighting features, such as the color of expressions which fill in the ellipses of "section{...}", which turn out black or "egin{...}" which turn out dark blue.
Is there any way to fine-tune the highlighting features of a particular kind of markup (LaTeX in my case)?
View 5 Replies
View Related
Jul 27, 2011
I am looking for a text editor that does 1) syntax highlighting2) code folding3) it would be a bonus if I could set which macros were defined and it would show me the source I have tried geany, and codeblocks. Both incorrectly code fold around preprocessor #ifdef and #endif. The gedit plugin doesn't seem to work at all
View 7 Replies
View Related
Jun 17, 2010
I've been looking though different editors for one that has good printing support. Ideally it should be able to print C++ code with line numbers, syntax highlighting, multiple columns per page, customizable fonts and sizes and a print preview feature so that I can make sure it looks right before sending it to the printer. It appears that notepad++ had at least some of these features, but it is not available on linux. The best I could do so far is to copy/paste the output of 'cat -n foo.cpp' into oowriter and format it into two colums. I don't get synax highlighting though and I have to manually replace tabs with a few spaces as well as some excessive leading spaces before the line numbering.
View 1 Replies
View Related
Mar 11, 2010
When I am adding removing packages to get more hard drive space, this is not the first time I left too many pages open and it crashes on me. My son would fix it by typing in the terminal sudo something, but I want to know how to do this. The only thing not working is the add/remove packages at the moment. Here is what it said, E:dpkg was interrupted you must manually run 'dpkg--configure -a' to correct the problem E: _cache-open()failed please report. Please, could someone tell me how to get the default back or whatever. When I type in the terminal, it refused my password until I tried several times, plus, it finally says in the terminal No such command. Bash. No such command. I am hoping this question is one you do recognize the answer for.
I tried using Yum to remove the package. Like this:
To remove or uninstall a package:
Code:
yum -y remove ,package name>
Terminal goes: Bash syntax error near unexpected token `newline'
View 3 Replies
View Related
Aug 3, 2010
I am pretty new to Suse Linux, coming from Sun Solaris. I have an issue with the "more" command. It highlights all the lines beyond the first terminal appearance; anyway I can kill this highlighting?
View 9 Replies
View Related
Mar 23, 2010
I am writing a code in bash script, in my ubuntu command terminal. The program should send the message, "Hello John!!" 5 times to john's terminal (assuming he is logged on to the server). But I keep getting this error: Syntax error: end of file unexpected (expecting "done").
#!/usr/bin/sh
clear
x=1 # this sets up the flag so we can have it send a limited amount
while [ $x -le 5 ]
do
write jdouglas << EFO
>Hello John!!
>EFO
x=$(( $x + 1 ))
done
View 1 Replies
View Related
Sep 24, 2015
After going Debian 8 (with Kali 2) I can no longer use my pre-defined tabs because apparently some genius decided that gnome-terminal no longer needs that kind of functionality (ie. tabs.)I really need my tabs back so I installed a pre 3.11 version that worked with tabs and profiles like this (see below) but that caused other problems.
Code: Select allgnome-terminal --tab-with-profile=Titleable -t "sami" -e "byobu" --tab-with-profile=Titleable -t "root" -e "sudo -i screen -dRRS sami" --tab-with-profile=Titleable -t "samimox1" -e "ssh root@samimox1 -t screen -dRRS main"
Can I install older gnome-terminal side-by-side the "new and improved" version? Or is there a way to get tab profiles to work with the new one?
View 7 Replies
View Related
Mar 3, 2011
I need to do some serial comms work and need an equivalent to hyper terminal on Debian. Does it exist?
View 3 Replies
View Related
Mar 7, 2011
When ever i open vim, i get the error that the following error: E484: Can't open file/abcd/configFiles/vim/syntax/syntax.vim There was a .vimrc file in my home folder that i have removed.
Still i keep getting the same error. Presently in my home folder there is no .gvimrc or .vimrc file.
But still i keep getting the same error. I am not too sure where this file is mentioned.
Background info: The SHELL has been changed from tcsh to bash Earlier i had created a .vimrc file in tcsh, i have removed the .vimrc in bash SHELL.
View 1 Replies
View Related
Sep 24, 2010
I cannot find how to set VIM so that it higlight syntax (for exapmle bash scripts). I installed VIM package by using aptitude, but I dont have file .vimrc in my home directory. I found out that settings have to be written in this file. I can use command in VIM :"syntax on" but VIM shows syntax terrible. I think that is cause by some color setting.
View 12 Replies
View Related
Apr 20, 2011
I am a Novell (now defunct) CNE tring to learn Linux and am having a lot of trouble finding out where the WB 6-6 is wrong in the syntax for adding local4... the the syslog-ng config file. In the instructions there are discrepancies between commas and simi-comma, they are both in the statements in no particular order. there is no pattern to them. Here is what the book shows:
filter f_local4debug { level(debug) and facility(local4); };
When I try to input this in the Gnome terminal window to try and find out where it goes wrong I get the following: -bash: syntax error near unexpected token "(" If I can get the correct syntax I belive I can use the info to get past the rest of this portion of the lesson. I am desperate to learn Linux as the only jobs out there for a Novell CNE are migrations to MS, which really sucks, since MS really really sucks.
View 1 Replies
View Related
Oct 22, 2015
I can't figure out the syntax on the apt-cdrom command.
My CDROM is flaky, but have a portable CDROM attached to a usb.
Here's the output of lsusb:
Code: Select allroot@home:/etc/apt/apt.conf.d# lsusb
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 04b3:310b IBM Corp. Red Wheel Mouse
[Code] ....
Here's the output of df:
Code: Select allroot@home:/etc/apt/apt.conf.d# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 464279312 4089292 436582932 1% /
udev 10240 0 10240 0% /dev
tmpfs 1619088 9132 1609956 1% /run
tmpfs 4047716 164 4047552 1% /dev/shm
[Code] ....
Here is my modified fstab:
Code: Select allroot@home:/etc# cat fstab
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
[Code] ....
Here is my configure file:
Code: Select allroot@home:/etc/apt/apt.conf.d# cat config.usb.cdrom
Acquire::/dev/sr1::/media/bill;
Here is my command and output:
Code: Select allroot@home:/etc/apt/apt.conf.d# apt-cdrom -d=/media/bill -c=config.usb.cdrom add
Using CD-ROM mount point /media/bill/
Unmounting CD-ROM...
Waiting for disc...
Please insert a Disc in the drive and press enter
[Code] ....
There must be something simple that I have missed.
View 2 Replies
View Related
Apr 23, 2016
I have currently configured Postfix as an SMTP server. I would preferably not use a domain name in my email address, like so: myname@[1.2.3.4]
I'm currently testing to see how other mail servers handle this kind of address. When I sent a mail with one one of my gmail accounts, I see that the mail gets rejected due to bad syntax.
It seems as though Google is giving me a RCPT TO address like so: myname@1.2.3.4 However, the postfix server rejects this address with the following error:
501 5.1.3 Bad recipient address syntax
To my best knowledge the only way to have an IP address inside an email address with to write it as a domain literal [1.2.3.4].
My question: how to configure postfix to accept myname@1.2.3.4 as well?
I have put both [1.2.3.4] and 1.2.3.4 in "mydestination" and 1.2.3.4 in "virtual_alias_domains".
It doesn't seem to work so far though.
View 1 Replies
View Related
Sep 15, 2010
So I was reading this thread on internet privacy and decided to 'upgrade' my system. I installed privoxy and tor and chained them from squid so it looks like this: iceweasel >> squid >> privoxy >> tor. All is working well except when I go to edit my privoxy default.action file I get a fatal error. I've got version 3.0.9-1 The original line in the newly installed default.action file. #+hide-referer{forge}
I edited it by simply removing the #. +hide-referer{forge} Then:su -c '/etc/init.d/privoxy force-reload'And I get this in the logfile.Sep 14 16:41:36.260 Privoxy(7f4fa64756e0) Fatal error: can't load actions file '/etc/privoxy/default.action': first needed line (361) is invalid: +hide-referer{forge} I've even copy/pasted from the manual and to no avail.Have I been looking at to much text for the last two days?What am I missing?
View 1 Replies
View Related
Feb 29, 2016
I mainly use debian jessie , recently i have installed daragora as my second os to get a feel of gnu/linux . the problem is that dragora uses bash , and it's commands are different from debian jessie terminal is there a way that i can use the same commands here in dragora?
View 4 Replies
View Related
Jan 24, 2011
gnome-terminal from the Debian squeeze does not use the 'default_size_columns' and 'default_size_rows' from the /apps/gnome-terminal/profiles/Default/ folder of gconf.
View 6 Replies
View Related
Jan 15, 2011
I'm looking for some information about termcap and terminfo... I've got some, but the problem is that some things confuse me... I thought every terminal and terminal emulator should be there, but many of the terminal emulators I use are not there.. Is this different between distributions?
View 14 Replies
View Related
May 12, 2011
I have OpenSuse 11.4 with KDE 4.6.2 in my laptop. The version of Kile I am using is 2.0.86. I would like to change the bracket highlight color from Black to Yellow (In previous version of Kile it was yellow). I have found no option to change the bracket highlight color in settings -> configure kile. The documentation says that it is possible but does not mention how. Can anyone help me in this regard ?
View 3 Replies
View Related
Mar 31, 2011
All of a sudden all the text in my vi editor is highlighted. I have no idea how this happened.
View 2 Replies
View Related
Dec 14, 2010
I've noticed that when running an mtr (my traceroute) that sometimes some of the hops would light up. It will flash for about half a second then return back to its normal colour.I've search the net, but have not yet found an explanation as to what it means.
View 1 Replies
View Related