AminetAminet
Search:
84490 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/gcr1.1.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Show console window resolution in chars
Author:bplcon0 at gmail.com (bplcon0)
Uploader:bplcon0 gmail com (bplcon0)
Type:util/cli
Version:1.1
Replaces:util/cli/gcr10.lha
Architecture:m68k-amigaos >= 2.0.4
Date:2024-02-19
Download:http://aminet.net/util/cli/gcr1.1.lha - View contents
Readme:http://aminet.net/util/cli/gcr1.1.readme
Downloads:240

DISCLAIMER:
This command and its source code are open source.
They are provided "as-is" without any warranty. Use them at your own risk.


REQUIREMENTS:
Kickstart 2.04+


USAGE:
The command displays the Shell/CLI window resolution in chars.

Syntax: gcr -L=-LINES/S,-C=COLUMNS/S

Examples:

  > gcr -l
  23

  > gcr -columns
  123

  > gcr
  123x23

where 122x23 means 122 columns width and 23 lines height
(if no args are supplied).


HISTORY:

V0.1  06.02.2021  -
V1.0  15.02.2021  First working version
V1.1  18.02.2024  Reworked code. Added command args. Executable size reduced.


Contents of util/cli/gcr1.1.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                 1820    2948  61.7% -lh6- ccf4 Feb 18 10:28 gcr1.1/gcr
[unknown]                  553     827  66.9% -lh6- eca2 Feb 18 17:30 gcr1.1/ReadMe.txt
[unknown]                 1423    4212  33.8% -lh6- a1fc Feb 18 10:25 gcr1.1/src/gcr.c
[unknown]                  546     886  61.6% -lh6- c32c Feb 18 10:22 gcr1.1/src/gcr.h
[unknown]                  157     234  67.1% -lh6- 90a0 Feb 18 10:28 gcr1.1/src/Makefile
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         5 files    4499    9107  49.4%            Feb 20 00:29

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>