Re: UTF-8 text editor

2006-07-11 Thread Matthieu Herrb

Mackan wrote:

Hi list!

Is there any UTF-8-aware text editor (for terminal use) available
for OpenBSD? Vi(m) and similar is out of question for me, I never
learned those.

I tried to compile latest nano from CVS, which support UTF-8, but
with no luck. I get configure errors saying that my curses don't
support unicode.

Using 3.9/i386 with GENERIC.

Suggestions anyone?


xemacs21-mule in ports does UTF-8 among others. I'm using it to edit 
X.Org source files which are using UTF-8 encoded comments in C sources.


I've this in my .xemacs/init.el to get proper recognition of UTF-8 
files, but I'm not sure if it's still needed or not:


;;;--
;;; UTF-8
(progn
  (require 'un-define)
  (set-coding-priority-list '(utf-8))
  (set-coding-category-system 'utf-8 'utf-8))

--
Matthieu Herrb



UTF-8 text editor

2006-07-10 Thread Mackan

Hi list!

Is there any UTF-8-aware text editor (for terminal use) available
for OpenBSD? Vi(m) and similar is out of question for me, I never
learned those.

I tried to compile latest nano from CVS, which support UTF-8, but
with no luck. I get configure errors saying that my curses don't
support unicode.

Using 3.9/i386 with GENERIC.

Suggestions anyone?

Thanks,

Mackan



Re: UTF-8 text editor

2006-07-10 Thread Han Boetes
Mackan wrote:
 Is there any UTF-8-aware text editor (for terminal use) available
 for OpenBSD?

qemacs from cvs works ok.

   -  Full  UTF8  support,  including  bidirectional  editing
   respecting the Unicode bidi algorithm.  Arabic  and  Indic
   scripts handling (in progress).

qemacs is an emacs-clone



# Han



Re: UTF-8 text editor

2006-07-10 Thread Spruell, Darren-Perot
From: [EMAIL PROTECTED] 
 Is there any UTF-8-aware text editor (for terminal use) available
 for OpenBSD? Vi(m) and similar is out of question for me, I never
 learned those.

As ubiquitous as vi is on Unix, it seems a shallow reason.

Really, it takes all of 15 minutes to pick up what you need for vi/vim.
Install a copy somewhere and spend a few minutes on vimtutor and you should
find it pretty straightforward.

DS



Re: UTF-8 text editor

2006-07-10 Thread Mackan

On 10 jul 2006, at 20.43, Spruell, Darren-Perot wrote:


From: [EMAIL PROTECTED]

Is there any UTF-8-aware text editor (for terminal use) available
for OpenBSD? Vi(m) and similar is out of question for me, I never
learned those.


As ubiquitous as vi is on Unix, it seems a shallow reason.

Really, it takes all of 15 minutes to pick up what you need for vi/ 
vim.
Install a copy somewhere and spend a few minutes on vimtutor and  
you should

find it pretty straightforward.

DS


You are probably right about that. We'll see.

I just upgraded my server OS from Debian/Linux to OpenBSD. But it  
seems

that in the case of Unicode-aware applications I made a big downgrade.

I really want I simple editor with unicode, for myself and my users.


Mackan



Re: UTF-8 text editor

2006-07-10 Thread Will H. Backman

Mackan wrote:

On 10 jul 2006, at 20.43, Spruell, Darren-Perot wrote:


From: [EMAIL PROTECTED]

Is there any UTF-8-aware text editor (for terminal use) available
for OpenBSD? Vi(m) and similar is out of question for me, I never
learned those.


As ubiquitous as vi is on Unix, it seems a shallow reason.

Really, it takes all of 15 minutes to pick up what you need for vi/vim.
Install a copy somewhere and spend a few minutes on vimtutor and you 
should

find it pretty straightforward.

DS


You are probably right about that. We'll see.

I just upgraded my server OS from Debian/Linux to OpenBSD. But it seems
that in the case of Unicode-aware applications I made a big downgrade.

I really want I simple editor with unicode, for myself and my users.


Mackan

What was lacking from Debian/Linux that made you decide to switch to 
OpenBSD?




Re: UTF-8 text editor

2006-07-10 Thread Joachim Schipper
On Mon, Jul 10, 2006 at 09:12:37PM +0200, Mackan wrote:
 On 10 jul 2006, at 20.43, Spruell, Darren-Perot wrote:
 From: [EMAIL PROTECTED]
 Is there any UTF-8-aware text editor (for terminal use) available
 for OpenBSD? Vi(m) and similar is out of question for me, I never
 learned those.
 
 As ubiquitous as vi is on Unix, it seems a shallow reason.
 
 Really, it takes all of 15 minutes to pick up what you need for vi/ 
 vim.
 Install a copy somewhere and spend a few minutes on vimtutor and  
 you should
 find it pretty straightforward.
 
 DS
 
 You are probably right about that. We'll see.
 
 I just upgraded my server OS from Debian/Linux to OpenBSD. But it
 seems that in the case of Unicode-aware applications I made a big
 downgrade.
 
 I really want I simple editor with unicode, for myself and my users.

As to Unicode, you are probably right. Which is not to say an
internationalized OpenBSD isn't possible, but it's probably less
built-in than in mainstream Linux distributions.

Of course, Unicode is evil, and I for one am pretty happy to limit
myself to straight ASCII for 99% of the text I type, and the latter 1%
is fairly evenly split between 'inconvenient, but no deal-breaker',
'LaTeX can produce accented characters without me needing to leave the
ASCII set' and 'well, this needs doing on a Wintel box anyway'[1].

Joachim

[1] For ease of understanding for the rest of the world, I use a
venerable Adobe Pagemaker for layout. I like LaTeX, but it's not the
easiest program to teach to people, and probably not the most convenient
for the more artsy layouts either.
(Sort of like HTML, now that I think about it, except that I'm free to
compile LaTeX on a non-sucky compiler and send someone the results,
instead of being forced to cater for each bug in all major
implementations... that, and it does formulas with something that can be
described as 'elegance'.)



Re: UTF-8 text editor

2006-07-10 Thread Mackan

On 10 jul 2006, at 21.54, Will H. Backman wrote:


Mackan wrote:


I just upgraded my server OS from Debian/Linux to OpenBSD. But  
it seems
that in the case of Unicode-aware applications I made a big  
downgrade.


I really want I simple editor with unicode, for myself and my users.


Mackan

What was lacking from Debian/Linux that made you decide to switch  
to OpenBSD?


Nothing at all.  Debian/Linux is a very functional and feature-rich OS.
But I like OpenBSD because of its clean design, and being a more  
UNIX'ish OS.
I decided to use it for my new server.  Everything currently running  
on the old
Debian box is now running on the new OpenBSD box.  And If I could  
find a working

utf-8 console editor everything would be perfect!

Perhaps upgrade was the wrong word to use.


Mackan



Re: UTF-8 text editor

2006-07-10 Thread Adam
Joachim Schipper [EMAIL PROTECTED] wrote:

 Of course, Unicode is evil, and I for one am pretty happy to limit
 myself to straight ASCII for 99% of the text I type

No, unicode is not evil.  Making ridiculous statements like that is evil.
The millions of people who's languages are written in characters not in
the ASCII charset should just be happy to limit themselves to ASCII too
right?

Adam



Re: UTF-8 text editor

2006-07-10 Thread Rico Secada
On Mon, 10 Jul 2006 20:27:42 +0200
Mackan [EMAIL PROTECTED] wrote:

 Hi list!
 
 Is there any UTF-8-aware text editor (for terminal use) available
 for OpenBSD? Vi(m) and similar is out of question for me, I never
 learned those.
 
 I tried to compile latest nano from CVS, which support UTF-8, but
 with no luck. I get configure errors saying that my curses don't
 support unicode.
 
 Using 3.9/i386 with GENERIC.
 
 Suggestions anyone?

I am using mcedit which is a part of Midnight Commander (mc). It is based upon 
cooledit which supports unicode. You can install it by using pkg_add mc or 
from ports.

I work a lot with DocBook in UTF8 and I normally use Quanta+ but occasionally I 
need to make a quick change from a terminal. I then use mcedit. I find mcedit 
extremely user friendly and very easy to use. It has a very nice drop down 
menu if you press F9, which for example gives you spelling check via ISpell. 

Best and kind regards,
Rico

 Thanks,
 
 Mackan



Re: UTF-8 text editor

2006-07-10 Thread Jason LaRivière
Joachim Schipper wrote:
 Of course, Unicode is evil,...
 
 [1] For ease of understanding for the rest of the world, I use a
 venerable Adobe Pagemaker for layout.

Erm, wrong on both counts. And for jeebus sake, think of the children
next time you boot up pagemaker. Trust me, anyone who takes your
pagemaker files hates your guts and wishes you would pony up for
InDesign.
-- 
jason



Re: UTF-8 text editor

2006-07-10 Thread Christian Weisgerber
Mackan [EMAIL PROTECTED] wrote:

 Is there any UTF-8-aware text editor (for terminal use) available
 for OpenBSD?

On the occasions where I've needed it, I've used ports/editors/vim
as an UTF-8 text entry widget.  I suspect it suffers severe
shortcomings regarding composing characters in exotic writing
systems, but it's good enough for flavors of Latin-Greek-Cyrillic.

 Vi(m) and similar is out of question for me, I never
 learned those.

The basics of vi(1) are not hard.

People could stand a bit more mental flexibility in that area.  Over
the years I've used Wordstar-style, UCSD-Pascal-style, Emacs-style,
vi-style, and a few other editors and I have failed to form strong
opinions about any of those styles.

 I tried to compile latest nano from CVS, which support UTF-8, but
 with no luck. I get configure errors saying that my curses don't
 support unicode.

Yes, that is going to be a problem.

In the past I've looked at yudit URL:http://www.yudit.org/, but
despite its claim to being intuitive I couldn't quite make sense
of it, so I never created a port.  (I'm aware that this might seem
ironic in the light of my remark above.)

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]