LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-28-2009, 04:15 PM   #1
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
Umlauts in mrxvt


I intended to switch to mrxvt as it has all the features I want from my terminal, 256 colors and transparency.

Anyway, I installed it and slightly modified the default configuration file to my needs.
Everything seemed to work pretty well except my umlauts aren't working on mrxvt.
It shouldn't be locale issue as urxvt and xterm work just fine.

When I try to input ä or ö in terminal it moves the cursor but doesn't appear to print anything. If I then insert other ä it prints a squere and space. It prints the umlauts in irssi in the same way.

I don't plan to switch to UTF-8 as not all of my OS's support it fully so I will stick to iso-8859-1 until they do.

Any suggestions how to get the umlauts working correctly?
The best I got was with font size 12. When I entered first umlaut it moved the cursor but didn't instert a visible character. When I inserted another umlaut it printed both of them. Quite irritating behavior and the font size was too big for my terminal. With smaller font it gives me boxes instead of umlauted a

Locale:
Code:
zmyrgel@cube zmyrgel-> locale
LANG=fi_FI.iso8859-1
LC_CTYPE=en_US.iso8859-1
LC_NUMERIC="fi_FI.iso8859-1"
LC_TIME="fi_FI.iso8859-1"
LC_COLLATE=C
LC_MONETARY="fi_FI.iso8859-1"
LC_MESSAGES=en_US.iso8859-1
LC_PAPER="fi_FI.iso8859-1"
LC_NAME="fi_FI.iso8859-1"
LC_ADDRESS="fi_FI.iso8859-1"
LC_TELEPHONE="fi_FI.iso8859-1"
LC_MEASUREMENT="fi_FI.iso8859-1"
LC_IDENTIFICATION="fi_FI.iso8859-1"
LC_ALL=
I use terminus font and heres my current config:

Code:
#
# -----------------------------	TAB-BAR OPTIONS ------------------------------ #
#

Mrxvt.bottomTabbar:		True
Mrxvt.autohideTabbar:		True
Mrxvt.minVisibleTabs:		8
Mrxvt.maxTabWidth:		17
Mrxvt.hideButtons:		True
Mrxvt.syncTabTitle:		True
Mrxvt.syncTabIcon:		false
Mrxvt.titleFormat:		%n. %t
Mrxvt.highlightTabOnBell:	True

# Tab bar colors
Mrxvt.itabBackground:		#101010
Mrxvt.tabBackground:		#000000
Mrxvt.itabForeground:		#909090
Mrxvt.tabForeground:		#9a9a9a

Mrxvt.tabbarPixmap:		tabbarbg.png
Mrxvt.tabUsePixmap:		false

# Monitor tabs for activity or inactivity
# (alternate arguments for MonitorTab macro : "INACTIVITY" / "ACTIVITY")
Mrxvt.macro.Ctrl+Shift+g:		MonitorTab AUTO
#Mrxvt.monitorTimeout:		 2000
#Mrxvt.monitorCommand:           play ~/.ding_sound.wav
#Mrxvt.monitorCommand:           aosd_cat --fontdesc="Trebuchet 20" --ypos=50 --delay=4000 Alert on tab %n :: %t
#Mrxvt.monitorCommand:           xmessage Monitor alert on tab %n

#
# ---------------------- SCROLLING / SCROLLBAR OPTIONS ----------------------- #
#

Mrxvt.scrollBar:                false
Mrxvt.scrollbarRight:	        true
Mrxvt.scrollbarStyle:	        rxvt
Mrxvt.saveLines:		30000
Mrxvt.scrollTtyOutputInhibit:	true
Mrxvt.scrollTtyKeypress:	true
Mrxvt.scrollColor:		#808080
Mrxvt.troughColor:		#202020
# Mrxvt.scrollbarPixmap:	scrollbarbg.jpg

#
# ------------------------------- TRANSPARENCY ------------------------------- #
#

# True translucency (using Xorg's composite extension).
# Mrxvt.opacity:		75
# Mrxvt.opacityDegree:		5

