Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Impossible to git-clone
@ 2008-05-19 10:36 Alexandre Buisse
  2008-05-19 14:57 ` William Morgan
  0 siblings, 1 reply; 8+ messages in thread
From: Alexandre Buisse @ 2008-05-19 10:36 UTC (permalink / raw)


Hi,
I am trying to obtain the latest git version in order to have good UTF8
support (as it's behaving really badly at the moment) but the git
repository doesn't seem to work. I obtain:

fatal: The remote end hung up unexpectedly
fetch-pack from 'git://repo.or.cz/sup.git' failed.

When I try to browse the repository on the web, I get that there is
malformed content at line 64, on the '@' sign of the email address that
is there.

Would it possible to fix this, or is there a mirror I can use somewhere?

Thanks,
/Alexandre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20080519/f924f558/attachment.bin>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] Impossible to git-clone
  2008-05-19 10:36 [sup-talk] Impossible to git-clone Alexandre Buisse
@ 2008-05-19 14:57 ` William Morgan
  2008-05-19 15:13   ` Tyberius Prime
  0 siblings, 1 reply; 8+ messages in thread
From: William Morgan @ 2008-05-19 14:57 UTC (permalink / raw)


Reformatted excerpts from Alexandre Buisse's message of 2008-05-19:
> I am trying to obtain the latest git version in order to have good
> UTF8 support (as it's behaving really badly at the moment)

Check out recent mailing list traffic on this subject. You can checkout
the ncursesw branch and compile a wide-character Ruby ncurses library.
With that, wide characters actually get displayed correctly.

The remaining issue is that there's no way of determining the display
width of wide character, and no way of taking a substring of a
wide-character string based on character display widths. There's a libc
function called wcwidth that I've been playing around with importing via
dlopen, which would be the logical starting point for, but haven't quite
managed to make that work.

> but the git repository doesn't seem to work. I obtain:
> 
> fatal: The remote end hung up unexpectedly
> fetch-pack from 'git://repo.or.cz/sup.git' failed.

I just tried it and it worked. Could it be a transient failure?

> When I try to browse the repository on the web, I get that there is
> malformed content at line 64, on the '@' sign of the email address that
> is there.

Yes, I've asked them to fix this but no response. I am considering
migrating to gitorious or github for this reason.
-- 
William <wmorgan-sup at masanjin.net>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] Impossible to git-clone
  2008-05-19 14:57 ` William Morgan
@ 2008-05-19 15:13   ` Tyberius Prime
  2008-05-19 16:14     ` William Morgan
  0 siblings, 1 reply; 8+ messages in thread
From: Tyberius Prime @ 2008-05-19 15:13 UTC (permalink / raw)


Excerpts from William Morgan's message of Mon May 19 16:57:44 +0200 2008:
> Reformatted excerpts from Alexandre Buisse's message of 2008-05-19:
> > I am trying to obtain the latest git version in order to have good
> > UTF8 support (as it's behaving really badly at the moment)
> 
> Check out recent mailing list traffic on this subject. You can checkout
> the ncursesw branch and compile a wide-character Ruby ncurses library.
> With that, wide characters actually get displayed correctly.

Hi,

I have tried that - but still don't see wide characters (just utf-8 giberish).
I followed the instructions in the wiki (after getting a recent git onto my debian ;) ),
and strace is suggesting I'm loading the right ncurses.so and even contains a
open("/lib/libncursesw.so.5", O_RDONLY) = 3

Does anybody have an idea what might be wrong?
Default system locale is set to "en_US.UTF-8 UTF-8",
I have not overriden it for my user.

Thanks for your time,
so long,
Tyberius Prime


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] Impossible to git-clone
  2008-05-19 15:13   ` Tyberius Prime
@ 2008-05-19 16:14     ` William Morgan
  2008-05-19 17:03       ` Tyberius Prime
  0 siblings, 1 reply; 8+ messages in thread
From: William Morgan @ 2008-05-19 16:14 UTC (permalink / raw)


Reformatted excerpts from Tyberius Prime's message of 2008-05-19:
> I have tried that - but still don't see wide characters (just utf-8
> giberish).  I followed the instructions in the wiki (after getting a
> recent git onto my debian ;) ), and strace is suggesting I'm loading
> the right ncurses.so and even contains a
> open("/lib/libncursesw.so.5", O_RDONLY) = 3

Is your terminal emulator capable of displaying utf8? E.g. do you see wide
characters when you use cat or less? Do you see wide characters when you
use other curses programs like mutt?

-- 
William <wmorgan-sup at masanjin.net>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] Impossible to git-clone
  2008-05-19 16:14     ` William Morgan
