0

Setup: Mac OSX 10.6.8, Terminal 2.1.2 (273.1)

My Terminal sometimes becomes unresponsive after I enter certain commands. An example is when I put a tail on the catalina.out file though it happens at other times as well.

An example of the steps I take when im putting a tail on.

I go to the startup folder

cd /Applications/Tomcat/apache-tomcat-6.0.16/bin

Enter the start command

sh startup.sh

Go to my logs folder

cd /Applications/Tomcat/apache-tomcat-6.0.16/logs

And put a tail on the catalina.out file

tail -f catalina.out

This all works fine and the terminal window displays the processes as they are being used. However, if I try to type something else in Terminal it becomes unresponsive. If I press the Up or Down arrow to get list the previous commands all I get is for UP is "^[[A" and "^[[B" for DOWN.

When I type e.g. "cd .." and press enter nothing happens

Why does Terminal become unresponsive and how can I make it execute my commands? At the moment I have to quite Terminal each time this happened which is a bit annoying.

4

1 に答える 1

0

tail-fは使用しないでください

代わりにそれを実行したいとき

sh startup.sh

走る:

sh catalina.sh run

すべてをウィンドウに記録します。

または、別のターミナルを開いて、そこからテール-fを実行することもできます。

于 2012-06-05T13:48:32.027 に答える