SliTaz SliTaz Forum

You are not logged in.

#1 2012-11-28 18:02:15

blueblob
Member
Registered: 2012-11-28
Posts: 4

minor problems with vim, hg, urxvt

Hey, this is my first post and I don't exactly know what information is needed so I may be overly verbose.

I am using slitaz-cooking.iso on a usb drive, which is booting fine at the moment, but I am having troubles with colors in vim inside of urxvt.

I initially installed vim, found that it wasn't working (it is reading my .vimrc but my colorscheme is not loading) so I removed vim and installed gvim. colors work fine in gvim, but I prefer terminal vim because I tend to use it in tmux/screen (although I am not currently doing that yet in debugging this).

My .Xdefaults are loading fine as the colors are working fine in the terminal, but they are not working in terminal vim. my $TERM variable is set to rxvt-256color, for which there was no terminfo entry in /usr/share/terminfo/r so I copied a terminfo file from my archlinux install (where colors are working fine). t_Co in vim is set to 256 but I seem to be getting 8 colors?

I am also having a problem with mercurial, running the command:

[c]

hg clone http://bitbucket.org/portix/dwb

[/c]

yields

abort: Python SSL support not found

but I have installed pyopenssl, libssl, openssl, and pycrypto so I am having trouble finding what else I may need to install.

Any help would be greatly appreciated!

Thanks!

Offline

#2 2012-11-28 23:03:30

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: minor problems with vim, hg, urxvt

Hi blueblob,

I don't know about Vim anything other than ":q" ☺ so I can't help with it.

What about Urxvt. We have two packages in the repo: urxvt and urxvt-full. Package urxvt was compiled without option --enable-256-color, so by default we have only 88 color palette in urxvt. Sure with perl script (in attachment) that I found in the xterm sources. What about urxvt-full package? It was compiled with --enable-everything option. But, unfortunately, this everything still lacks 256 color support.

Here part of urxvt output if you run it with --help option:

urxvt

rxvt-unicode (urxvt) v9.10 - released: 2010-12-13

options: xft,styles,combining,blink,iso14755,encodings=eu+vn,fade,transparent,tint,XIM,frills,selectionscrolling,

wheel,slipwheel,cursorBlink,pointerBlank,scrollbars=plain+rxvt+NeXT+xterm

urxvt-full

rxvt-unicode (urxvt) v9.10 - released: 2010-12-13

options: perl,xft,styles,combining,blink,iso14755,unicode3,encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,fade,transparent,tint,XIM,frills,selectionscrolling,wheel,slipwheel,cursorBlink,pointerBlank,

scrollbars=plain+rxvt+NeXT+xterm

I'll try to recompile urxvt-full with 256 color support, but let it be urxvt-9.15—latest version (all older versions moved to attic).

Mercurial. I use SliTaz-4.0 and have no problems with Hg here. Sorry, I can't help again. Note, that I had problems with Python while cooking nanoshot: I know that gnome-python-desktop package contains wnck Python module, but Python can't see it. Maybe, Python in Cooking is slightly… hmm, broken?

As a bonus:

urxvt with 88/256 colors:

urxvt-88.png

my xterm compiled earlier with 256 colors:

xterm-256.png

Offline

#3 2012-11-29 01:51:37

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: minor problems with vim, hg, urxvt

Hi blueblob,

Rolling core live cd,installed mercurial.

Not sure what is the cause of your error

root@slitaz:/home/tux# hg clone https://bitbucket.org/portix/dwb dwb

warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)

requesting all changes

adding changesets

adding manifests

adding file changes

added 1617 changesets with 4459 changes to 138 files (+6 heads)

updating to branch default

95 files updated, 0 files merged, 0 files removed, 0 files unresolved

Offline

#4 2012-11-29 03:11:06

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: minor problems with vim, hg, urxvt

Ok.

I changed original receipt of urxvt-full and recompiled it about a 20 times on my SliTaz-4.0 system. Finally, all works as I want.

I pushed receipt to wok. Now, at 04:00 it cooked and you can download it directly from here, or wait for mirror sync (about a day) and upgrade your urxvt-full to 9.15.

Now it have 256-color support and terminfo files builtin (TERM=rxvt-unicode-256color).

urxvt-256.png

Offline

#5 2012-11-29 14:29:15

blueblob
Member
Registered: 2012-11-28
Posts: 4

Re: minor problems with vim, hg, urxvt

Thanks much Aleksej! I will try the new package when I get home.

I just found tazpkg check, so maybe that will help me figure out why my mercurial is not working.

Offline

#6 2012-11-29 15:46:45

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: minor problems with vim, hg, urxvt

Try [c]tazpkg -cc[/c] and [c]tazpkg -gi mercurial --forced[/c] -maybe that will fix it.

Offline

#7 2012-11-30 00:45:20

blueblob
Member
Registered: 2012-11-28
Posts: 4

Re: minor problems with vim, hg, urxvt

The new urxvt-full works! :-)

the "-cc" and "-gi" don't work for me, I have to type out the full string clean-cache and get-install, but that didn't fix the problem for me. I suspect that the problem is my python because I ran tazpkg check and the output that I got had a lot of lines of python on it as missing files from mercurial (attached for more info) and additionally offlineimap is not working for me which also lists python as a dependency.

Offline

#8 2012-11-30 00:48:15

blueblob
Member
Registered: 2012-11-28
Posts: 4

Re: minor problems with vim, hg, urxvt

I guess I can't post the output because the forum won't let me attach it.

Files lost from mercurial 2.3.2 :

  /usr/lib/python2.7/site-packages/mercurial/hgweb/hgweb_mod.pyc

  /usr/lib/python2.7/site-packages/mercurial/hgweb/server.pyc

  /usr/lib/python2.7/site-packages/mercurial/hgweb/webcommands.pyc

  /usr/lib/python2.7/site-packages/mercurial/hgweb/request.pyc

  /usr/lib/python2.7/site-packages/mercurial/hgweb/hgwebdir_mod.pyc

  /usr/lib/python2.7/site-packages/mercurial/hgweb/protocol.pyc

  /usr/lib/python2.7/site-packages/mercurial/hgweb/common.pyc

  /usr/lib/python2.7/site-packages/mercurial/hgweb/__init__.pyc

  /usr/lib/python2.7/site-packages/mercurial/hgweb/webutil.pyc

  /usr/lib/python2.7/site-packages/mercurial/hgweb/wsgicgi.pyc

  /usr/lib/python2.7/site-packages/mercurial/hgweb/hgweb_mod.pyo

  /usr/lib/python2.7/site-packages/mercurial/hgweb/server.pyo

  /usr/lib/python2.7/site-packages/mercurial/hgweb/webcommands.pyo

  /usr/lib/python2.7/site-packages/mercurial/hgweb/request.pyo

  /usr/lib/python2.7/site-packages/mercurial/hgweb/hgwebdir_mod.pyo

  /usr/lib/python2.7/site-packages/mercurial/hgweb/protocol.pyo

  /usr/lib/python2.7/site-packages/mercurial/hgweb/common.pyo

  /usr/lib/python2.7/site-packages/mercurial/hgweb/__init__.pyo

  /usr/lib/python2.7/site-packages/mercurial/hgweb/webutil.pyo

  /usr/lib/python2.7/site-packages/mercurial/hgweb/wsgicgi.pyo

  ...

Offline

#9 2012-11-30 03:59:28

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: minor problems with vim, hg, urxvt

Wait, -gi and -cc isn't working? That means your cooking version must be OLDER than SliTaz 4, which would explain a lot.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]