Quote:
Originally Posted by apeselis
echo -e "\033%150;200;5L"
Linux returns me this: 150;200;5L
So, it doesn't work. What am I doing wrong for the LED sequences?
|
You aren't doing anything wrong, it is just that the \033 has a special meaning when echoed to a terminal. If you want to really view what the echo generates, perhaps you can use
od to dump it, for example:
Code:
echo -e "\033%150;200;5L" | od -b
which will give you an octal dump of the byte sequence:
Code:
0000000 033 045 061 065 060 073 062 060 060 073 065 114 012