My text in terminal turns invisible after typing rspec - why?

55 views
Skip to first unread message

Tinmanic

unread,
Oct 14, 2015, 12:46:00 PM10/14/15
to rspec
After I run rspec several times in my Mac's Terminal by typing "rspec", I can no longer see the text I'm typing. In order to see the text again, I have to either open a new Terminal window or type "stty echo".

Why does the text turn invisible, and how can I make it stop doing that?

Myron Marston

unread,
Oct 14, 2015, 1:17:09 PM10/14/15
to rs...@googlegroups.com
I've never seen this behavior from RSpec (and have never heard a user report it before).  RSpec doesn't do anything special with the terminal, either.  Perhaps it has to do with something with your environment?  You might try launching a terminal session with a stock bash profile and see if the problem goes away -- if so, it would point to something in your bash profile causing the problem.

HTH,
Myron

On Wed, Oct 14, 2015 at 8:49 AM, Tinmanic <jeffs...@gmail.com> wrote:
After I run rspec several times in my Mac's Terminal by typing "rspec", I can no longer see the text I'm typing. In order to see the text again, I have to either open a new Terminal window or type "stty echo".

Why does the text turn invisible, and how can I make it stop doing that?

--
You received this message because you are subscribed to the Google Groups "rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rspec+un...@googlegroups.com.
To post to this group, send email to rs...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/e4cc5de8-059b-4b2f-9946-4386fa98fb38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tinmanic

unread,
Oct 15, 2015, 12:00:18 PM10/15/15
to rspec
Thanks, how do I do that? I don't want to delete everything in my existing bash profile.

Also - what is a stock bash profile?

Xavier Shay

unread,
Oct 15, 2015, 12:58:50 PM10/15/15
to rs...@googlegroups.com
 
 
 
On Fri, Oct 16, 2015, at 03:00 AM, Tinmanic wrote:
Thanks, how do I do that? I don't want to delete everything in my existing bash profile.
mv ~/.bash_profile ~/.bash_profile.old
 
to revert, move it back
 
 
Also - what is a stock bash profile?
what you get when you don't provide a custom one, per above.
 

Tinmanic

unread,
Oct 24, 2015, 9:10:57 AM10/24/15
to rspec
Original poster here. I finally figured out the problem. Whenever I was using binding.pry, I was exiting using CTRL-C. That's what caused the problem. When I exit the normal way, by typing "exit!", I don't have this issue. I'll do that from now on.
Reply all
Reply to author
Forward
0 new messages