[kbd] New vt_mode tool for kbd?

Dmitry V. Levin ldv at altlinux.org
Sat Mar 26 22:33:22 UTC 2011


On Fri, Mar 25, 2011 at 04:20:19PM +0300, Alexey Gladkov wrote:
[...]
> I thing this utility is more script-friendly and more extensible.
[...]
> #define RETURN_BASE 100
> #define GETMODE     10
> #define GKBMODE     20
> #define GKBMETA     30

Multi-value exit status is not quite script-friendly, especially for
values greater than 128, because exit codes greater than 128 are used
by the shell to indicate that a program died due to a fatal signal.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.altlinux.org/pipermail/kbd/attachments/20110327/bf194bec/attachment.bin>


More information about the kbd mailing list