Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Julia does not show prompt in Emacs #8580

Closed
rhymer opened this issue Oct 5, 2014 · 6 comments
Closed

Julia does not show prompt in Emacs #8580

rhymer opened this issue Oct 5, 2014 · 6 comments

Comments

@rhymer
Copy link

rhymer commented Oct 5, 2014

I use Emacs 24.3.1 under Windows 7 x64. When I M-x shell and julia to execute julia.exe (not via ESS), there are several problems:

  • There is no splash.
  • There is no prompt.
  • Expression ending with a semicolon still shows its value.
  • Type ?help gives ERROR: syntax: extra token "help" after end of expression

Here's how it looks in Emacs:
image

If I execute julia.exe from cmd then everything is fine:
image

Here is my versioninfo(true):

Julia Version 0.3.0
Commit 7681878 (2014-08-20 20:43 UTC)
Platform Info:
System: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz
WORD_SIZE: 64
Microsoft Windows [Version 6.1.7601]
uname: MINGW32_NT-6.1 1.0.12(0.46/3/2) 2012-07-05 14:56 i686 unknown
Memory: 3.7029266357421875 GB (298.31640625 MB free)
Uptime: 92575.65727 sec
Load Avg: 0.0 0.0 0.0
Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz:
speed user nice sys idle irq ticks

1 2594 MHz 5419973 0 3710124 83446276 41761 ticks

2 2594 MHz 1938640 0 3134356 87502879 1550400 ticks

3 2594 MHz 4817014 0 3269203 84489533 24772 ticks

4 2594 MHz 1013819 0 626765 90935042 21231 ticks

BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
LAPACK: libopenblas
LIBM: libopenlibm
LLVM: libLLVM-3.3
Environment:
CLASSPATH = .;C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip
HOMEDRIVE = C:
HOMEPATH = \Users\X230
JULIA_PKGDIR = C:\Users\X230.julia
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
Package Directory: C:\Users\X230.julia

Any idea how to fix it? Thanks!

@pao
Copy link
Member

pao commented Oct 5, 2014

I believe you need to use julia-basic.exe--give that a shot.

@rhymer
Copy link
Author

rhymer commented Oct 5, 2014

@pao Thanks for your reply. I tried julia-basic.exe from Julia 0.2.0 and the problem still persists:
image

Also I believe that there is no julia-basic.exe starting from Julia 0.3.

@pao
Copy link
Member

pao commented Oct 5, 2014

hrm, then I'm not sure...is this #5271?

@rhymer
Copy link
Author

rhymer commented Oct 5, 2014

Yes ESS gives me the same problem. I think it is not the problem of ESS but the problem between Emacs and Julia.
It was pointed out in #5271 that this issue is related to #4589 but It's not clear to me how to solve the problem. I guess my Julia experience will be smoother on Linux machines.

@pao
Copy link
Member

pao commented Oct 5, 2014

The Windows version has come a very long way, but yeah, still going to be a bit smoother on other operating systems. It doesn't appear there is a fix for this at the moment, but since this appears to duplicate #5271 I will close this issue in favor of that one. Thanks!

@pao pao closed this as completed Oct 5, 2014
@tkelman
Copy link
Contributor

tkelman commented Nov 21, 2014

partially my fault, see #6560 and #6428. You can try setting the TERM environment variable to see if that makes a difference. Sorry I missed this issue last month.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants