Select any one of those Open Office files in a Finder window. Hit Command+i to open up the information window for that file. Near the bottom of that window you should see a pane that says "Open with:".
If it says "Terminal," then click on the dialogue to bring up a drop-down menu, which will present you with a list of applications usually associated with that type of file. Find "Open Office" in the list and select it. You may have to scroll to the bottom to select "other..." if Open Office isn't listed.
After you've selected "Open Office," the Change All... button should be active. Hit "Change All..." and you will be asked to confirm if you want to open all file types with that application. Confirm the choice and you should be good to go.