On 8/3/05, Mattias Schlenker <[EMAIL PROTECTED]> wrote:
> Mayank Jain wrote:
>
> >Hi all,
> >
> >Since all I have used is the Xnest Nokia 770 emulator, I was wondering
> >that does the real thing has the command line utilities, or even
> >supports them?
> >
> >Is the real tablet, an exact implementation of debian (obviously
> >stripped down version)? Can a command line be implemented on the Nokia
> >770?
> >
> >Imagine, you checking the system load via "top"
> >
> >
>
> Why not.
>
> http://postneo.com/pix/maemo_vte2.png
Hi Mattias,
I just tried running "ls" in 770 XNest window. The output was "TODO".
This is with the stock installation of Maemo/scratchbox. But, your
screenshot shows different output. Why so? Did you installed something
else also, like some "base" packages... sort of?
I'm using the following code to hook into the command's output...
// do a popen & connect it to buffer of m_textView
fd = popen(command, "r");
if(fd == NULL)
g_print("Popen failed!\n");
while(fgets(temp_buffer, 1024, fd))
{
gtk_text_buffer_set_text(buffer, temp_buffer,
strlen(temp_buffer));
gtk_text_view_set_buffer(GTK_TEXT_VIEW(m_textView), buffer);
}
pclose(fd);
--
regards,
makuchaku
---
http://makuchaku.info
When you speak out with the courage of your convictions, people listen!
-- Valmik Thapar, Wildlife Conservationist.
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers