Staring/Stopping brick menu

This is where you talk about the EV3 software itself, installation issues, and programming talk.

Moderators: roger, gloomyandy, skoehler

Staring/Stopping brick menu

Postby stash-s » Fri Jan 03, 2014 3:19 pm

Hello,

How do you stop the interactive menu from the ssh console?

I was trying to execute the samples through ssh console to see the messages printed on standard output. It worked, but the programs seemed to compete with menu app, which led to constant blinking.

Brutally killing the Java process did the trick (stopped the menu from displaying).

Is there a more elegant solution to that in place already?

Regards,
Staszek
stash-s
New User
 
Posts: 2
Joined: Fri Jan 03, 2014 10:47 am

Re: Staring/Stopping brick menu

Postby gloomyandy » Fri Jan 03, 2014 3:26 pm

There is a command on the menu to suspend operation. can't remember which section it is in.
User avatar
gloomyandy
leJOS Team Member
 
Posts: 3643
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Re: Staring/Stopping brick menu

Postby lawrie » Fri Jan 03, 2014 4:19 pm

Its in the System menu, and Enter+Down will start the menu again.

It is also possible to suspend and restart the menu from the command line. You need to create /home/root/lejos/bin/utils/menufifo using mkfifo and reboot or restart the menu. You can then send single character commands to the menu using echo. "s" suspends and "r" restarts.

The fifo is not created by default but will be persistent if you create it.

When the menu suspends, it clears the screen and stops writing to it, but the background threads that support remote access etc. continue to run.
lawrie
leJOS Team Member
 
Posts: 841
Joined: Mon Feb 05, 2007 1:27 pm

Re: Staring/Stopping brick menu

Postby stash-s » Fri Jan 03, 2014 7:58 pm

Great thanks for your answer. I was wondering what was the cause of the fifo error I noticed on console. Will check that as soon as my batteries recharge :D
stash-s
New User
 
Posts: 2
Joined: Fri Jan 03, 2014 10:47 am


Return to EV3 Software

Who is online

Users browsing this forum: No registered users and 1 guest

more stuff