# Pseudo transparency. As long as you set the background using an esetroot
# compatible program (e.g. feh), then the following will work. It is pretty
# resource friendly too :).
Mrxvt.transparent:		True
Mrxvt.transparentScrollbar:	True
Mrxvt.transparentTabbar:	True
Mrxvt.transparentMenubar:	False

# Color / degree to which the root background should be tinted.
Mrxvt.tintColor:		#000000
Mrxvt.shading:			75

#
# ---------------------------------- FONTS ----------------------------------- #
#
Mrxvt.xft:			1
Mrxvt.xftFont:		        terminus	
Mrxvt.xftSize:			6
Mrxvt.xftAntialias:		1
Mrxvt.xftHinting:		1
Mrxvt.xftAutoHint:		1
Mrxvt.xftGlobalAdvance:	        1
Mrxvt.xftRGBA:		        rgb
Mrxvt.xftslow:		        1
Mrxvt.xftNomFont:		1
Mrxvt.xftPFont:			terminus
Mrxvt.xftPSize:			6
# Shadow text
# Mrxvt.textShadow:		red
# Mrxvt.textShadowMode:		botright

# XIM input / multi char support. To use this, you should also comment out the
# xftNomFont line above.
# Mrxvt.xftmFont:		SimSun
# Mrxvt.multichar_encoding:	GB
# Mrxvt.inputMethod:		SCIM

#
# ---------------------------------- CURSOR ---------------------------------- #
#
Mrxvt.cursorBlink:		false
Mrxvt.cursorColor:		#ffffff
Mrxvt.cursorColor2:		#000000

#
# ---------------------------------- COLORS ---------------------------------- #
#

# Setup colors for a black background.
Mrxvt.background:		#191919
Mrxvt.foreground:		#ffffff

Mrxvt.color0:			#000000
Mrxvt.color1:			#af0000
Mrxvt.color2:			#00af00
Mrxvt.color3:			#afaf00
Mrxvt.color4:			#0000af
Mrxvt.color5:			#af00af
Mrxvt.color6:			#00afaf
Mrxvt.color7:			#9a9a9a
Mrxvt.color8:			#5f5f5f
Mrxvt.color9:			#d70000
Mrxvt.color10:			#00d700
Mrxvt.color11:			#d7d700
Mrxvt.color12:			#0000d7
Mrxvt.color13:			#d700d7
Mrxvt.color14:			#00d7d7
Mrxvt.color15:			#d7d7d7

# Display bold and underlined text in color, rather than using the terminal
# attributes. This makes reading man pages a little easier.
Mrxvt.colorBD:			#00afaf
Mrxvt.colorUL:			#00af00
# Mrxvt.colorRV:		#000040

# Display the X selection as highlighted instead of using reverse video.
Mrxvt.highlightColor:		#303060

# Colors when terminal window looses focus. (Does not work well with Xft).
# Mrxvt.ufBackground:		yellow
# Mrxvt.backgroundFade:		50

#
# ------------------------------- MISC OPTIONS ------------------------------- #
#

Mrxvt.showMenu:                 false
Mrxvt.termName:		        xterm-256color
Mrxvt.tabTitle:			mrxvt
Mrxvt.internalBorder:		0
Mrxvt.cutChars:			:=/~#@?%&_-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0abcdefghijklmnopqrstuvwxyz
Mrxvt.pointerBlank:		True
Mrxvt.pointerBlankDelay:	10
Mrxvt.protectSecondary:		True
Mrxvt.loginShell:		True
Mrxvt.sessionMgt:		true

#
# --------------------------------- PROFILES --------------------------------- #
#

# Root console on profile 1. Matrix like green font for root :).
Mrxvt.profile1.foreground:	#809a70
Mrxvt.profile1.background:	#002000
Mrxvt.profile1.command:		su
Mrxvt.profile1.tabTitle:	su

# Better to start root consoles in root's home directory (and not the current
# directory).
Mrxvt.profile1.workingDirectory:/root
# Mrxvt.profile1.Pixmap:	matrix.jpg

