How to change the resolution to 640x480 on reterminal?

can you show me? how do you change the resolution by config file?