hi its my problem.
V K rathi wrote: > > > > > > > > > > > Respected members, > > I have installed ns-2.33 on cygwin on my vista home basic laptop. > > while running simple example programs, I get error, > > $ nam: no display name and no $DISPLAY environment variable. > > > > I tried set it with export DSIPLAY=:0.0 > > it gives error > > $ nam: couldn't connect to display "0.0" > > I also tried startx before running programs, it gives following error, > > $ nam: > > [code omitted because of length] > > : no event type or button # or keysym > > while executing > > "bind Listbox <MouseWheel> { > > %W yview scroll [expr {- (%D / 120) * 4}] units > > }" > > invoked from within > > "if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} > { > > bind Listbox <MouseWheel> { > > %W yview scroll [expr {- (%D)}] units > > } > > bind Li..." > > > I tried xhost+ command, it says command not found. > > can anybody figure out where the problem lies? > > I am new to ns-2 as well as linux environment so please..... > > > > Thanks in anticipation. > > Regards, > > Vinod Kumar Maheshwari. > st106...@ait.ac.th. > > > > > > Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. > Learn Now > _________________________________________________________________ > See how Windows connects the people, information, and fun that are part of > your life. > http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/ > > -- View this message in context: http://www.nabble.com/FW%3A-Query-regarding-nam-tp22058156p22421274.html Sent from the ns-users mailing list archive at Nabble.com.