Change the color scheme of terminal

I would like to change the color scheme of the terminal so that it would show different color fro functions, classes, variables etc like in textmate. How do i get to do this

Are you talking about an editor that does syntax highlighting? That is NOT a function of the Terminal, but rather a function of the editor.
I know that both vim and emacs will do syntax highlighting, but both of those editors require some learning (or a lot of learning), however, there are a lot of professional programmers that will not anywhere with out their favorite editor.
If you just want code that displays a source code file on the screen with syntax coloring, but NOT edit it, you could use a script such as the following:
#!/usr/bin/env bash
# Shell script to start Vim with less.vim.
# Read stdin if no arguments were given.
if test $# = 0; then
vim -c 'so $VIMRUNTIME/macros/less.vim' -
else
vim -c 'so $VIMRUNTIME/macros/less.vim' "$@"
fi
This will give you functionality similar to the 'less' command (a friend of the 'more' command), along with syntax coloring.

Similar Messages

  • Is there any way to change the color scheme in a document in Pages?

    I have come from a PC using Publisher for a weekly newsletter and am trying to use Pages to accomplish the same thing.  i want to change the color scheme from week to week and have not found a way to accomplish this.
    I am currently using Word for Mac for this, but I would like to move over to Pages.  I'm playing with it some, but can't seem to find a way to change the color of the publication from week to week.  To change to another template all together would cause me to have to reinvent the wheel each and every week, and I'm not willing to do that.
    Adobe Illustrator is an option, but it looks mighty complicated to set it up...  And I've balked at the price tag.
    Any suggestions?

    Pages does not have Themes like Word.
    There might be other ways to achieve what you want by swapping master objects and changing colors of Styles. A bit more work but not horrendously more.
    You can name color swatches in the Color Picker so you could set up a set of colors there then update styles and objects systematically using those swatches.
    Illustrator would be an extremely poor choice for a Newsletter.
    Have a look at the new Swift Publisher 3 in the App Store, currently 30% off. They have added some very good tools that have brought it into a much more Pro usable form. Including many key features that Pages lacks.
    Peter

  • CLAF - How to just change the color-scheme of default laf of Oracle EBiz

    How to change the color scheme of the default oracle ebusiness suites laf?
    When we tried the CLAF UI, there is no option to extend the oracle-desktop.xss.
    It gives only the base-desktop (which is different from the default Oracle Ebusiness laf).
    Have anyone done this ?
    Any suggestions/help is appreciated..?

    the default LAF is Browser one and the OA personalization guide tells what we can't extend it.
    It reads so stupid what i was not able to believe it.. But seems true.
    When you need to make a simple modification and keeping the look and feel, you can't.
    I changed only one icon but you can't give blaf (even if you modify the extends property in the look and feel metadata.xml
    Had you try to copy all blafs styles in your BLAF ? (that could be a workaround even if is it not upgradable ?)
    Or, open SR ?
    Anyway, I'm interesting by an answer too.
    Regards

  • How do you change the color scheme in new OS?, How do you change the color scheme in new OS?

    How do you change the color scheme in the new OS?

    and what does apple says about this?

  • Change the color scheme?

    Is it possible to change the color scheme/UI on the iPod touch? Like how on the iPod its blue but on the iPad its gray.

    Sorry Not that I know of

  • How do I change the color scheme on my new Iphone 4s

    I accidentally changed the color scheme of the new 4s I purchase, I mean everything inluding the look of apps and thier colors.
    It makes my pictures I take look all screwed up...they all look almost Sepia and like an exposed role of film.
    How do I change the color scheme back to the original settings?

    You seem to be referring to more than the background wallpaper for the home screen.  There are no "color scheme" settings in the phone - you may have activated white on black used for the visually impaired.
    Settings > General > Accessibility > White on Black >OFF

  • HT2513 Is it possible to change the color scheme of a Microsoft Exchange calendar in iCal?

    My Exchange account is running 2007 version software.  I tried Control+Click and Go To Info (like I do for my iCloud calendars), but the Info menu does not pop up.  Any ideas why?

    Make a Shape > Inspector > Graphic > Tinted Image Fill > Scale to fit > browse to image > click on the color patch to change the color to what you want
    or
    Drag in an image > overlay it with a Shape > select the color for the shape and change its Opacity
    Shapes may have Gradient and Advanced Gradient (multiple colors) fills both linear and radial. Both are in the Graphic Inspector as is Opacity.
    Peter

  • I would like to know how to change the color scheme of my tabs. They are dark grey with a lighter grey print and are hard to read. How do I make them different colors?

    When I open Firefox, the tabs for the homepages are dark grey and the print is a lighter grey but they are hard to read. How can I change the color of these tabs and fonts?

    This is a customer to customer forum, so this is not the place.
    What is going on with your account? maybe we can help you.

  • On a previously created form, how can I change the color scheme?

    Our business has a previously created application form that has the title of each section in a purple bar and we would like to change the color of each divider bar. How do we change this?

    You would normally make revisions to the source document (InDesign, Word, etc.), create a new PDF, and in Acrobat replace the old pages with the new. Any fields, links, bookmarks, code, etc. will be retained. The point is changing colors of things in Acrobat is not something it's intended to do.

  • Can I change the color scheme on my iPhone?

    Is there a way to change the color sheme on the ios7?

    what is the official answer of apple about this question?

  • New User Here: Changing the color scheme of console

    Hi there...
    My name is Zia and I am from Pakistan. I am primarily a Ubuntu user. But I needed a lightweight console-only operating system specifically for some work in Intel Assembly and a few other things which do not need X. Someone told me Arch was what I was looking for. So I installed Arch base as guest on VirtualBox and so far, it is impressively. It is running on mere 128M physical and 4GB pre-allocated HDD with very nice results. I did hack away with a few things and set the basic configs up myself. That's no big deal since I have a little background knowledge of how Linux works, from my experience with Ubuntu. Ubuntu, however is a little more resource hungry so I am going for Arch on VM.
    Enough with my boring chatter. I am here to ask help. Please direct me.
    The console looks pretty boring. I changed the console font while installing and I think I can change it again in /etc/rc.d if I want, but the font looks good. The major problem is colors. I googled it and there are plenty of threads specifying how to change the background/foregriund colors of TTY. But that is not what I want. You see, when I list the contents of the directory, I want all the sub-directories to be listed in blue, all the executables in green and rest of the normal files simply white or grey, whatever... The problem is, I am not sure how I would do that.
    Someone at some thread mentioned an .Xdefaults. I didn't come across such a file tampering with my Ubuntu box so naturally I am not familiar with it. If that is what I need to master before in order to get what I want, I shall need links or on-thread help, please.
    Thanking in anticipation. Zia
    EDIT: I have not installed X. Just the base system with samba and a few other things. Should the .Xdefaults still control the console colors? I am not talking about the terminal inside X. I am talking about TTY.
    Last edited by zia.newversion (2011-01-17 20:33:57)

    echo "alias ls='ls --color=auto'" >> ~/.bashrc
    That will append the alias mentioned in post 2 to your .bashrc which is where aliases are stored (you should run this as user for user's bashrc and root for root's bashrc). You will need to logout or issue
    source ~/.bashrc
    to get it to work.
    For example I've aliased ls to ls -sh to give me file sizes
    edit: fixed typo
    Last edited by SS4 (2011-01-17 21:39:35)

  • How to permanently save the color settings in terminal.app

    Hi,
    I have configured the "ls" command in the terminal.app to give colored outputs. However, I realised that for some reason the color-set used is designed for a light-colored background. When I use "white on black", the default blue color of the directories is almost invisible.
    Of course, I can change this to another color, but this problem is true for all "blue" fonts, so for example, the default color for comments in vim is also blue and thus unreadable with black background.
    This is not a problem when I use the xterm in X11. The color set there is much lighter and is perfect for a black backgound.
    By drag-and-drop method (drag the chosen color on top of the directory texts in terminal), I am able to alter the blue color to a much lighter version. This apparently changes all fonts that is blue (this includes for example vim comments), and is exactly what I wanted. But I cannot figure out a way to save this as default. Clicking "Save setting as default" button in the inspector does nothing, the new terminal window still gives you this dark blue.
    Anyone know how do I do this?
    Cheers,
    Lianheng

    Hi Nils,
    Thanks for the replies.
    I think I see what the problem is: basically the colors in the terminal are darker than that of the xterm in X11. This can be clearly seen from the vim. May be this is to do with the fact that apple terminal.app has a "better" color support?
    I quite like the default LSCOLORS settings, which is:
    LSCOLORS=exfxcxdxcxegedabagacad
    The color settings in X11 is just perfect for me at the moment. It would be so much nicer if I can make the color scheme in terminal.app look like that of the X11. If say, I change LSCOLORS to
    LSCOLORS=gxfxcxdxcxegedabagacad
    and change the color schemes in vim to a lighter theme, but this will effect the colors in X11 too, which is perfect now. Cyan will look too light in X11.
    At the first I thought by drag and dropping the colors into terminal it will alter its color map. So my question was actually how can one (if it is possible) change the color map of the terminal.app, so that it inteprets the ANSI "blue" slightly differently.
    By the way, the way that you can see all colors in vim is really neat! Thanks for that tip.
    Cheers,
    Lianheng

  • Changing default color scheme when exporting ALV report to Excel spreadshee

    Hi all,
    We have a bunch of FI reports created using OOPS in abap.  Each of the reports has the functionality to be exported to an excel spreadsheet.  When exporting to Excel, the headers are a very dark brown color, making them difficult to read and it has been requested that they are shaded a lighter color.  I have not defined any sort of color scheme within the report itself, and I was wondering if there was a way to change the color scheme when exporting the report to excel.  Let me know if there is anything that can be done, thanks!

    check ur fcat

  • How do I change the colors of this image?

    I want to change the color scheme of this image, not just re-color it one color.  I have the original file, this is just the shutterstock preview image. I'm a beginner with Illustrator.
    Any tips would be much appreciated! Thanks

    Select it, and click the Recolor Artwork button in the Options Bar.

  • How can I change the colors of this image?

    I want to change the color scheme of this image, not just re-color it one color.  I have the original file, this is just the shutterstock preview image.
    Any tips would be much appreciated! Thanks

    colored image like this one, the Hue/Saturation function can be used to alter specific ranges of colors.  For example, altering the Hue and Saturation of Cyans and Yellows...
    -Noel

