[solved] vim color scheme not working in urxvt/screen

i'm using the 256 color scheme inkblot in vim.  It works great in urxvt alone.  But the background is messed up in screen.  Screen is able to display 256 colors.
Basically, the background it is supposed to set ends up being set for every line in which there is no text, while the lines that have text have an all black background.   This doesn't happen outside of screen or in other 256 color enabled terminals.
This happens with every theme that sets a background (or more specifically an off-black/dark-grey background.. i haven't tried a theme that tries another color background).
Last edited by scv5 (2009-06-20 20:15:35)

add "term screen-256color" to your .screenrc, that's the cleanest approach
That probably won't be enough for urxvt, see this thread for more information http://bbs.archlinux.org/viewtopic.php?id=50647

Similar Messages

  • [SOLVED] Vim color scheme

    Hello! This is my first post and I'm new with Archlinux, sorry if this trouble is very simple but I'm a newbie...
    The question... Vim color scheme only works fine when I use sudo or when I'm root...
    I've put the color scheme in /usr/share/vim/vim73/colors and in ~/.vim/colors, and I've configured /etc/vimrc and ~/.vimrc
    I don't know what's wrong...
    Correct color scheme (with sudo):
    Wrong color scheme (normal user):
    Thank you very much!!
    Last edited by Midnith (2012-03-27 11:58:48)

    Hi again!
    Kaustic wrote:
    There's your problem. xterm (as indicated by tput) only supports 8 colours.
    If you're using Konsole, check the configuration and change the session to xterm-256color. Alternatively can set the environment variable within your ~/.bashrc file like so: export TERM=xterm-256color
    It works! Thank you very much and sorry for the inconveniece
    Kaustic wrote:
    (PS: To list all the terminals you can use with 256 colours try the following command: (Iirc there was a cleaner way to do this, but alas)
    ls /usr/share/terminfo/*/* | grep 256
    The output:
    /usr/share/terminfo/E/Eterm-256color
    /usr/share/terminfo/d/darwin-256x96
    /usr/share/terminfo/d/darwin-256x96-m
    /usr/share/terminfo/g/gnome-256color
    /usr/share/terminfo/k/konsole-256color
    /usr/share/terminfo/m/mlterm-256color
    /usr/share/terminfo/m/mrxvt-256color
    /usr/share/terminfo/p/putty-256color
    /usr/share/terminfo/r/rxvt-256color
    /usr/share/terminfo/s/screen-256color
    /usr/share/terminfo/s/screen-256color-bce
    /usr/share/terminfo/s/screen-256color-bce-s
    /usr/share/terminfo/s/screen-256color-s
    /usr/share/terminfo/v/vte-256color
    /usr/share/terminfo/x/xnuppc+256x96
    /usr/share/terminfo/x/xnuppc-256x96
    /usr/share/terminfo/x/xnuppc-256x96-m
    /usr/share/terminfo/x/xterm+256color
    /usr/share/terminfo/x/xterm-256color
    How I put xterm-256color by default?

  • [SOLVED] vim color highlighting not correctly displayed in vc/tty

    For instance visual selection is set up to change fg/bg to black/green but changes fg to green. Under x using urxvt it displays correctly.
    Last edited by Noble (2010-07-26 21:22:19)

    I have written my own syntax highlight theme, post below. If you think your script could do anything about it after looking at the file please post But as I said, vim works fine in urxvt, but not when I switch out of X and run it in the vc/tty.
    :set statusline=#%n\ %y\ %F\ %r\ %=%c\ %l/%L
    :set hlsearch
    :set nocompatible
    :set noexrc
    :set number
    :syntax enable
    :set autochdir
    :set backup
    :set backupdir=~/.vim/backup
    :set directory=~/.vim/tmp
    :set autoindent
    :set ruler
    :set nowrap
    :set nocp
    :set scrolloff=5
    :set sidescrolloff=5
    :set fileformats=unix,dos,mac
    :set title
    :set laststatus=2
    :set tabstop=4
    :set autoread
    :set showcmd
    :set showmatch
    :set shiftwidth=4
    :set smarttab
    :set backspace=indent,eol,start
    filetype on
    filetype plugin on
    filetype indent on
    hi clear
    set background=dark
    if exists("syntax_on")
    syntax reset
    endif
    highlight ErrorMsg ctermfg=red ctermbg=none cterm=bold
    highlight WarningMsg ctermfg=red ctermbg=none cterm=bold
    highlight VertSplit ctermfg=green ctermbg=black
    highlight Folded ctermfg=magenta ctermbg=none
    highlight FoldColumn ctermfg=magenta ctermbg=none
    highlight FoldColumn ctermfg=magenta
    highlight LineNr ctermfg=green cterm=bold
    highlight ModeMsg ctermfg=lightgreen cterm=bold
    highlight MatchParen ctermfg=black ctermbg=green
    highlight Normal ctermfg=white ctermbg=none
    highlight SignColumn ctermfg=magenta
    highlight NonText ctermfg=blue
    highlight Question ctermfg=red cterm=bold
    highlight Comment ctermfg=8
    highlight Constant ctermfg=green cterm=none
    highlight Identifier ctermfg=white cterm=bold
    highlight Statement ctermfg=lightgreen cterm=bold
    highlight PreProc ctermfg=10
    highlight Type ctermfg=2
    highlight Special ctermfg=cyan
    highlight Error ctermfg=red ctermbg=none
    highlight Todo ctermfg=yellow ctermbg=none cterm=bold
    highlight StatusLine ctermfg=black ctermbg=green cterm=none
    highlight StatusLineNc ctermfg=black ctermbg=lightgreen cterm=none
    highlight Directory ctermfg=white
    highlight Search ctermfg=black ctermbg=green cterm=none
    highlight Visual ctermfg=black ctermbg=lightgreen
    highlight WildMenu ctermfg=black ctermbg=cyan cterm=none
    highlight Pmenu ctermfg=black ctermbg=green
    highlight PmenuSel ctermfg=black ctermbg=lightgreen cterm=none

  • [Solved] Vim tabstop override not working through .vimrc

    I'm getting to know Vim and am trying to set my tabstop settings in ~/.vimrc. I've added the lines below:
    set autoindent " always set autoindenting on
    set tabstop=4
    set shiftwidth=4
    set noexpandtab
    set softtabstop=4
    Yet when i start Vim and type 'set tabstop' it still reports back 8, so the settings above apparently don't work. If i 'set tabstop=4' from within Vim it works fine, just only for the current session.
    Other settings in .vimrc are read okay, so i don't think the problem lies there.
    system vimrc file: "/etc/vimrc"
    user vimrc file: "$HOME/.vimrc"
    user exrc file: "$HOME/.exrc"
    fall-back for $VIM: "/usr/share/vim"
    Any ideas?
    Last edited by litemotiv (2009-05-20 14:28:36)

    karol wrote:Any chance it's a .virc / .vimrc / .gvimrc or /root/.virc etc. mismatch?
    ~/vi(m)rc doesn't work, but ~/.vi(m)rc does - mind the dot :-)
    No i don't think so:
    [ollie@arch ~]% ls .v*
    .viminfo .vimrc
    I also have some other settings in the file like 'set number' and a colorscheme, that do get loaded..

  • GTK color scheme not used

    I defined a color scheme with lxappearance which created the following
    .gtkrc-2.0 configuration in my home folder:
    http://paste.pocoo.org/show/522923/
    Unfortunately, when I start a GTK program the color scheme is not used.
    (If I restart lxappearance it is again in the old colors, as long as I do not
    reconfigure the colors when it switches back to the configured color scheme)
    gtk-demo also does not use the color scheme defined in .gtkrc-2.0.
    But gtk3-demo uses the color scheme.
    Does anyone how I can fix this?
    Last edited by manuelh9r (2011-12-19 08:46:39)

    The 'gtk-color-scheme=' parameter works only with gtk3.
    For gtk2 you need the old syntax.

  • Hello! I'm using Aperture with Efex plugins and notice, what when I saving result in plugin and go back to aperture, preview mode is going to grey color and not working until I reboot Aperture. Did you saw this problem?

    Hello! I'm using Aperture with Efex plugins and notice, what when I saving result in plugin and go back to aperture, preview mode is going to grey color and not working until I reboot Aperture. What is intresting - in full screen mode everything works fine. Did you saw this problem?

    It seems there's a workaround here:
    https://discussions.apple.com/thread/5566037?tstart=0

  • Pick color feature not working properly -- how do I reset?

    Pick color feature not working properly -- how do I reset?

    You need to contact Adobe for you billing problem this is a user four not adobe customer support.
    For your Photoshop Problems this user community may be helpful. 
    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • "Select Color Range" not working. "Warning: No pixels were selected" returned when attempting to use. Using Photoshop CS6 on a Mac running OS X Yosemite

    "Select Color Range" not working. "Warning: No pixels were selected" returned when attempting to use. Using Photoshop CS6 on a Mac running OS X Yosemite

    Here are three screenshots in succession from trying to perform the color selection:
    Dropbox - Screenshot 2015-02-12 14.57.40.png
    Dropbox - Screenshot 2015-02-12 15.00.14(2).png
    Dropbox - Screenshot 2015-02-12 15.01.00.png

  • Final Cut 6 and Color does not work

    Hello,
    I bought FInal Cut Pro Studio 2 and i receive the suite today and instal only apps ( no contents and loops )without problem
    Tried to open FCP6 and Color but not working.
    i launch FCP 6 or Color,2 jumps on dock and then quit.
    can be memory problem.( i have 768RAM on my imac G5 64VRAM)
    any pacth to resolv this problem?
    ps* SountrackPro 2,DVDStudio Pro,Motion3,LiveType,CinemaTools and Compressor woks fine in the same computer
    Computer configuration
    IMac G5 1.6 with 64VRAM and 768RAM
    thx in advance

    Ok,forgot Color,but and about final cut 6 ? why does not work?
    max resolution 1440x900.
    i was looking the systen requirements on fcp page
    Minimum Requirements to Install All Final Cut Studio Applications
    Final Cut Pro 6
    Macintosh 1.25GHz or faster PowerPC G4, PowerPC G5 = OK
    1GB of RAM = NO,my iMac have 768RAM
    1024-by-768 resolution or higher OK
    Mac OS X v10.4.9 or later OK
    QuickTime 7.1.6 or later OK
    A DVD drive for installation OK
    Can i deduce that problem is because i don't have RAM enought?
    THX

  • Cannot log in to Nationwide internet banking in Firefox. I get the front page but Login says internet banking is not working. Next screen says it's ok and sends you back to the first screen, which says it isn't. Works throughInternet explorer

    Question
    Cannot log in to Nationwide internet banking. I get the front page but Login says internet banking is not working. Next screen says it's ok and sends you back to the first screen, which says it isn't. Works throughInternet explorer

    That issue can be caused by corrupted cookies.
    *https://support.mozilla.org/kb/Cannot+log+in+to+websites
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"

  • To whom it may concern      Hi my name is Silvana Pires,I purchased an I Phone 4 S Model A 1387 EMC 2430 SCC.ID DCG E  2430 AIC.579 C-E 243 A in California one year ago,Unfortunately its Not working well the screen is getting black,and the phone is in goo

    To whom it may concern
    Hi my name is Silvana Pires,I purchased an I Phone 4 S Model A 1387 EMC 2430 SCC.ID DCG E
    2430 AIC.579 C-E 243 A in California one year ago,Unfortunately its Not working well the screen is getting black,and the phone is in good shape I can prove it,the Apple support in Brazil doenst work like in USA.
    I look forward to your reply and a resolution of this problem.
    Thank you very much!!!

    You are welcome. I'm glad you got it back up.
    (1) You say you did the symbolic link. I will assume this is set correctly; it's very important that it is.
    (2) I don't know what you mean by "Been feeding the [email protected] for several weeks now, 700 emails each day at least." After the initial training period, SpamAssassin doesn't learn from mail it has already processed correctly. At this point, you only need to teach SpamAssassin when it is wrong. [email protected] should only be getting spam that is being passed as clean. Likewise, [email protected] should only be getting legitimate mail that is being flagged as junk. You are redirecting mail to both [email protected] and [email protected] ... right? SpamAssassin needs both.
    (3) Next, as I said before, you need to implement those "Frontline spam defense for Mac OS X Server." Once you have that done and issue "postfix reload" you can look at your SMTP log in Server Admin and watch as Postfix blocks one piece of junk mail after another. It's kind of cool.
    (4) Add some SARE rules:
    Visit http://www.rulesemporium.com/rules.htm and download the following rules:
    70sareadult.cf
    70saregenlsubj0.cf
    70sareheader0.cf
    70sarehtml0.cf
    70sareobfu0.cf
    70sareoem.cf
    70sarespoof.cf
    70sarestocks.cf
    70sareunsub.cf
    72sare_redirectpost
    Visit http://www.rulesemporium.com/other-rules.htm and download the following rules:
    backhair.cf
    bogus-virus-warnings.cf
    chickenpox.cf
    weeds.cf
    Copy these rules to /etc/mail/spamassassin/
    Then stop and restart mail services.
    There are other things you can do, and you'll find differing opinions about such things. In general, I think implementing the "Frontline spam defense for Mac OS X Server" and adding the SARE rules will help a lot. Good luck!

  • HT4865 Have tried to verify my icloud account, but its not working the Verifying screen is just scrolling round, but not doing anything

    Have tried to verify my icloud account, but its not working, the Verifying screen has been scrolling for ages now, it seems stuck, but it wont let me do anything, please help

    " I ordered the Snow Leopard software and tried installing it, but it stopped and said to clean the disk."
    First off, your installation disc is in all likelihood faulty.
    This has been a known issue in the past:
    Faulty Snow Leopard install discs - Apple has no timeline on ...
    http://store.apple.com/us/help/returns_refund#policy:
    *You can return software, provided that it has not been installed on any computer. Software that contains a printed software license may not be returned if the seal or sticker on the software media packaging is broken.

  • In the middel of updateing my IPod the connectione stopd and since then the device is not working. only white screen no connectivity to win or to the Appstore

    In the middel of updateing my IPod the connectione stopd and since then the device is not working. only white screen no connectivity to win or to the Appstore

    Try:
    - iOS: Not responding or does not turn on
    - If not successful and you can't fully turn the iPod fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • My imac is not working well, the screen is  flashing.I can´t open any program.there is a monsterflashing

    my imac is not working well, the screen is  flashing.I can´t open any program.there is a monsterflashing

    Hello,
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on, Check System Preferences>Accounts>Login Items window to see if it or something relevant is listed.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons

  • Photoshop color field not working in color picker

    My color field is not working properly in my color picker. How do you fix this?
    WRONG (what my color picking is doing) :
    CORRECT (how it should work) :

    The catchall first step in correction is to reset the tool which, in this case, is the Eyedropper.
    With the Eyedropper chosen, right click here:
    If that doesn't solve the problem, a logical next step would be to reset your Preferences.
    To reset Preferences:
    If Photoshop is already open on your screen, close it (Quit). Then hold down Shift+Ctrl+Alt (Win) / Shift+Command+Option (Mac) on your keyboard and start Photoshop.
    A dialog box will pop up asking if you want to delete the existing Preferences file (the "Settings"). Click Yes in the dialog box. The existing Preferences file will be scrapped and a new one will be created.

Maybe you are looking for

  • Staging area creation problem

    Hi, We have got media DVDs for R12.1.1 for Linux X86 from Oracle. We copied in the server one by one using cp command. Ans now when we are starting staging creation using these copied DVD's from server, it's giving Invalid Disk is inserted. Please in

  • Whats wrong with .mac an iWeb 08?

    hi, i try to publish my small website i made in iweb 08 to my .mac-account. each kin d of publishing works, the "publish in a folder", "publish all to .mac" and so on. but if i choose the the option "visit the site" after the publishing, i get an err

  • The documentation links are broken......

    This page contains installation, migration, and upgrade documentation as well as product and component release notes. For information on using Oracle Application Server, refer to the Oracle Application Server documentation library. The library is ava

  • Certain folders on a server are always completely expanded (in List view). Why?

    Hello, All. This is an issue that has bugged me for years (possibly since OS 9, although my memory isn't what it used to be and I can't confirm that). I currently work for a design marketing studio and have spent most of my career in this field. I of

  • Interactive report - unable to disable save report option

    Hi, I am using an interactive report and unable to disable "Save Report" option... Although the option is unchecked under "Include in Actions Menu" section... Others' are working fine, I just can't disable "Save Report" option... Thanks in advance...