SKILL: Function to identify OS or computer?

E

Edward Dodge

Guest
I'm trying to modify my bindkey file so that it tests what kind of
system is loading it. Based on that, I'll write some extra code that
changes the ESC-key to "Meta" if it's on a Sun/Solaris and "Alt"
otherwise. Anyone know of such a function or have a nice, elegant way
to get around this?

Thanks in advacne,

Edward
 
Edward,
There was a similar discussion on this forum:
http://groups.google.com/group/comp.cad.cadence/browse_frm/thread/66ffbd9ff4da2479?tvc=1

There is a private function hiiGetModifierList(), it returns a list, you
can take car(hiiGetModifierList()) to get the available modifiers.

--
Suresh

Edward Dodge wrote:
I'm trying to modify my bindkey file so that it tests what kind of
system is loading it. Based on that, I'll write some extra code that
changes the ESC-key to "Meta" if it's on a Sun/Solaris and "Alt"
otherwise. Anyone know of such a function or have a nice, elegant way
to get around this?

Thanks in advacne,

Edward
 

Welcome to EDABoard.com

Sponsor

Back
Top