Slackware :: What Viewer To Use For Viewing Man Pages With Syntax Highlighting
Nov 30, 2010Is there a utility or method enabling easier navigation (keyword search, hyperlink etc) or color/syntax highlighting when viewing man pages?
View 7 RepliesIs there a utility or method enabling easier navigation (keyword search, hyperlink etc) or color/syntax highlighting when viewing man pages?
View 7 Repliessyntax on , is in ~/.vim file but still not syntax higlighting in vim a.cpp.Why?
View 3 Replies View RelatedI 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 View RelatedI 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
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 RelatedThe 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 RelatedI'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.
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]....
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
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 RelatedI'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)?
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 RelatedI'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 RelatedSuppose when I install squid proxy server Can I view the web pages visited by a particular user/machine in a particular session? I think we can analise the information by the log files of squid. But can I view the page(static)?
View 6 Replies View RelatedI have succeeded in using Remote Desktop Viewer to make a VNC connection to a remote WAN computer and it was quick enough to manipulate the remote computer in real time.I found the host name by getting the remote target computer to put the following url into a browser - http://www.showmyip.com/ - It returned the address for the router which I put into the Host: text entry box in the Remote Desktop Viewer window. E.g. for my computer at the time of submitting my enquiry the address was 'host81-129-54-226.range81-129.btcentralplus.com'.The remote router that I connected to needed to have the port 5900 forwarded to the remote target computer.I now want to progress to running VNC through a SSH tunnel for additional security. In the Remote Desktop Viewer there is a configuration line
'use host' <text box to enter host name> 'as a SSH tunnel'.What is the correct syntax to enter in the text box? It would help my understanding if you used the example address above as a basis for a response.Many unexpected connection attempts reported on my router, if that was you, thank you for the novel way in responding to the question and providing the syntax.The 'bible' on syntax appears to be found here:- http://unixhelp.ed.ac.uk/CGI/man-cgi?ssh+1
Firefox is crashing whenever I go to a page with a java applet such as this one [URL]... I get the following output in the command line:
GCJ PLUGIN: thread 0xb5e191f0: NP_Initialize
GCJ PLUGIN: thread 0xb5e191f0: NP_Initialize: using /usr/lib/classpath/gappletviewer.
GCJ PLUGIN: thread 0xb5e191f0: NP_Initialize return
GCJ PLUGIN: thread 0xb5e191f0: GCJ_New
GCJ PLUGIN: thread 0xb5e191f0: plugin_data_new
[Code]...
I'm doing a bit of housekeeping and tidying up of programs I no longer need/use, and as some of these were installed using sbopkg I thought I would also tidy those. However when attempting to view obsolete sources via the utilities sub-menu, sbopkg seems to crash to a cli interface from the ncurses one and spews continuously the error below. This thern continues until I CTRL+C the process which of course then leaves the sbopkg pid file still showing active in /var/run. Anyone else come across this, and a possible way to prevent it.
/usr/sbin/sbopkg: cannot make pipe for command substitution: Too many open files
stty: standard input: Bad file descriptor
/usr/sbin/sbopkg: line 569: read: read error: 0: Bad file descriptor
stty: standard input: Bad file descriptor
/usr/sbin/sbopkg: redirection error: cannot duplicate fd: Too many open files
how do you clear the highlighted results after searching in elvis and other text viewer programs such as less?Also I know it's been mentioned before, but why does pat prefer elvis to vim? Just a personal preference?
View 9 Replies View RelatedThere are a few very important man pages having UTF-8 translations. Those UTF-8 man pages cannot be viewed unless a groff wrapper (http://www.haible.de/bruno/packages-groff-utf8.html) is also installed.
Please either remove those man pages or include that groff-utf8 wrapper in slackware.
[Edit] I believe removing those man pages is better since the translations are often incomplete and inaccurate.
I have compiled both gocr and subtitleripper from [URL] and I am running into a problem with one of the scripts run from subtitleripper: pgm2txt. The error is:
Code:
andrew@skamandros~/Desktop/Labyrinth/subtitles$ pgm2txt -f en fauno
/usr/bin/pgm2txt: line 165: unexpected EOF while looking for matching `"'
/usr/bin/pgm2txt: line 179: syntax error: unexpected end of file
Support for this program is not available and development has ceased a while ago so I have had a look at the script itself and I cannot see the error in syntax.
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.
The scrollbars you see around the form do not show up on Firefox on Mac or Windows, and don't show up in Opera.Why is Firefox on Slack displaying pages in a slightly different manner?
View 14 Replies View RelatedI upgraded from 13.0 to 13.1 and now I have strange behaviors with the printer. It is an Epson Stylus Photo RX640. It was working well with the vanilla Gutenprint 5.2.2 that came in Slack 13.0. The printer is shared and used from other slackware boxes and a mac. Upgrade to 13.1 (gutenprint gets to be 5.2.4) ...
Now when I print from the machine that has the printer attached I get full black pages, and cups shows errors. The Mac is still able to print well (probably because it is using its own PPD and passing through directly to the printer). I then removed gutenprint, and then removed the 5.2.2 PPDs (that were still in the system). Reinstalled gutenprint from the Slackware 13.1 distro. And the problem persists.
[Code]....
I have a Cent OS 5.4 32 bit final installed in my dedicated server.
I used to run lighttpd with php in my server until now and all was fine.But yesterday I changed my website which needs apache to run. So installed apache using yum install httpd command.
Then I added the virtual host name of my domain in webmin panel but when i try to run my php script in browser then its not opening php pages.
Instead it downloads php files like index.php when i open in browser.So I guess apache is not able to compile and run php pages. Only html pages are opening right now..
when i input man <cmd>.....it's saying formatting pages....n then it is displaying blank page.
View 6 Replies View RelatedI 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.
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 RelatedAll of a sudden all the text in my vi editor is highlighted. I have no idea how this happened.
View 2 Replies View RelatedI'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 RelatedWhen I highlight a line in an Open Office doc, I can't find a way to UN-highlight it. Am I missing something obvious
View 4 Replies View Related