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 22nd January 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default unicode issue

Hi everybody !

much thanks and respect to those behind this wonderful mine of daemon lore called daemonforums
I am actually an openbsd newbie and my current problem is :

* I cannot save pages whose titles are in unicode but can read the pages if titles are saved otherwise
* I cannot export .profile aliases for use on fvwm .. yet they work when off X .. this happens both for ksh and bash .. I am openbsd 5.0 stable ..
.. thank you so much .. daemonhawks ..
Reply With Quote
  #2   (View Single Post)  
Old 22nd January 2012
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,116
Thanked 182 Times in 149 Posts
Default

X Window need to be told that the xterms are login shells:
Code:
$ cat .Xdefaults                                               
XTerm*loginShell:true
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 22nd January 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

thank you so much *j65NKO* !!
I created the .Xdefaults file then added the line (which actully existed in /root)
it works fine now

the unicode issue
I installed most foreign fonts from ports and I did a :
xset fp+ /usr/local/lib/X11/fonts/fontname
xset fp rehash

yet I can't neither save pages in their respective unicode titles not can I view unicode in lynx , my favourite browser ..

one last question please :
I favour fvwm and golem over other wms/desktops , how can I shift layouts between english and japanese , for instance ?

sorry to say I came from a wretched windows background ; the more I use bsd variants the more I feel reborn afresh .. being unix == being true and genuine
Reply With Quote
  #4   (View Single Post)  
Old 23rd January 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Hi Daemon Nerds !!

I can use aliases on xterm but not on konsole ..
how can I set this for all installed terminals (konsole / terminal / urxvt )

mlterm on openbsd 5.0 stable seems to be buggy as it freezes after the dialog box shows ..
I tried installing it both via pkg_add and ports ..

Thanks in advance
Reply With Quote
  #5   (View Single Post)  
Old 25th January 2012
backrow backrow is offline
Real Name: Anthony J. Bentley
Shell Scout
 
Join Date: Jul 2009
Location: Albuquerque, NM
Posts: 116
Thanked 10 Times in 4 Posts
Default

You don’t need mlterm for Unicode; a regular xterm should suffice, provided your environment variables are set correctly. I wrote a tutorial for this some time ago.

UTF‐8 support in the default ksh is weak. Typing and pasting characters work as expected, but both backspacing and cursor movement break horribly. mksh supports Unicode in emacs mode only (not vi mode… ☹). Bash should work normally.

I recommend setting up a compose file for Unicode characters that you use often, but this is impractical for other languages like Greek (beyond the occasional math character) or Japanese. Unfortunately, though I know the capabilities exist, I have never figured out how to enable them—X is woefully lacking in documentation. You may want to look into things like Anthy. I know that at least a couple OpenBSD developers are Japanese, so I presume somebody has it working.
__________________
Many thanks to the forum regulars who put time and effort into helping others solve their problems.
Reply With Quote
  #6   (View Single Post)  
Old 25th January 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Thank you BackRow !!
that was an excellent tutorial .. and your nickname took me back to Mac days when I used to relax lazily watching movies on FrontRow with single click!
and yet I love the Mplayer Way .. compact and clean ..

.. I wonder if there could be a way to make Lynx unicode-aware .. same for snownews .. then one can spend much time off X ..
Reply With Quote
Reply

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP issue? desreguard OpenBSD General 14 29th August 2011 04:21 PM
Backwards Unicode names hides malware and viruses J65nko News 0 13th May 2011 05:56 PM
VPN Nat issue on 4.8 copetts OpenBSD Security 2 12th April 2011 10:34 AM
Possible SMP Issue? MetalHead OpenBSD General 1 25th November 2008 03:52 AM
Unicode issues with gnome-mount/HAL? milkycow FreeBSD Ports and Packages 3 9th May 2008 11:46 PM


All times are GMT. The time now is 12:21 AM.


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