- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Windows Vista and REPL caret disappearing
Tue, 2010-06-22, 06:15
Hi,
another strange problem. I've noticed the cursor disappears when I move
it in scala console and sbt console. I don't know how far I moved the
cursor - I must release the arrow key, wait half a second until the
cursor starts blinking and in 90% cases I can see I have it in a wrong
place... Very uncomfortable. In most text editors the behaviour is just
the opposite: the caret is shown permanently while moving (it doesn't
even blink).
However, in the standard windows command line window, before I launch
scala, the caret behaves like it should. Also in the standard command
line editor launched by "edit", the cursor behaves ok. So I think the
problem might be related to scala or some of the libraries it uses for
handling CLI.
Can you also see it, or is it something with my Windows configuration
(Vista Home Premium, Scala 2.8.0.RC6)?
Regards,
Piotr Kołaczkowski
Tue, 2010-06-22, 14:37
#2
Re: Windows Vista and REPL caret disappearing
2010/6/22 Ruediger Keller <ruediger@rk42.de>
I see it too, and it's annoying, but nowhere near rendering REPL useless.
I have exactly the same problem! I experience it on both WinXP and
Win7 x64. It seems all versions of windows are affected. Very annoying
and almost rendering the REPL useless.
I see it too, and it's annoying, but nowhere near rendering REPL useless.
Tue, 2010-06-22, 15:17
#3
Re: Windows Vista and REPL caret disappearing
Ok, maybe I was exaggerating, but IMHO it is extremely annoying and
significantly hinders REPL usage.
Regards,
Ruediger
2010/6/22 Nils Kilden-Pedersen :
> 2010/6/22 Ruediger Keller
>>
>> I have exactly the same problem! I experience it on both WinXP and
>> Win7 x64. It seems all versions of windows are affected. Very annoying
>> and almost rendering the REPL useless.
>
> I see it too, and it's annoying, but nowhere near rendering REPL useless.
>
Tue, 2010-06-22, 18:37
#4
Re: Windows Vista and REPL caret disappearing
I have the exact same problem with every console-based REPL I use on Windows, not just the Scala REPL.
2010/6/22 Ruediger Keller <ruediger@rk42.de>
--
http://erikengbrecht.blogspot.com/
2010/6/22 Ruediger Keller <ruediger@rk42.de>
I have exactly the same problem! I experience it on both WinXP and
Win7 x64. It seems all versions of windows are affected. Very annoying
and almost rendering the REPL useless.
Regrads,
Ruediger
2010/6/22 Piotr Kołaczkowski <pkolaczk@elka.pw.edu.pl>:
> Hi,
>
> another strange problem. I've noticed the cursor disappears when I move it
> in scala console and sbt console. I don't know how far I moved the cursor -
> I must release the arrow key, wait half a second until the cursor starts
> blinking and in 90% cases I can see I have it in a wrong place... Very
> uncomfortable. In most text editors the behaviour is just the opposite: the
> caret is shown permanently while moving (it doesn't even blink).
>
> However, in the standard windows command line window, before I launch scala,
> the caret behaves like it should. Also in the standard command line editor
> launched by "edit", the cursor behaves ok. So I think the problem might be
> related to scala or some of the libraries it uses for handling CLI.
>
> Can you also see it, or is it something with my Windows configuration (Vista
> Home Premium, Scala 2.8.0.RC6)?
>
> Regards,
> Piotr Kołaczkowski
>
>
>
--
http://erikengbrecht.blogspot.com/
Tue, 2010-06-22, 20:47
#5
Re: Windows Vista and REPL caret disappearing
W dniu 2010-06-22 19:27, Erik Engbrecht pisze:
> I have the exact same problem with every console-based REPL I use on
> Windows, not just the Scala REPL.
So perhaps it is a library issue?
The builtin windows or native software is not affected - shell works ok,
edit works ok, psql interactive shell works ok, git console works
correctly, too.
Regards,
Piotr Kołaczkowski
>
> 2010/6/22 Ruediger Keller >
>
> I have exactly the same problem! I experience it on both WinXP and
> Win7 x64. It seems all versions of windows are affected. Very annoying
> and almost rendering the REPL useless.
>
> Regrads,
> Ruediger
>
>
> 2010/6/22 Piotr Kołaczkowski
> >:
> > Hi,
> >
> > another strange problem. I've noticed the cursor disappears when
> I move it
> > in scala console and sbt console. I don't know how far I moved
> the cursor -
> > I must release the arrow key, wait half a second until the cursor
> starts
> > blinking and in 90% cases I can see I have it in a wrong place...
> Very
> > uncomfortable. In most text editors the behaviour is just the
> opposite: the
> > caret is shown permanently while moving (it doesn't even blink).
> >
> > However, in the standard windows command line window, before I
> launch scala,
> > the caret behaves like it should. Also in the standard command
> line editor
> > launched by "edit", the cursor behaves ok. So I think the problem
> might be
> > related to scala or some of the libraries it uses for handling CLI.
> >
> > Can you also see it, or is it something with my Windows
> configuration (Vista
> > Home Premium, Scala 2.8.0.RC6)?
> >
> > Regards,
> > Piotr Kołaczkowski
> >
> >
> >
>
>
>
>
> --
> http://erikengbrecht.blogspot.com/
Tue, 2010-06-22, 20:57
#6
Re: Windows Vista and REPL caret disappearing
W dniu 2010-06-22 19:27, Erik Engbrecht pisze:
> I have the exact same problem with every console-based REPL I use on
> Windows, not just the Scala REPL.
Hmm, I've just found an open ticket for it #2547.
------------------
On Windows, scala interpreter does not show caret(or cursor) during
left/right arrow keys are pressed.
Suppose I typing like below.
scala> println("Helo scala"
Caret is end of line. When I try to go back few chars to correct "Helo"
to "Hello", scala interpreter does not showing caret, during left arrow
key pressed down.
I can't see where I am now during move around in line. I hope this to be
fixed.
Environment:
-Windows XP SP3 -Scala 2.7.7 final (I tried with some build of 2.8,
but situation does not seems to fixed)
---------------------
Have anyone told the jline developers to fix this?
Regards,
Piotr Kołaczkowski
>
> 2010/6/22 Ruediger Keller >
>
> I have exactly the same problem! I experience it on both WinXP and
> Win7 x64. It seems all versions of windows are affected. Very annoying
> and almost rendering the REPL useless.
>
> Regrads,
> Ruediger
>
>
> 2010/6/22 Piotr Kołaczkowski
> >:
> > Hi,
> >
> > another strange problem. I've noticed the cursor disappears when
> I move it
> > in scala console and sbt console. I don't know how far I moved
> the cursor -
> > I must release the arrow key, wait half a second until the cursor
> starts
> > blinking and in 90% cases I can see I have it in a wrong place...
> Very
> > uncomfortable. In most text editors the behaviour is just the
> opposite: the
> > caret is shown permanently while moving (it doesn't even blink).
> >
> > However, in the standard windows command line window, before I
> launch scala,
> > the caret behaves like it should. Also in the standard command
> line editor
> > launched by "edit", the cursor behaves ok. So I think the problem
> might be
> > related to scala or some of the libraries it uses for handling CLI.
> >
> > Can you also see it, or is it something with my Windows
> configuration (Vista
> > Home Premium, Scala 2.8.0.RC6)?
> >
> > Regards,
> > Piotr Kołaczkowski
> >
> >
> >
>
>
>
>
> --
> http://erikengbrecht.blogspot.com/
Tue, 2010-06-22, 21:07
#7
Re: Windows Vista and REPL caret disappearing
W dniu 2010-06-22 21:42, Piotr Kołaczkowski pisze:
> W dniu 2010-06-22 19:27, Erik Engbrecht pisze:
>> I have the exact same problem with every console-based REPL I use on
>> Windows, not just the Scala REPL.
>
> Hmm, I've just found an open ticket for it #2547.
Ok, I have added an issue to the jline bugtracker:
3019805
http://sourceforge.net/tracker/?group_id=64033&atid=506056
I hope, they will fix it soon.
Regards,
Piotr Kołaczkowski
Tue, 2010-06-22, 21:37
#8
Re: Re: Windows Vista and REPL caret disappearing
Everything works on Linux. This seems to be Windows-only problem.
2010/6/22 Piotr Kołaczkowski :
> W dniu 2010-06-22 21:42, Piotr Kołaczkowski pisze:
>>
>> W dniu 2010-06-22 19:27, Erik Engbrecht pisze:
>>>
>>> I have the exact same problem with every console-based REPL I use on
>>> Windows, not just the Scala REPL.
>>
>> Hmm, I've just found an open ticket for it #2547.
>
>
> Ok, I have added an issue to the jline bugtracker:
> 3019805
>
> http://sourceforge.net/tracker/?group_id=64033&atid=506056
>
> I hope, they will fix it soon.
>
> Regards,
> Piotr Kołaczkowski
>
>
Wed, 2010-06-23, 00:17
#9
Re: Re: Windows Vista and REPL caret disappearing
On Tue, Jun 22, 2010 at 09:42:38PM +0200, Piotr Kołaczkowski wrote:
> Have anyone told the jline developers to fix this?
Ha, ha. jline has been abandonware for a long time. Many people have
forked it in various directions, us included. Recently nutter from
jruby has made an effort to consolidate the various fixes which are
spread around town. I tried rolling that branch a few weeks ago but for
whatever reason it didn't work at all with scala trunk and that was the
extent of my interest.
http://sourceforge.net/mailarchive/message.php?msg_name=AANLkTildXcat29J...
Anyway, it's buggy, we know, and waiting around for someone to fix it
has not been the slam-dunk strategy I've have thought. Maybe it will
work out better for you than it has for me!
Wed, 2010-06-23, 04:51
#10
Re: Re: Windows Vista and REPL caret disappearing
Well, I swear I've seen it with Python and Ruby repls under Windows XP.
2010/6/22 Piotr Kołaczkowski <pkolaczk@elka.pw.edu.pl>
--
http://erikengbrecht.blogspot.com/
2010/6/22 Piotr Kołaczkowski <pkolaczk@elka.pw.edu.pl>
W dniu 2010-06-22 19:27, Erik Engbrecht pisze:
I have the exact same problem with every console-based REPL I use on
Windows, not just the Scala REPL.
So perhaps it is a library issue?
The builtin windows or native software is not affected - shell works ok, edit works ok, psql interactive shell works ok, git console works correctly, too.
Regards,
Piotr Kołaczkowski
2010/6/22 Ruediger Keller <ruediger@rk42.de
<mailto:ruediger@rk42.de>>
I have exactly the same problem! I experience it on both WinXP and
Win7 x64. It seems all versions of windows are affected. Very annoying
and almost rendering the REPL useless.
Regrads,
Ruediger
2010/6/22 Piotr Kołaczkowski
<pkolaczk@elka.pw.edu.pl
<mailto:pkolaczk@elka.pw.edu.pl>>:
> Hi,
>
> another strange problem. I've noticed the cursor disappears when
I move it
> in scala console and sbt console. I don't know how far I moved
the cursor -
> I must release the arrow key, wait half a second until the cursor
starts
> blinking and in 90% cases I can see I have it in a wrong place...
Very
> uncomfortable. In most text editors the behaviour is just the
opposite: the
> caret is shown permanently while moving (it doesn't even blink).
>
> However, in the standard windows command line window, before I
launch scala,
> the caret behaves like it should. Also in the standard command
line editor
> launched by "edit", the cursor behaves ok. So I think the problem
might be
> related to scala or some of the libraries it uses for handling CLI.
>
> Can you also see it, or is it something with my Windows
configuration (Vista
> Home Premium, Scala 2.8.0.RC6)?
>
> Regards,
> Piotr Kołaczkowski
>
>
>
--
http://erikengbrecht.blogspot.com/
--
http://erikengbrecht.blogspot.com/
Wed, 2010-06-23, 21:07
#11
Re: Windows Vista and REPL caret disappearing
2010/6/21 Piotr Kołaczkowski <pkolaczk@elka.pw.edu.pl>
FYI, I'm using Console2 on Windows 7 and am not having this issue:
http://sourceforge.net/projects/console/
Might be worth a shot.-Mike
Hi,
another strange problem. I've noticed the cursor disappears when I move it in scala console and sbt console.
FYI, I'm using Console2 on Windows 7 and am not having this issue:
http://sourceforge.net/projects/console/
Might be worth a shot.-Mike
Thu, 2010-06-24, 09:37
#12
Re: Windows Vista and REPL caret disappearing
W dniu 2010-06-23 22:05, Michael Chambliss pisze:
> 2010/6/21 Piotr Kołaczkowski
> >
>
> Hi,
>
> another strange problem. I've noticed the cursor disappears when I
> move it in scala console and sbt console.
>
>
> FYI, I'm using Console2 on Windows 7 and am not having this issue:
>
> http://sourceforge.net/projects/console/
>
> Might be worth a shot.
> -Mike
>
It works for me too! It solves the problem completely and additionally
enables nicer fonts. Thank you very very very much. :)
Regards,
Piotr Kołaczkowski
I have exactly the same problem! I experience it on both WinXP and
Win7 x64. It seems all versions of windows are affected. Very annoying
and almost rendering the REPL useless.
Regrads,
Ruediger
2010/6/22 Piotr Kołaczkowski :
> Hi,
>
> another strange problem. I've noticed the cursor disappears when I move it
> in scala console and sbt console. I don't know how far I moved the cursor -
> I must release the arrow key, wait half a second until the cursor starts
> blinking and in 90% cases I can see I have it in a wrong place... Very
> uncomfortable. In most text editors the behaviour is just the opposite: the
> caret is shown permanently while moving (it doesn't even blink).
>
> However, in the standard windows command line window, before I launch scala,
> the caret behaves like it should. Also in the standard command line editor
> launched by "edit", the cursor behaves ok. So I think the problem might be
> related to scala or some of the libraries it uses for handling CLI.
>
> Can you also see it, or is it something with my Windows configuration (Vista
> Home Premium, Scala 2.8.0.RC6)?
>
> Regards,
> Piotr Kołaczkowski
>
>
>