Carl Lowenstein wrote:
> I am trying to port a program, namely "checkinstall", to my 64-bit
> Alpha.  Working remotely through ssh.
> 
> The OS is the port to Alpha of Fedora Core 5.  The compiler is
> gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)
> 
> There are, of course, compiler warnings and errors.  The messages are
> hard to understand because variable names are quoted using smart left
> and right single quotes.
> 
> The terminal emulator that I am using to read the compiler diagnostic
> output can not cope with these quotes.  It is gnome-terminal  2.7.3 on
> one of my local systems and gnome-terminal 2.16.0 on the other.  The
> visible rendering of the symbols is different on the two terminal
> emulators, but equally hard to read.
> 
> For what it's worth, a left quote is hex  e2 80 98 and a right quote
> is  e2 80 99
> 
> I can read the messages by sending them to a file and then using "gedit".
> 
> Can anyone think of a reason why gcc was made to do this?  Or have
> some idea of when it happened?  Or suggest something better in the way
> of a terminal emulator?
> 

Lookling into some of my old output dumps from compiles and rpm
rebuilds, I see 2 kinds of quoting, one uses the good old simple single
(apostrophe) before and after. The other use backquote in the leading
position.

I didn't see any of those (other) dumb quotes (although I think the
backtick is plenty bad enough.

I have my locale at utf8, but I bet my rpm tools use LC_CTYPE=C.
In your case, you might try
 LC_CTYPE=C make
or export LC_CTYPE=C, I suppose.

I've had to do similar to this when printing man pages!

Regards,
..jim

-- 
KPLUG-LPSG@kernel-panic.org
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to