Hi Since updating to 1.2.5-R2.0 Am unable to use the up key to scoll through previous commands in console. am also getting Code: [WARN] Failed to query stty columnsjava.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:503) at java.lang.UNIXProcess.waitFor(UNIXProcess.java:210) at jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:196) at jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:170) at jline.internal.TerminalLineSettings.stty(TerminalLineSettings.java:165) at jline.internal.TerminalLineSettings.get(TerminalLineSettings.java:69) at jline.internal.TerminalLineSettings.getProperty(TerminalLineSettings.java:89) at jline.UnixTerminal.getWidth(UnixTerminal.java:75) at jline.console.ConsoleReader.drawBuffer(ConsoleReader.java:610) at jline.console.ConsoleReader.drawBuffer(ConsoleReader.java:629) at jline.console.ConsoleReader.drawLine(ConsoleReader.java:357) at org.bukkit.craftbukkit.util.TerminalConsoleHandler.flush(TerminalConsoleHandler.java:26) at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:106) at java.util.logging.Logger.log(Logger.java:522) at java.util.logging.Logger.doLog(Logger.java:543) at java.util.logging.Logger.logp(Logger.java:659) at org.bukkit.craftbukkit.LoggerOutputStream.flush(LoggerOutputStream.java:27) at java.io.PrintStream.write(PrintStream.java:482) at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221) at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291) at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:104) at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:185) at java.io.PrintStream.write(PrintStream.java:527) at java.io.PrintStream.print(PrintStream.java:669) at java.io.PrintStream.println(PrintStream.java:806) at net.minecraft.server.Packet.a(Packet.java:96) at net.minecraft.server.NetworkManager.h(NetworkManager.java:149) at net.minecraft.server.NetworkManager.c(NetworkManager.java:268) at net.minecraft.server.NetworkReaderThread.run(SourceFile:76)
Yeah that seems to be 'normal' for that build, we'll need to wait for a fix... In a few hours it COULD be available under this: http://dl.bukkit.org/downloads/craftbukkit/get/01095_1.2.5-R1.4/craftbukkit-dev.jar
Same problems here. I thought it could have been because I'm using OpenJDK but I guess not. Does anybody test this software before they release it?
in your start script just write --nojline after craftbukkit.jar: java -Xmx1500M -Xms512M -jar craftbukkit.jar --nojline
Well I've just ran it with nogui option and the up key just enters garble text Just tried latest beta - still dont work EDIT by Moderator: merged posts, please use the edit button instead of double posting.
there is no error, the up key just enters an invalid key something like "^A" I want the up key to scroll through previous commands. I run server in SCREEN with nogui option
It's not normal, well it wasn't b4 the latest RB I dnt want to look at entries I want to scroll through and re-issue previous commands like in bash
errors I can live with, but the jline does not work (at least not doing what I want). Am not sure you follow the problem Console works fine and text is displayed ok, just no command history to scroll through.
That is because its inserting the ANSI escape codes for Cursor Up, but your terminal does not support ANSI, which is strange for a Linux system. Are you SSHing onto the system by chance? http://en.wikipedia.org/wiki/ANSI_escape_code
If you turn off jline, you lose the ability to hit the up/down arrow inside your Minecraft console to get your previous/next versions. The only times I've seen this fail are when users have an older jline version in their classpath.
The problem was with my ~/.inputrc Had had it customized, not sure why it would work pre 1.2 and not after but removing the file solved it