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

util/cli/capstest.lha

Mirror:Random
Showing: i386-aros icongeneric icon
No screenshot available
Short:Reports caps lock status, useful for scripts etc.
Author: lauri.aalto at fipnet.fi
Uploader:lauri aalto fipnet fi
Type:util/cli
Architecture:m68k-amigaos
Date:1994-12-03
Download:util/cli/capstest.lha - View contents
Readme:util/cli/capstest.readme
Downloads:634

I needed a simple program for my scripts which would examine the status of
the caps lock key and report it so the script could act respectively. After
a quick scan over my file base I was unable to find such a tool so I
decided to write one of my own. Here's the result.

Usage:

if `capstest` eq 1		; capstest returns either 0 or 1
  echo "Caps lock was active"
else
  echo "Caps lock was inactice"
endif

Source code compilable at least with DICE 3.0 has been included. Just type
'execute capstest.c' to compile. Feel free to do whatever with these files
- they're all public domain.


Contents of util/cli/capstest.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  679    1360  49.9% -lh5- 07f6 Dec  2  1994 capstest.c
[generic]                  427     730  58.5% -lh5- 322b Dec  2  1994 capstest.readme
[generic]                  355     472  75.2% -lh5- a8c3 Dec  2  1994 capstest
[generic]                   43      45  95.6% -lh5- 806e Dec  2  1994 file_id.diz
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         4 files    1504    2607  57.7%            Dec  2  1994
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>