To: bgardner, mackay, thm, rap Subject: rsedit --text follows this line-- Brian, I don't know why gcc allowed you to declare arg_list twice (probably because you declared it the same way) but pcc (the compiler for the rt) doesn't like it. I commented out the second declaration. As far as I can tell this shouldn't affect anything but your the expert. You can search for the string !!!^^^ in my comment. Anyway, the interface to the ruleeditor seems to be just fine (commendable when you didn't have one to work with). But, it doesn't seem to be doing what you think it should I think. More later. More importantly it dies on the rt. here is the trace. E51-007-12:/afs/athena.mit.edu/mit/argus/src/working/rtsrc> which rsedit ./rsedit E51-007-12:/afs/athena.mit.edu/mit/argus/src/working/rtsrc> gdb rsedit GDB 2.1 - ITC 1.2, Copyright (C) 1987 Free Software Foundation, Inc. There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details. GDB is free software and you are welcome to distribute copies of it under certain conditions; type "info copying" to see the conditions. Reading symbol data from /afs/athena.mit.edu/mit/argus/src/working/rtsrc/rsedit. ..done. Type "help" for a list of commands. (gdb) run a Starting program: /afs/athena.mit.edu/mit/argus/src/working/rtsrc/rsedit a Assertion failed: num_bytes != 0 Program received signal 5, Trace/BPT trap 0x54fc4 in .abort (268795904) (gdb) where #0 0x54fc4 in .abort (268795904) #1 0xb06e in .Memory_free (268795904) #2 0x1c68c in .AlRuleSet_deletable_on_diskp (268591211, 997, 1, 268712640, 3, 0 ) #3 0x1c714 in .AlRuleSet_deletable_on_diskp (268591211, 997, 1, 268711904, 0) #4 0x1caaa in .Alruleprint (268591208, 1000, 1, 268714144) #5 0x1610 in .AlRse_set_rule_widget (268707328, 0, 1, 0) #6 0x19be in .AlRse_redraw (268707328, 1) #7 0x3d9c in .AlRse_create (268619776, 536857503, 268716032, 268436120) #8 0x40d2 in .main (2, 536857364) (gdb) quit To tell you the truth I have not looked at the code, but the biggest incompatibilty I've ever found between vaxen and rten is that rts really treat the EOF character as an int (which it is) and not a char. You can get away with char on vaxen. To tell the Well, back to the rule set editor. When I start it up and press "Add New Rule" it just beeps. It wont let me select a rule with no number in it (so I can edit it). But, it will let me select a rule with no number when a rule with a number is already selected. When I have a rule with no number selected I can't "Edit Rule". You can "Add New Rule" when you have a rule (with a number) selected but the ruleeditor comes up with the selected rule and not a fresh one. When I edit it and quit the ruleeditor rsedit refreshes fine with the new rule. This functionality is duplicated by the "Edit Rule" button. It seems I can't add a new rule.