image
image

|


Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old July 28th, 2002, 04:26 PM
Baron in the Trees
 
Join Date: Jul 2002
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
Eckhart is on a distinguished road
Changing my keymap in the command line?

I've been roaming the ADC for quite a time and definetely learned a lot about input/keyboard-handling with cocoa - unfortunately in exchange for the answer to my actual question, namely, how I can simply change my keymap with a flat command in the terminal or the console.
As Apple gives so much about "internationalization", I wouldn't have dared to expect this to be an issue at all, but unfortunately it is. Therefore, I rely on some wise MacOSXian's experience and appreciate any reply in advance.
And, no, I'm right now not programming an obj.-C app that needs to acquire the keyboard type and ANSI layout via the Gestalt Manager I just need a simple command-line procedure, since any setting from the GUI will not permeate my lovely system down to its roots and would exclusively subject Aqua. I thank you.
Reply With Quote
  #2  
Old January 7th, 2008, 01:55 PM
Registered User
 
Join Date: Dec 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
McGeek is on a distinguished road
Im also wondering if it is possible to remap keys, or at least send command strings from keys via ansi-sequences, but im not sure if this was just an extension for the dos ansi-sys or not, Ill have a look in the Vt100 manual and come back to you. Or you can get the vt100 manual from invisibleisland.net (I think).

sincerely
mc Geek
Reply With Quote
  #3  
Old January 7th, 2008, 04:48 PM
Registered User
 
Join Date: Dec 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
McGeek is on a distinguished road
I figure you can create a new terminfo file, setting your $TERMINFO variable to that type,
export it, and invoke a subshell, or create a different .term file specifying your newly defined terminal as the terminal to use.
MAYBE it is possible to redefine some function keys via Ansi escape sequences, but then, it is much easier to do so by the function keys anyway.
Why do you want to remap your keyboard if i may ask?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing a video card archville Hardware & Peripherals 2 March 31st, 2003 12:39 PM
changing an ICON !!!! ekramer Mac OS X System & Mac Software 3 February 21st, 2003 09:22 PM
changing locked resource/xml files peterr Mac OS X System & Mac Software 0 November 6th, 2002 04:17 AM
changing the GTK them used under XDarwin ksignorini Unix & X11 2 July 28th, 2002 01:32 PM
Shell changing . (periods) to / (slashes) Erredon Mac OS X System & Mac Software 1 January 17th, 2002 03:35 PM


All times are GMT -5. The time now is 02:45 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.