From: Ron K. <ro...@za...> - 2001-02-25 17:54:02
|
Hi Bruce, Thanks for your update! > - Added mh.ini term=readkey option (unix only). The default is now NOT to > monitor keys, since that dis-allows a detached mh (e.g. mh &). Are you sure about this? I have no problems running ReadKey with mh as background... Here is my output: house# killall perl house# cd /mh/bin house# ./mh & [1] 7667 house# Command: mh Pgm path : . Pgm version: 2.43 Last updated: Sun Feb 4 21:27:26 2001 Perl version: 5.00503 OS version: freebsd freebsd Other : user=ron pid=7667 box= cpu=- Setting up INC path ... done User Code Directory: ./../code_my System Code Directory: ./../code/common Loading other modules Starting setup Loading DNS code ... DNS set to 213.93.216.127 Creating festival TTS socket Data sent to festival: (voice_tll_diphone) Creating socket and serial objects - creating http on tcp 8080 buffered - creating serial_irman object on port /dev/cuaa1 - creating cm11 object on port /dev/cuaa0 - creating Ibutton object on port /dev/cuaa4 Process id 7667 written to ./../data/mh.pid External command file (xcmd_file): /tmp/house_cmd.txt HTML file : ./../web_my/index.html Checking for password file: ./../data/.password Read in 8 items from the password_allow file Done with setup 25/02/2001 18:48:50 Re-reading mh.private.ini and mh.ini 25/02/2001 18:48:50 Reading table files in ./../code_my 25/02/2001 18:48:50 Reading code files in ./../code_my Removing voice commands ... 25/02/2001 18:48:50 Evaluating user code Good code saved : () Restoring object states Object states restored Activate the voice commands Starting monitor commands loop [1] + Suspended (tty output) ./mh house# ps aux|grep mh root 7667 6.1 14.8 14564 14028 p0 T 6:48PM 0:05.93 /usr/bin/perl ./mh root 7671 0.0 0.2 380 196 p0 DL+ 6:49PM 0:00.01 grep mh house# As you can see it still runs ok. A question from me: Do you think there is any chance to speed up the http server off mh a bit? ie, is there some code that can/needs to be optimised? I have made a new web layout with buttons, javascript, dhtml etc and its a bit on the slow side when running it with mh. Ron. |