Maybe you are looking for

  • Delivery address change in third party PO

    Hi all, There is a requirement that the user should be able to change the delivery address in a third party PO. The process is like SO is created with TAS item category which will create a PR with "S" item category and subsequently the PO with respec

  • Help with creating a method within a class

    I need help creating another method within the same class. Here is part of my progam, and could anyone help me convert the switch statement into a seperate method within the same class? import javax.swing.JOptionPane; public class Yahtzee      public

  • What's the benefits of Illustrator CC over Illustrator CS3 for print design?

    What's the benefits of Illustrator CC over Illustrator CS3 for print design? I'd like to know the advantages and features – all those I read about are to do with EPUB, collaborative working, teams or digital designs, and those don't reflect my work.

  • Appending a dynamic where clause in VO

    Hi All I am trying append a where clause dnamically to a VO The query is SELECT DISTINCT pvsa.org_id AS OrgId, GECMPoVendorsEO.VENDOR_ID AS SupplierId, GECMPoVendorsEO.VENDOR_NAME AS SupplierName, GECMPoVendorsEO.STANDARD_INDUSTRY_CLASS AS StdIndustr

  • Having trouble with finder????

    ok i have two accounts on this mac both have administrative rights, i use mine and i can get into the other so heres the problem i log in and everything is fine then sooner or later the finder just wigs out, buttons start to disappear like the back,