Video display modes: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (→{{header|smart BASIC}}: Remove vanity tags) |
|||
Line 240: | Line 240: | ||
QX("xrandr -s $current"); |
QX("xrandr -s $current"); |
||
say "\rResolution returned to {$current}. ";</lang> |
say "\rResolution returned to {$current}. ";</lang> |
||
=={{header|Phix}}== |
|||
<lang Phix>if platform()=LINUX then |
|||
{} = system_exec("xrandr -s 640x480") |
|||
sleep(3) |
|||
{} = system_exec("xrandr -s 1280x960") |
|||
else -- WINDOWS |
|||
puts(1,"") -- (ensure console exists) |
|||
system("mode CON: COLS=40 LINES=25") |
|||
sleep(3) |
|||
system("mode CON: COLS=80 LINES=25") |
|||
end if</lang> |
|||
Obviously running xrandr -q or mode -? will tell you more. |
|||
=={{header|REXX}}== |
=={{header|REXX}}== |