You are not logged in.

#1 2015-11-11 09:27:08

yk
Member
Registered: 2014-06-09
Posts: 9

zsh & urxvt Singlequotes in gcc output borked [Solved]

I use urxvt and zsh. When I compile something with gcc single quotes are not rendered correctly (see screenshot) and a similar thing happens if I switch the keyboardmap to de and try to input special characters like Ä. Additionally backspace only deletes one character of the three, but copy and paste works. (Compare the quote of the output below with the screenshot.) I tried to switch to a different font in .Xressources and in /etc/vconsole.conf but this had apparently no effect.

schawartzschild.c:30:14: warning: unused parameter ‘argc’ [-Wunused-parameter]
 int main(int argc, char* argv[]){

http://i.imgur.com/AB10jFW.png



--  read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_code [jwr] --

Last edited by yk (2015-11-11 16:07:04)

Offline

#2 2015-11-11 10:09:17

c0mm0ner
Member
Registered: 2015-11-09
Posts: 93

Re: zsh & urxvt Singlequotes in gcc output borked [Solved]

Which terminal emulator and shell are you using? What's the output of 'locale', 'echo $TERM'?

Offline

#3 2015-11-11 10:42:01

yk
Member
Registered: 2014-06-09
Posts: 9

Re: zsh & urxvt Singlequotes in gcc output borked [Solved]

Output of locale is

$locale
LANG=en_US.UTF-8
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=
$echo $TERM 
xterm                                            

Which suggests that I am just configuring a different terminal emulator than I am actually using... thank you *facepalm*

Offline

#4 2015-11-11 15:47:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: zsh & urxvt Singlequotes in gcc output borked [Solved]

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB