12.07.2015 Views

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

-g Specify geometry of the window upon startup.-t I<strong>ns</strong>truct nam to use tkgraph, <strong>and</strong> specify input file nam for tkgraph.-i [Inform<strong>at</strong>ion for this option may not be accur<strong>at</strong>e] Specify r<strong>at</strong>e (real) milliseconds as the screenupd<strong>at</strong>e r<strong>at</strong>e. <strong>The</strong> default r<strong>at</strong>e i-N Specify the applic<strong>at</strong>ion name of this nam i<strong>ns</strong>tance. This applic<strong>at</strong>ion name may l<strong>at</strong>er be used in peer synchroniz<strong>at</strong>ion.-c <strong>The</strong> maximum size of the cache used to store ’active’ objects when doing anim<strong>at</strong>ing in reverse.-f Name of the initializ<strong>at</strong>ion files to be loaded during startup. In this file, user can define functio<strong>ns</strong> which will be called in the t-a Cre<strong>at</strong>e a separ<strong>at</strong>e i<strong>ns</strong>tance of nam.-p Print out nam trace file form<strong>at</strong>.-S Enable synchronous X behavior so it is easier for graphics debugging. For UNIX system running X only. is the name of the file containing the trace d<strong>at</strong>a to be anim<strong>at</strong>ed. If cannot be read, nam will try to open 45.3 User InterfaceStarting up nam will first cre<strong>at</strong>e the nam co<strong>ns</strong>ole window. You can have multiple anim<strong>at</strong>io<strong>ns</strong> running under the same nami<strong>ns</strong>tance. At the top of all nam windows is a menu bar. For the nam co<strong>ns</strong>ole there are ’File’ <strong>and</strong> ’Help’ menus. Under the’File’ there is a ’New’ comm<strong>and</strong> for cre<strong>at</strong>ing a <strong>ns</strong> topology using the nam editor (under co<strong>ns</strong>truction) , an ’Open’ comm<strong>and</strong>which allows you to open existing tracefiles, a ’WinList’ comm<strong>and</strong> th<strong>at</strong> popup a window will the names of all currentlyopened tracefiles, <strong>and</strong> a ’Quit’ comm<strong>and</strong> which exits nam. <strong>The</strong> ’Help’ menu contai<strong>ns</strong> a very limited popup help screen <strong>and</strong> acomm<strong>and</strong> to show version <strong>and</strong> copyright inform<strong>at</strong>ion.Once a tracefile has been loaded into nam (either by using the ’Open’ menu comm<strong>and</strong> or by specifying the tracefile on thecomm<strong>and</strong> line) an anim<strong>at</strong>ion window will appear. It has a ’Save layout’ comm<strong>and</strong> which will save the current network layoutto a file <strong>and</strong> a ’Print’ comm<strong>and</strong> which will print the current network layout.<strong>The</strong> ’Views’ menu has 4 butto<strong>ns</strong>:• New view button: Cre<strong>at</strong>es a new view of the same anim<strong>at</strong>ion. User can scroll <strong>and</strong> zoom on the newview. All views willbe anim<strong>at</strong>ed synchronously.• Show monitors checkbox: If checked, will show a pane <strong>at</strong> the lower half of window, where moni-tors will be displayed.• Show autolayout checkbox: If checked, will show a pane <strong>at</strong> the lower half of window, which con-tai<strong>ns</strong> input boxes <strong>and</strong>a button for autom<strong>at</strong>ic layout adjustments. This box will not be enabled when using link orientain layouts.• Show annot<strong>at</strong>ion checkbox: If checked, will show a listbox <strong>at</strong> the lower half of window, which will be used to listannot<strong>at</strong>io<strong>ns</strong> in the ascending order of time.Below the menu bar, there is a control bar containing 6 butto<strong>ns</strong>, a label, <strong>and</strong> a small scrollbar(scale). <strong>The</strong>y can be clicked inany order. We will explain them from left to right.• Button 1 («) - Rewind. When clicked, anim<strong>at</strong>ion time will go back <strong>at</strong> the r<strong>at</strong>e of 25 times the current screen upd<strong>at</strong>e r<strong>at</strong>e.• Button 2 () - Forward play. When clicked, anim<strong>at</strong>ion will be played forward with time increasing.• Button 5 (») - Fast Forward. When clicked, anim<strong>at</strong>ion time will go forward <strong>at</strong> the r<strong>at</strong>e of 25 times the current screenupd<strong>at</strong>e r<strong>at</strong>e.391

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!