Add a README.adoc file

This commit is contained in:
Nedko Arnaudov 2023-08-17 03:30:16 +03:00
parent e284e4476e
commit b5d8923d3c
2 changed files with 12 additions and 0 deletions

View File

@ -1,2 +1,5 @@
termsize: termsize.c
cc -o termsize termsize.c
README.html:
asciidoc -b html5 -a data-uri -a icons --theme ladi -o README.html README.adoc

9
README.adoc Normal file
View File

@ -0,0 +1,9 @@
= termsize =
'termsize' is a simple program to adjust number of 'cols' and 'rows' associated with
controlling terminal '/dev/tty' so to match the actual size of attached terminal (emulator window).
Typical/intended use is when attaching over UART/RS232 to a remote computer that initially
has default number cols and rows (often 80x25). Running the program on the
remote computer adjusts the number of cols and rows, for its local tty device,
to current number of cols and rows.