Arjan van de Ven wrote: > David SIORPAES wrote: >> Hello, >> >> >> I tried to run powertop from within an Android shell, but I ended up >> with the following message: >> >> Error opening terminal: unknown. >> >> Which is thrown out by the initscr() ncurses initialization call. >> I have managed to work this around by installing relevant terminfo >> files in /usr/share/terminfo/ and by setting TERM=linux, but I was >> wondering whether there could be a cleaner way to fix this. >> > > realistically powertop is designed to run on linux, in a linux > environment. > if you try hard to make your environment not look like linux.. it's > not going to work well. > so yes, fixing your environment is the right way to do this.
Hi Arjan, thanks for your kind reply. I understand your point. I guess my question could be reformulated as "Would it be possible to make Powertop run in other non-Linux environments as well ? ". I think this could be very useful, especially in the embedded domain. For example, I can install Busybox in Android and then utilize a bunch of very useful tools such as "top", and "vi" without a problem, even if I am not in a full fledged Linux environment. Thanks, David _______________________________________________ Power mailing list [email protected] http://www.bughost.org/mailman/listinfo/power