# Vim on profile 2. Vim is run in a shell, so after Vim exits, you'll get the
# shell prompt.
Mrxvt.profile2.command:		!vim
# Mrxvt.profile2.Pixmap:	vim.png

# Mutt on profile 3. Kill the scroll back buffer, to save a little memory.
# Mrxvt.profile3.Pixmap:	email.jpg
Mrxvt.profile3.saveLines:	0
Mrxvt.profile3.command:		mutt
Mrxvt.profile3.workingDirectory:

#
# ---------------------------- KEYBOARD SHORTCUTS ---------------------------- #
#

# Open profiles 1 -- 4 on Ctrl+Shift+F1 -- F4.
Mrxvt.macro.Ctrl+Shift+F1:	NewTab -1
Mrxvt.macro.Ctrl+Shift+F2:	NewTab -2
Mrxvt.macro.Ctrl+Shift+F3:	NewTab -3
Mrxvt.macro.Ctrl+Shift+F4:	NewTab -4

#
# Save the scroll back buffer to a file, and open it (in less / vim) in a new
# tab. Useful for searching, or cut/paste from the scroll back buffer.
#
Mrxvt.macro.Primary+Ctrl+Shift+question: PrintScreen -ps perl -e '$_=join("",<STDIN>); s/\n+$/\n/g; print' > /tmp/%p-scrollback
Mrxvt.macro.Primary+Add+Ctrl+Shift+question: NewTab "(Tab %n scrollback)" \!less -ifLR +G /tmp/%p-scrollback; rm /tmp/%p-scrollback

Mrxvt.macro.Primary+Ctrl+slash: PrintScreen -s perl -e '$_=join("",<STDIN>); s/\n+$/\n/g; print' > /tmp/%p-scrollback
Mrxvt.macro.Primary+Add+Ctrl+slash: NewTab "(Tab %n scrollback)" \!view +"syn off| set nospell notitle noreadonly modifiable buftype=nofile |normal G" /tmp/%p-scrollback; rm /tmp/%p-scrollback


#
# When running a shell, this clears the scroll back buffer and executes the
# current command. Useful if you're going to (or have just) run a command that
# produces a lot of output. (Primary screen only).
#
Mrxvt.macro.Primary+Shift+Return:	Esc \ec
Mrxvt.macro.Primary+Add+Shift+Return:	Str ^M


# ---------------------------------------------------------------------------- #

#
#				CLASS SETTINGS
#

#
# ------------------------------- FULL SCREEN -------------------------------- #
#
FullScreen.bottomTabbar:	False
FullScreen.xftSize:		10
FullScreen.xftPSize:		10
FullScreen.minVisibleTabs:	15
FullScreen.smoothResize:	True
FullScreen.fullscreen:		True

#
# ------------------------------- KITCHEN SINK ------------------------------- #
#
KitchenSink.initProfileList:	    0,2,3


#
# ------------------------------- FVWM CONSOLE ------------------------------- #
#
FvwmConsole.initProfileList:	    4
FvwmConsole.profile4.tabTitle:	    FvwmConsole
FvwmConsole.profile4.background:    #101020
FvwmConsole.profile4.holdExit:	    4

FvwmConsole.xftSize:		    10
FvwmConsole.tintColor:		    #181830
FvwmConsole.geometry:		    60x15
FvwmConsole.scrollBar:		    False

#
# ------------------------------- ROOT CONSOLE ------------------------------- #
#

Root.initProfileList:		    1
Root.tintColor:			    #002000
Root.itabBackground:		    #002000

# ---------------------------------------------------------------------------- #
# vim: set ft=mrxvtrc ts=8 sts=4:
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
German umlauts in Java applications Lars79 Slackware 0 05-03-2006 08:45 AM
Wot no Umlauts kaine Linux - Newbie 13 01-06-2006 06:05 PM
VFAT partition no umlauts Marc L. Linux - Newbie 3 07-19-2005 05:40 PM
Amarok and special characters (umlauts) Fonk Linux - Software 0 03-13-2005 04:32 PM
Umlauts! ichbindaswalros Linux - General 1 07-02-2004 10:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration