Re: Wrong result of get_position()

new topic     » goto parent     » topic index » view thread      » older message » newer message
SDPringle said...

Is \e6n] supposed to display the coordinates to the screen?

Yes it does.

SDPringle said...

If it does, you should expect that the act of displaying the value should change the value.

No, it doesn't see itself, it counts the positions of my letters only.

SDPringle said...

I can display these characters in jEdit but when I run this on my Windows console, the position values are correct but the characters are all wrong.

The Windows console doesn't work as utf-8 console. It is pure one-byte console. I do not have any problems there. I use cp866 and it is ok.

But Linux console is the utf-8 thing, so I have to recode cp866 to utf-8 to get Russian on the Linux screen. Or I can to do "unicode_stop" on that console, then load font and map, then use pure cp866. But after "unicode_stop" MC doesn't work properly.

SDPringle said...

Maybe you can tell us where on the screen the cursor goes on your screen.

Try please the Linux console and you'll see that picture yourself. And different Linux consoles give different results.

Regards


kinz

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu