Hi. As the 'short' message header sugests this might be called off topic, and I might be flamed for not calling it so. Anyway, I'm having a problem concerning the use of the shell < and > redirection commands, as I'm trying to set the autrun script up to be able to shoort off GDB in a 'automatic' mode with a scriptfile. The problem is concerned with the fact that GDB sends it's output (plus the output it gets from the mud) to the tty/console/std. output. The original command looks like (without $FLAG and $PORT stuff): bin/Circle >>& syslog Now I'm firering gdb up, to load bin/Circle and then execute away driven by a small 'scriptfile' with the run command and some stuff I want to knwo when the mud exits in a file called gdb.script. I tried the following two methods of redirection: gdb bin/Circle < gdb.script > syslog and gdb bin/Circle > syslog < gdb.script both execute (fire up gdb, and run the script), but both versions SPAM the tty/std. output instead of placing the output into a file (the syslog). does anyone know how to make it work right ? I mean I beleave there must be a solution in a SHELL kind of way, instead of redifining circle to write to a sdandard logfile instead of the std. output.. Any help will be greatly appreciated. Any people who want to know the solution, if I get/find one can send me a little letter telling so (PRIVATELY to firstname.lastname@example.org, don't spam the list, or I'll just be semiflamed for making loads of off topic stuff, that doesnt seem off topic to me.. ) Regards, Con. d. -- Rasmus Rønlev DOEK'94 WWW: http://www.econ.cbs.dk/people/raro94ab Student instructor MUD: exiled.mud.circlemud.org 5000 188.8.131.52 5000 Student, B.Sc in Computer Science and Business Administration.
This archive was generated by hypermail 2b30 : 12/18/00 PST