Sorry I've posted a same mail on vim_dev then I realized that I've posted
in a wrong mailing list.
My question is more specific for n900, but I don't know where to get help,
so I try to seek it here ;p
vim works fine on n900's port, except it doesn't support 'autochdir', I'm
very curious about it.
The big question is that, I don't know how to copy strings in system's
clipboard, register * and + doesn't work even vim has compiled to support
the feature. In normal way, I can make a selection then click xterm's menu
then choise copy, but it's too slow. So my question is that if it possible
to copy strings directly by vim?
--
Regards,
Yue Wu
State Key laboratory of Natural Products and Functions
Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China
Hello,
A quick google search shows that Nokia makes a smartphone called the
N900; the wiki article mentions Maemo 5 (although I still have no idea
what it is).
Regards,
Chip Campbell
Maemo is a smartphone operating system. See
http://en.wikipedia.org/wiki/Maemo for details.
Best regards,
Tony.
--
BLISS is ignorance
>
>
> On Nov 10, 8:21 am, "Yue Wu" <vano...@gmail.com> wrote:
>> Hello list,
>>
>> Sorry I've posted a same mail on vim_dev then I realized that I've
>> posted
>> in a wrong mailing list.
>>
>> My question is more specific for n900, but I don't know where to get
>> help,
>> so I try to seek it here ;p
>>
>> vim works fine on n900's port, except it doesn't support 'autochdir',
>> I'm
>> very curious about it.
>>
>
> What's not supported about it? It's there but doesn't work? Or it's
> not there at all?
>
>> The big question is that, I don't know how to copy strings in system's
>> clipboard, register * and + doesn't work even vim has compiled to
>> support
>> the feature. In normal way, I can make a selection then click xterm's
>> menu
>> then choise copy, but it's too slow. So my question is that if it
>> possible
>> to copy strings directly by vim?
>>
>
> I don't know, I am pretty sure if your Vim is compiled for it, it
> should work. But then, I don't know what n900 refers to. Maybe you
> need an X server running.
>
> You can try some of the suggestions (especially in the comments) here:
>
> http://vim.wikia.com/wiki/Clipboard
>
After testing again, I find that, register + works fine for English
charactors, but Chinese charactors couldn't be copied at all, after copied
from vim, all Chinese charactors were disappeared.
> Ben Fritz wrote:
>> [snip]
>> I don't know, I am pretty sure if your Vim is compiled for it, it
>> should work. But then, I don't know what n900 refers to. Maybe you
>> need an X server running.
>>
> [snip]
>
> Hello,
>
> A quick google search shows that Nokia makes a smartphone called the
> N900; the wiki article mentions Maemo 5 (although I still have no idea
> what it is).
>
> Regards,
> Chip Campbell
>
As Tony said, maemo is the OS for smart phone of nokia n900, it's based on
debian.
Strange. I'm tempted to say that it sounds like there's something wrong
with the Maemo clipboard but I don't know that system well enough. What
is your system locale (what does Vim answer to the :lang command with no
arguments)? Is it possible to set it (before starting Vim) to some
Unicode locale, similar to the en_US.UTF-8 which I use on my desktop
Linux system? Maybe zh_CN.UTF-8 for Simplified Chinese or zh_TW.UTF-8
for Traditional Chinese? And of course have Vim compiled with
+multi_byte and run it with 'encoding' set to utf-8, see
http://vim.wikia.com/wiki/Working_with_Unicode
Best regards,
Tony.
--
"I don't think they could put him in a mental hospital. On the other
hand, if he were already in, I don't think they'd let him out."
On Thu, Nov 10, 2011 at 3:21 PM, Yue Wu <van...@gmail.com> wrote:
> My question is more specific for n900, but I don't know where to get help,
> so I try to seek it here ;p
>
> vim works fine on n900's port, except it doesn't support 'autochdir', I'm
> very curious about it.
>
> The big question is that, I don't know how to copy strings in system's
> clipboard, register * and + doesn't work even vim has compiled to support
> the feature. In normal way, I can make a selection then click xterm's menu
> then choise copy, but it's too slow. So my question is that if it possible
> to copy strings directly by vim?
I'm using N800 which also has Maemo. From my experience the exchange via system
clipboard is not very reliable on this system. It has nothing to do
with vim, it is the system
itself that introduces complexities. As far as I can tell the system
is not using regular X selections
for exchange between applications. So withing single application the
exchange is working, but
to send selection to another application special adjustments to
software have to be taken.
Andrei
> On 11/11/11 09:31, Yue Wu wrote:
>> On Thu, 10 Nov 2011 23:52:44 +0800, Ben Fritz <fritzo...@gmail.com>
>> wrote:
>>
>>>
>>>
>>> On Nov 10, 8:21 am, "Yue Wu" <vano...@gmail.com> wrote:
>>>> Hello list,
>>>>
>>>> Sorry I've posted a same mail on vim_dev then I realized that I've
>>>> posted
>>>> in a wrong mailing list.
>>>>
>>>> My question is more specific for n900, but I don't know where to get
>>>> help,
>>>> so I try to seek it here ;p
>>>>
>>>> vim works fine on n900's port, except it doesn't support 'autochdir',
>>>> I'm
>>>> very curious about it.
>>>>
>>>
>>> What's not supported about it? It's there but doesn't work? Or it's
>>> not there at all?
>>>
>>>> The big question is that, I don't know how to copy strings in system's
>>>> clipboard, register * and + doesn't work even vim has compiled to
>>>> support
>>>> the feature. In normal way, I can make a selection then click xterm's
>>>> menu
>>>> then choise copy, but it's too slow. So my question is that if it
>>>> possible
>>>> to copy strings directly by vim?
>>>>
>>>
>>> I don't know, I am pretty sure if your Vim is compiled for it, it
>>> should work. But then, I don't know what n900 refers to. Maybe you
>>> need an X server running.
>>>
>>> You can try some of the suggestions (especially in the comments) here:
>>>
>>> http://vim.wikia.com/wiki/Clipboard
>>>
>>
>> After testing again, I find that, register + works fine for English
>> charactors, but Chinese charactors couldn't be copied at all, after
>> copied from vim, all Chinese charactors were disappeared.
>>
>
> Strange. I'm tempted to say that it sounds like there's something wrong
> with the Maemo clipboard but I don't know that system well enough. What
> is your system locale (what does Vim answer to the :lang command with no
> arguments)? Is it possible to set it (before starting Vim) to some
> Unicode locale, similar to the en_US.UTF-8 which I use on my desktop
> Linux system? Maybe zh_CN.UTF-8 for Simplified Chinese or zh_TW.UTF-8
> for Traditional Chinese? And of course have Vim compiled with
> +multi_byte and run it with 'encoding' set to utf-8, see
> http://vim.wikia.com/wiki/Working_with_Unicode
Actually, I've noticed this issue on freebsd for a long time too, vim
can't copy Chinese correctly on xterm to other external GUI apps except
xterm itself, I have to use xterm's mechanism for copying. Locale on both
os(maemo and FreeBSD) are en_US.UTF-8, vim's option 'encoding' is set to
utf-8 too.
I've reported the issue [1] before, don't know if the issue is related to
vim or other apps.
>
>
> Best regards,
> Tony.