Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[9fans] plan9port, drawterm cvs deprecated - use mercurial

13 views
Skip to first unread message

Russ Cox

unread,
Dec 8, 2009, 3:14:03 PM12/8/09
to
If you're using CVS to get plan9port or drawterm,
it's time to switch to Mercurial.
http://swtch.com/plan9port/man/man1/hg.html

More detail follows, for those who care.

In November 2007 I added support for fetching
Plan 9 from User Space via Mercurial instead
of CVS. For the past two years I've been keeping
both repositories in sync, but I am no longer able
to do so--the chewing gum and duct tape holding
them together has broken yet again and I am not
going to bother trying to fix it. I have changed the
copy of INSTALL in the CVS repository to point
at the Mercurial instructions, and I will leave the
CVS repository alone for at least a few months before
deleting it. The drawterm situation is the same,
although there the Mercurial repository is a more
recent arrival.

If you need to install Mercurial, I've found that
"sudo easy_install mercurial" works on both
Linux and OS X and installs a newer version
than apt-get does on Ubuntu.

Sorry for the inconvenience.

Russ


P.S. If you are already using Mercurial for plan9port,
please check your $PLAN9/.hg/hgrc file and
make sure the "default =" line reads

default = http://code.swtch.com/plan9port/

If you were an early Mercurial adopter, you might
instead have a line like

default = http://hg.pdos.csail.mit.edu/hg/plan9/ # NOT THIS

If so, edit the file to make it use the first URL.

koka...@hera.eonet.ne.jp

unread,
Dec 9, 2009, 8:16:54 AM12/9/09
to
> If you're using CVS to get plan9port or drawterm,
> it's time to switch to Mercurial.
> http://swtch.com/plan9port/man/man1/hg.html

I happen to have a japanese version of macbook with snow leopard recently.
I use this machine for my lecture in our Univ. an then, I needed to have
drawterm on it.

I worked out it now, and I can use ktrans with it using Shift+Space or
control+backslash key as its trigger key for conversion. I'm now
using that drawterm from snow leopard's dock.

If anyone wants this please let me know it.

Kenji

PS. Russ, do I need to send it to you?


Anthony Sorace

unread,
Dec 9, 2009, 9:59:42 AM12/9/09
to
I'm interested in the changes, although I'm mostly using 9vx rather
than drawterm. I tried to get ktrans running again a few months ago
and couldn't make it work, regardless of trigger. Is there an updated
version of that available somewhere, as well?

Tim Newsham

unread,
Dec 9, 2009, 2:18:27 PM12/9/09
to
> Sorry for the inconvenience.

Thank you for all the effort!

> Russ

Tim Newsham | www.thenewsh.com/~newsham | thenewsh.blogspot.com

koka...@hera.eonet.ne.jp

unread,
Dec 10, 2009, 5:55:43 AM12/10/09
to

Changes are very small, just gui-osx/keycodes.h and gui-osx/screen.c.
As Russ has no interest on this, I'll put the change to our web site
http://basalt.las.osakafu-u.ac.jp/plan9 tommorrow.
(Note that our domain changed from cias to las.)
Change the two files, and get compile it with force to 32 bit mode.

ktrans has also been very small change, too.

ctl+n for Nihongo input and shift+space or ctl+backspace advance the conversion
from かな to 漢字, and ctl+x reread the dictionary etc.

It's fun to use ktrans from macbook.☺

Kenji


Russ Cox

unread,
Dec 10, 2009, 11:32:20 PM12/10/09
to
> Changes are very small, just gui-osx/keycodes.h and gui-osx/screen.c.
> As Russ has no interest on this, I'll put the change to our web site
> http://basalt.las.osakafu-u.ac.jp/plan9 tommorrow.

I'm interested, just busy.
If you have plan9port installed and drawterm
checked out from Mercurial, please run

codereview gui-osx/keycodes.h gui-osx/screen.c

to send the changes to the code review server
I use for these. That makes them easy for me
to apply to the tree. (Same goes for vx32 and
plan9port, if anyone else is interested. The
codereview command is part of plan9port.)

Russ

koka...@hera.eonet.ne.jp

unread,
Dec 11, 2009, 7:42:00 AM12/11/09
to

koka...@hera.eonet.ne.jp

unread,
Dec 11, 2009, 7:54:24 AM12/11/09
to
> I'm interested, just busy.
> If you have plan9port installed and drawterm
> checked out from Mercurial, please run
>
> codereview gui-osx/keycodes.h gui-osx/screen.c

Oops, I'll do it later.
I'm now and till the next monday apart from our Univ, so,
It'll take a few days. (I'm going to play with deers a cupple of days).

Kenji

PS. I know you are very busy now. I'm also busy to read
such a big amount of posts to go lang world. ☺


koka...@hera.eonet.ne.jp

unread,
Dec 21, 2009, 7:05:02 AM12/21/09
to
> http://basalt.las.osakafu-u.ac.jp/plan9/s56.html

also has updated ktrans and howto setup ktrans for
drawterm, which is same for 9vx, too.

Key point is to send '0x1c' character to console when to make trigger
the かな to 漢字 Japanese translation.

Kenji


0 new messages