barneygale / mark2

minecraft server wrapper, written in python with twisted
Other
105 stars 27 forks source link

Error when attaching #65

Closed TheReverend403 closed 11 years ago

TheReverend403 commented 11 years ago

getting an encoding error when attaching with mark2, on Debian.

I followed the installation to the letter.

Steps to reproduce:

screen -S Survival cd /home//servers mark2 start ./Survival mark2 attach

Result:

http://rev.ndev.me/xwn.png

barneygale commented 11 years ago

Hi,

Which SSH client are you using? If putty, please try changing your charset from latin-1 or ISO-whatever to UTF8 or UTF16.

TheReverend403 commented 11 years ago

Yeah, using putty. Tried what you suggested and it still happens. I will try another SSH client and see if it still happens.

barneygale commented 11 years ago

Be sure to start a new screen too! Your old one may have a cached charset I suppose.

Do you have a particular reason you're running in a screen? mark2 provides some of the same functionality (e.g. ctrl-c when attached won't kill the server), and you can switch between servers in a similar way you would screens.

TheReverend403 commented 11 years ago

OK, it /seems/ to be working now, aside from one little thing.

The Ctrl + Arrow key to switch servers doesn't seem to be working, despite them being listed in the wrapper.

http://grab.by/m81S

Any ideas?

barneygale commented 11 years ago

That character set still looks buggered. Run echo $LANG for me inside and outside the screen?

The ctrl+arrow thing I've heard not working in putty. Keyboard shortcuts will be configurable soon, but in the meantime you may have to ctrl-c out and mark2 attach -n foo to switch.

edk0 commented 11 years ago

I'm closing this as it's been inactive for over 2 weeks now

TheReverend403 commented 11 years ago

Oh, yeah. My bad.

Issue resolved, it was a putty issue.