The setup depends on whether you want your TV to be an extension of your current CRT display, or a seperate display.
Here's the relevent xorg.conf settings I use for a SEPERATE DISPLAY with a nVidia card, svideo hooked up to a TV running at 640x480, VGA hooked up to a CRT running at 1024x768. It is very important to get your HorizSync and VertRefresh setup correctly for your TV. Check your TV's specs. Setting these too high can damage or destroy your TV. HorizSync of 30-50 is generally considered safe for TV's I believe, 60 for VertRefresh. But no guarrantees on these settings from me - verify your TV's specs yourself!!!
Code:
Section "InputDevice"
Identifier "AOpen keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Logitech mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "nVidia MX4000 (VGA output)"
Driver "nvidia"
BusID "PCI:1:0:0"
Screen 0
Option "NoLogo" "True"
Option "ConnectedMonitor" "CRT"
EndSection
Section "Device"
Identifier "nVidia MX4000 (SVIDEO output)"
Driver "nvidia"
BusID "PCI:1:0:0"
Screen 1
Option "NoLogo" "True"
Option "ConnectedMonitor" "TV"
Option "TVStandard" "NTSC-M"
Option "TVOutFormat" "SVIDEO"
EndSection
Section "Monitor"
Identifier "CRT"
VendorName "NEC"
ModelName "Multisync-70"
Option "DPMS"
HorizSync 31-69
# NEC states optimal at 1024x768@75Hz, set lower VertRefresh to force it
# Actual VertRefresh specs for this monitor are 55-120
VertRefresh 55-75
DisplaySize 260 195
# 100 DPI: calculated (1024*25.4)/100 = 260 and (768*25.4)/100 = 195
# 96 DPI: calculated (1024*25.4)/96 = 270 and (768*25.4)/96 = 203
# 75 DPI: calculated (1024*25.4)/75 = 346 and (768*25.4)/75 = 260
EndSection
Section "Monitor"
Identifier "TV"
VendorName "Mitsubishi"
ModelName "60 inch rear projection TV"
HorizSync 30-50
VertRefresh 60
DisplaySize 163 122
Modeline "640x480@60" 24.11 640 672 760 792 480 490 495 505
#Modeline "800x600@60" 38.21 800 832 976 1008 600 612 618 631
# 100 DPI: calculated (640*25.4)/100 = 163 and (480*25.4)/100 = 122
# 96 DPI: calculated (640*25.4)/96 = 169 and (480*25.4)/96 = 127
# 75 DPI: calculated (640*25.4)/75 = 216 and (480*25.4)/75 = 162
# 100 DPI: calculated (800*25.4)/100 = 203 and (600*25.4)/100 = 152
# 96 DPI: calculated (800*25.4)/96 = 211 and (600*25.4)/96 = 158
# 75 DPI: calculated (800*25.4)/75 = 270 and (600*25.4)/75 = 203
EndSection
Section "Screen"
Identifier "Computer Monitor"
Device "nVidia MX4000 (VGA output)"
Monitor "CRT"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Television"
Device "nVidia MX4000 (SVIDEO output)"
Monitor "TV"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default"
Screen 0 "Computer Monitor"
Screen 1 "Television" leftOf "Computer Monitor"
InputDevice "AOpen keyboard"
InputDevice "Logitech mouse"
EndSection