Dars helps break my shell

I just installed darcs 2.1.2.2. When I type darcs help, fewer similar ones appear. When I dismiss it with q, it disappears, but I am not getting prompts and cannot execute any commands. Cc doesn't work either. I am using bash for gentoo.

0


source to share


2 answers


I have no idea what darcs are, but when bash is unable to return to the prompt, that some command as part of the pipeline is still running. For example, if you ran:

cmd | less

      



And came out less but cmd didn't die from the broken pipe, then cmd would keep running and bash would keep waiting until it exited. It also might not respond to signals and keystrokes if it did not have access to the tty.

You will need a second terminal to check if any processes hang after trying to dismiss darcs. Sometimes Ctrl-Z or Ctrl- \ will work if Ctrl-C doesn't work. There is probably no solution other than looking at the dark and figuring out why it is not shrinking as it should. If it is indeed running less then perhaps typing ">" before "q" will cause it to exit correctly.

+2


source


In this situation (the terminal is confused, cannot see what you are typing) the "reset" command often corrects the situation.



I would try again with new darcs like version 2.3 released today. If the problem still occurs, perhaps you can change this behavior - see the darcs manual. Otherwise the people on #darcs irc can help.

+1


source







All Articles