@ 2008-05-19 17:03       ` Tyberius Prime
  2008-05-19 21:31         ` William Morgan
  0 siblings, 1 reply; 8+ messages in thread
From: Tyberius Prime @ 2008-05-19 17:03 UTC (permalink / raw)


Excerpts from William Morgan's message of Mon May 19 18:14:02 +0200 2008:
> Reformatted excerpts from Tyberius Prime's message of 2008-05-19:
> > I have tried that - but still don't see wide characters (just utf-8
> 
> Is your terminal emulator capable of displaying utf8? E.g. do you see wide
> characters when you use cat or less? Do you see wide characters when you
> use other curses programs like mutt?
> 

I believe so (ssh/putty on windows...)
If I forward a mail, sup opens it up in joe,
which I believe to be ncursed based as well.
When I manually tell joe that it's utf-8, my wide characters appear.
(saving the file somewhere and running cat on it does not produce
wide characters, though).

Here are the first few lines sup utters:
>ruby -Ilib -w bin/sup
./lib/sup/util.rb:8: warning: method redefined; discarding old gen_lock_id
./lib/sup/util.rb:19: warning: method redefined; discarding old dump_lock_id
[Mon May 19 19:01:26 +0200 2008] using character set encoding "UTF-8"


and what my 'locale' command has to say:

>locale
LANG=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

>locale charmap
UTF-8

So long,
Tyberius Prime


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] Impossible to git-clone
  2008-05-19 17:03       ` Tyberius Prime
@ 2008-05-19 21:31         ` William Morgan
  2008-05-20  8:39           ` Tyberius Prime
  0 siblings, 1 reply; 8+ messages in thread
From: William Morgan @ 2008-05-19 21:31 UTC (permalink / raw)


Reformatted excerpts from Tyberius Prime's message of 2008-05-19:
> I believe so (ssh/putty on windows...)
> If I forward a mail, sup opens it up in joe,
> which I believe to be ncursed based as well.
> When I manually tell joe that it's utf-8, my wide characters appear.
> (saving the file somewhere and running cat on it does not produce
> wide characters, though).

In that case we've exhausted my knowledge of wide characters. Your
locale seems fine and your ncursesw seems like it's being loaded. I
guess it's something about putty, but I'm not sure what.  The only
difference between your system and mine is that I can cat wide
characters. My LANG is set to en_US.UTF-8, but I don't think that that
would make a difference...
-- 
William <wmorgan-sup at masanjin.net>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] Impossible to git-clone
  2008-05-19 21:31         ` William Morgan
@ 2008-05-20  8:39           ` Tyberius Prime
  2008-05-20 16:00             ` William Morgan
  0 siblings, 1 reply; 8+ messages in thread
From: Tyberius Prime @ 2008-05-20  8:39 UTC (permalink / raw)


Excerpts from William Morgan's message of Mon May 19 23:31:18 +0200 2008:
> Reformatted excerpts from Tyberius Prime's message of 2008-05-19:
> > I believe so (ssh/putty on windows...)

> In that case we've exhausted my knowledge of wide characters. Your
> locale seems fine and your ncursesw seems like it's being loaded. I
> guess it's something about putty, but I'm not sure what.  

Indeed. Putty has a Window/translation/"Received data assumed to be in which character set" setting,
that makes my umlauts appear. Now I'm happy ;) 

I've taken the liberty to add a note to the appropriate wiki page.

--
So long,
Tyberius Prime


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [sup-talk] Impossible to git-clone
  2008-05-20  8:39           ` Tyberius Prime
@ 2008-05-20 16:00             ` William Morgan
  0 siblings, 0 replies; 8+ messages in thread
From: William Morgan @ 2008-05-20 16:00 UTC (permalink / raw)


Reformatted excerpts from Tyberius Prime's message of 2008-05-20:
> Indeed. Putty has a Window/translation/"Received data assumed to be in
> which character set" setting, that makes my umlauts appear. Now I'm
> happy ;) 

Awesome.

> I've taken the liberty to add a note to the appropriate wiki page.

Thanks!
-- 
William <wmorgan-sup at masanjin.net>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-05-20 16:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-19 10:36 [sup-talk] Impossible to git-clone Alexandre Buisse
2008-05-19 14:57 ` William Morgan
2008-05-19 15:13   ` Tyberius Prime
2008-05-19 16:14     ` William Morgan
2008-05-19 17:03       ` Tyberius Prime
2008-05-19 21:31         ` William Morgan
2008-05-20  8:39           ` Tyberius Prime
2008-05-20 16:00             ` William Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox