DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 28th February 2009
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
ISO Quartermaster
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 589
Default VT + UTF-8?

Hello!

I recently installed, OpenBSD 4.4 on my Desktop PC (you probably might remember me. I was using FreeBSD and I was active forum user until forums.freebsd.org were opened)

I'm very impressed with OpenBSD, and I might switch to it permanently.....

But there is 1 important issue i must solve.

I can't type/read non-ASCII characters in virtual unicode terminal (even in uxterm)

I have tried setting locales, changing input language... no results
I can type native etc characters in GUI, but not in terminals....


does anyone know how to fix this....
It is very important to me, because i'm terminal addicted

EDIT:
This is on bought my real PC and VirtualPC

Last edited by graudeejs; 28th February 2009 at 01:59 PM.
Reply With Quote
  #2   (View Single Post)  
Old 28th February 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Unfortunately OpenBSD's libc doesn't have real locale support, a patch once existed called "citrus" but it was never fully committed due to developer disagreements I suppose.

There might be ways to deal with foreign characters, but know nothing about it.

Sorry.. but that's all I know..
Reply With Quote
  #3   (View Single Post)  
Old 28th February 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

As I said, I know very little about all this international stuff.. I rarely need anything beyond the odd accented character, but that citrus patch is available if you wish to analyze it.

http://www.hi-matic.org/distfiles/citrus/OpenBSD/

Remember that it's 3rd party work, thus.. not official.. hope it helps.
Reply With Quote
  #4   (View Single Post)  
Old 28th February 2009
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

Quote:
Originally Posted by killasmurf86 View Post
I'm very impressed with OpenBSD, and I might switch to it permanently...
What impressed you in OpenBSD?
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #5   (View Single Post)  
Old 28th February 2009
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
ISO Quartermaster
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 589
Default

Quote:
Originally Posted by vermaden View Post
What impressed you in OpenBSD?
well, i did like setup
pretty easy and fast to install (i need to do some minor adjustments)
works out of the box
no problem installing 3rd party software (fvwm-2.6.27, rxvt-unicode)

Also I'm looking very much forward to pcc (really i which FreeBSD would work on it as well.)

I did install everything from packages... I once tried doing this on FreeBSD, but i failed due to some missing dependencies...


And I do like very much OpenBSD philosophy

+ all the excitement when you install new OS
Reply With Quote
  #6   (View Single Post)  
Old 28th February 2009
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

@killasmurf86

Thanks for sharing your thoughts
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #7   (View Single Post)  
Old 1st March 2009
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
ISO Quartermaster
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 589
Default

Quote:
Originally Posted by BSDfan666 View Post
Unfortunately OpenBSD's libc doesn't have real locale support, a patch once existed called "citrus" but it was never fully committed due to developer disagreements I suppose.

There might be ways to deal with foreign characters, but know nothing about it.

Sorry.. but that's all I know..
On chat i've seen proof that non-latin characters are supported by virtual terminals (uxterm)
But PC was running -current

I will wait for 4.5 release, hopefully that will resolve problems
Reply With Quote
  #8   (View Single Post)  
Old 8th March 2009
kend kend is offline
Real Name: Ken Dickey
KenD
 
Join Date: Mar 2009
Location: Freeland, WA
Posts: 2
Default

I use KDE on a notebook. Konsole is a ground-up rewrite of Xterm which is very good [e.g. it displays, antialiased, all chinese characters of a cat'ed file (below), where uxterm displays some of them. It is in ports/x11/base3, but I don't know if it works outside of KDE [never tried].

Note also ports/{japanese,chinese,korean} et al.

Cheers,
-KenD
=======Chinese Computer Terms
add,增*
block(disk size),块(?)
boot-loader,引导程序
Check out,"检出(or 检视,or 访问)"
check(a check box),钩选
click,点击
close,关*
Confirmation,确认(操作)
Create,创建
Device,设备
disk,磁盘
DiskLabel,磁盘卷*
do not,不(Declarative) (or 不要(imperative))
driver,"磁盘(or 驱动器,or 驱动程序)"
dual-boot,多重启动
Enable,v.启用 adj.可用
Extract,解压缩(or 展开)
finish,完成
Hard Driver,硬盘
information,信息
installer,安装程序
layout,布局
mananger,管理器
MBR,主引导记录
menu,菜单
mirror,镜像
Mount,装载
new(v.),新建
next/back,下一*/上一*
OK/Cancel,确定/取消
package,软件包
Partition,分区
patch,补丁
pre-built packages,打包软件(预编译软件包)
pre-packaged software,打包软件
Quit,退出
Refresh,更新(or 刷新)
Remove,移除
Retry,重试
Size,大小
Slice,区块(?)
software,软件(or 程序)
tip,提示
Total,总计
Type,类型
update(v.n.),更新
User,用户
Warning,注意
website,网站
wizard,向导
==========

=================
Reply With Quote
  #9   (View Single Post)  
Old 8th March 2009
kend kend is offline
Real Name: Ken Dickey
KenD
 
Join Date: Mar 2009
Location: Freeland, WA
Posts: 2
Default

Quote:
It is in ports/x11/base3
Sorry, that should be /usr/ports/x11/kde/base3

-KenD
Reply With Quote
Old 8th March 2009
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

Quote:
Originally Posted by kend View Post
I use KDE on a notebook. Konsole is a ground-up rewrite of Xterm which is very good [e.g. it displays, antialiased, all chinese characters of a cat'ed file (below), where uxterm displays some of them. It is in ports/x11/base3, but I don't know if it works outside of KDE [never tried].
urxvt (rxvt-unicode from Ports) also displays all these chars antialiased and also has tab support:
http://img360.imageshack.us/img360/6364/urxvttx9.png
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
Old 9th March 2009
Zmyrgel Zmyrgel is offline
Port Guard
 
Join Date: May 2008
Posts: 30
Default

I tried urxvt but it didn't display unicode chars that well. Could be some setting issue though as I had to compile it myself as there isn't a port for it.

I tried ROXterm from the ports and it supports unicode rather well.
Still having some issues with it though as I can't get it to work with screen. It starts to print ä as "a in screen although I have set 'defutf8 on and utf8 on on' in the .screenrc.
Reply With Quote
Old 10th March 2009
gosha gosha is offline
Spam Deminer
 
Join Date: Jun 2008
Location: China
Posts: 256
Default

I solved the multilanguages problem in terminal with Roxterm. It is better for this than gnome-terminal because it lets you specify a default encoding, which I've set to utf-8. It is also easy to switch encoding with a right click. You can also save different profiles. I have one with a good font for chinese (wen quan yi) and one with default fixed.
After quite a few months of struggling I can now display and type anything I want in terminal.
I don't use a big desktop environment, I use ion.
I also managed to make SCIM work.
If you need more details, let me know.
Reply With Quote
Reply

Tags
openbsd 4.4, utf-8

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:01 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick