Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[Q] bash shell job control not working

$
0
0
I ssh into my CM 7.2 Passion/Nexus One device and use bash as my shell, but I am having problems with job control.

I start a task, like vi, less, or whatever, and then I ctrl+z it to background the task. Backgrounding seems to work as expected.

However, I am unable to fg the task. It just instantly stops and I am unable to resume.

"jobs" shows all the tasks that I've backgrounded, but I am unable to resume any of them.

The bash that comes with CM 7.2 is bash 4.1, so I went and compiled my own bash 4.1 and a bash 4.2, but they are also having trouble with job control.

Does anyone have a clue what the problem is here, or have a bash with working job control?

Note that the built-in system ash/sh job control is working... mostly. I can fg the last suspended task, but if I "fg 1" it seems to not understand the job spec argument... dunno what's up with that.

I hear that Terminal IDE comes with it's own bash. I need to go try that next...

Viewing all articles
Browse latest Browse all 3614

Trending Articles