flat /u/robot/flat-root/flat5/env/taylor-4.envBut Flat needs to know the Flat Display port number in order to contact the display, so normally you will include the -dport (display port) option to specify the display port number:
flat /u/robot/flat-root/flat5/env/taylor-4.env -dport 4500If the Flat Display is not running on the same machine, use the -dhost option to specify the host:
flat /u/robot/flat-root/flat5/env/taylor-4.env -dport 4500 -dhost longhorn.cs.utexas.eduAt the same time, you probably want to specify which port Flat should open so that a controller can contact it. For this, use the -cport option:
flat /u/robot/flat-root/flat5/env/taylor-4.env -dport 4500 -cport 6100There are several other options which are described on this page.
When Flat starts, you should see messages like the following:
Starting Flat for a linux machine
************************************************************
Welcome to the Flat 2D Robot Simulator
v4.4 of 21 August 2000
Copyright (c) 1993-2000, The University of Texas at Austin
For information, contact robotics@cs.utexas.edu
http://www.cs.utexas.edu/users/qr/robotics/
*************************************************************
Reading config file...reading configuration from /home/hewett/.flat
Contacting longhorn.cs.utexas.edu:4500
Connection made.
Initializing the display.
You will need to restart Flat every time you want to make a
simulation run.