1.2.5-R2.0 console

Discussion in 'Bukkit Help' started by Slugslug, May 19, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Slugslug

    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)
    
     
  2. Offline

    JWhy

  3. Offline

    mcanusrules

    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?
     
  4. Offline

    jacklin213

    redownload java ,craftbukkit and c if it works
     
  5. Offline

    JWhy

    Everybody who downloaded it's previous devbuild/beta
     
  6. Offline

    BobbyD441

    in your start script just write --nojline after craftbukkit.jar:
    java -Xmx1500M -Xms512M -jar craftbukkit.jar --nojline
     
  7. Offline

    Slugslug

    That doesn't work on linux
     
  8. Offline

    BobbyD441

    Why not? i run on a ubuntu 11.10 x64 and works like a charm =)
     
  9. Offline

    Lolmewn

    Why wouldn't it?
    Also, I think this is fixed in later CB builds.
     
  10. Offline

    Slugslug

    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.
     
    Last edited by a moderator: May 25, 2016
  11. Offline

    BobbyD441

    ?.?
    post the error please
     
  12. Offline

    Slugslug

    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
     
  13. Offline

    BobbyD441

    That is normal behavior, if you want to look at older entries for console, open server.log =)
     
  14. Offline

    Slugslug

    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
     
  15. Offline

    BobbyD441

    Well then you just have to wait until new RB or live with the jline errors =)
     
  16. Offline

    Slugslug

    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.
     
  17. Offline

    BobbyD441

    Ah i see =$
    Well you could always downgrade to the old version and wait for the new RB?
     
  18. Offline

    Paswaru

    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
     
  19. Offline

    Slugslug

    both ssh & local Xfce terminal
     
  20. Offline

    Slugslug

    tested on a fresh ubutnu install and it works fine, has anyone got any ideas where to go next ?
     
  21. Offline

    TnT

    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.
     
  22. Offline

    Slugslug

    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
     
  23. Offline

    Bertware

    Update C++? There was a post on this from evilseph if I'm right.
    Something with updated Jline.
     
  24. Offline

    Slugslug

    Solved Thread above your post :)
     
Thread Status:
Not open for further replies.

Share This Page