Question: how to program a rca universal remote to directv?
Answer: Press MENU on your remote.
Select Settings & Help > Settings > Remote Control > Program Remote.
Choose the device (TV, audio, DVD) you wish to program. ... 
Follow the on-screen prompts to complete programming.