Terminal control/Dimensions: Difference between revisions

Content added Content deleted
(Category:Terminal Control)
(This works in a traditional bourne shell (language now implemented))
Line 35: Line 35:
{{works with|Bourne Shell}}
{{works with|Bourne Shell}}


<lang bash>#!/bin/bash
<lang sh>#!/bin/sh
WIDTH=`tput cols`
WIDTH=`tput cols`
HEIGHT=`tput lines`
HEIGHT=`tput lines`