Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy do I see scrabbled output when using JSch?
    primarykey
    data
    text
    <p>I am trying to use <code>JSch</code>. I tried the example <a href="http://www.jcraft.com/jsch/examples/Shell.java.html" rel="nofollow">here</a> Although I can connect the output is weird.<br> I get the following: </p> <pre><code>Last login: Thu Jan 31 19:44:25 2013 from 10.2.251.77 [1mcli:~ # [m </code></pre> <p>And if I do e.g. an <code>ls</code> I get: </p> <pre><code>[0m[01;34m.InstallAnywhere[0m [00m.bash_history [00m.bash_profile[0m [01;34mbin[0m [00msles11-patched[0m [01;34m.kbd[0m [00mindex.html[0m [00mtest.sql[0m [00m.viminfo[0m [00;31mipvsadm-1.26-1.src.rpm[0m [m[1mcli:~ # [m </code></pre> <p>These are the directory contents but why are they displayed like that?<br> I am running in this from Eclipse and this is what I see in Eclipse output. If I run this from Windows <code>CMD</code> it stucks </p> <p><strong>Update:</strong><br> I noticed that if I connect to a different linux the output is fine!<br> Only if I connect to a specific linux installation I see these weird characters! Any idea what is causing this? </p> <p><strong>Update2:</strong><br> Following the link of @PeterMmm I did <code>printf "äöü" | xxd</code>. Both the "bad" and good one give:<br> <code>0000000: e4f6 fc</code><br> I also did <code>locale</code>.<br> In the "bad" case: </p> <pre><code># locale LANG=POSIX LC_CTYPE=en_US.UTF-8 LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= </code></pre> <p>In the good system: </p> <pre><code>LANG=POSIX LC_CTYPE=en_US.UTF-8 LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= </code></pre> <p>Configuration seems to be the same. So what could be causing this?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload