Networking | Hardware | Software | Multimedia | System | Unix&Linux | MBA

Home>>Unix&Linux>>esc code

esc code

general
04-08-2005, 04:34 PM
hi, i was wondering why the following esc code didn't work in the mac Terminal:

printf "\033[3q"

i tried it out on a linux box and it worked (this esc code turns on the caps lock lite). i have tested out other esc codes (such as printing in bold, closing windows, etc.), and they all seem to work except this one. can someone please tell me why it doesnt work in the mac terminal?

hayne
04-08-2005, 08:16 PM
I think that is hardware specific.

general
04-15-2005, 06:11 PM
do u know if there is an esc code which can do this in the mac terminal?

i had a cool morse code program that used the lights to "print" out a message

weltonch777
04-15-2005, 06:21 PM
Here you actually truning on the caps lock, or just finding some way to "cheat" and make the light come on?

breen
04-16-2005, 02:35 PM
He's trying to control the LEDs programatically.

general, I think your best bet will be to look through the Apple developer's documentation. Maybe even take a look at the Darwin source code.


 

TOP

Windows Server Outsell
Unix Signals And C++ E

For more info

Unix Signals And C++ E
Windows Server Outsell
ssh setup for password
Bash script does not w
esc code 
ARD send unix command 
question about binarie
Scanning mail 
Issuing multiple comma
How do I install Linux

News Archive

/etc/hosts? 
Manually Start a Start
mounting missed hard d
Using Netinfo in Singl
darwin/bsd login probl
system_profiler and fi
Send mail from script 
mounting a drive 
OS X disk first aid ha
system.log shows steal

Related stories:

Bash script does not work!
ARD send unix command question
question about binaries
installing Libusb
Issuing multiple commands through SSH
ssh setup for passwordless login
quoting string with single quotes inside?

Copyright@2004-2005 www.zzcoke.com All Right Reserved

advanced web statistics