Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!apple!agate!shelby!morrow.stanford.edu!morrow!drapeau From: drapeau@sioux.Stanford.EDU (George Drapeau) Newsgroups: comp.windows.x Subject: Re: Dvorak keyboard with OpenWindows1.0 on SS1 Message-ID: Date: 17 Sep 90 23:47:17 GMT References: <1990Sep13.210407.1828@bpdsun1.uucp> Sender: news@morrow.stanford.edu (USENET News System) Reply-To: drapeau@sioux.stanford.edu Organization: Interactive Classroom Experiment, Stanford University Lines: 142 In-Reply-To: rmf@bpdsun1.uucp's message of 13 Sep 90 21:04:07 GMT In article <1990Sep13.210407.1828@bpdsun1.uucp> rmf@bpdsun1.uucp (Rob Finley) writes: Has anyone successfully gotten Sun OpenWindows 1.0.1 to change the keyboard mapping over to the Dvorak layout? Do you have an .xmodmap(?) that you wouldn't mind sharing? Can I do this so that it only affects my login and not everyone elses? Does anyone make a real dvorak keyboard for the Sparc Station? Keytronics makes the original type-4. Keytronics, are you listening? quintro!bpdsun1!rmf@lll-winken.llnl.gov uunet!tiamat!quintro!bpdsun1!rmf Here's a partial Dvorak mapping for xterm and for emacs, so it's done at the application level, not the server level. Control keys are still Qwerty style; in other words, pressing the "j" key produces "h", but pressing Control-J still produces Control-J (not Control-H). I hope this helps more than it confuses. George -------------------------- put in your .emacs file -------------------------- (defun Dvorak () "Written by George Drapeau, uses a translation table that turns your keyboard into a Dvorak keyboard. Try it, you'll like it." (interactive) (setq keyboard-translate-table "\C-@\C-a\C-b\C-c\C-d\C-e\C-f\C-g\C-h\C-i\C-j\C-k\C-l\C-m\C-n\C-o\C-p\C-q\C-r\C-s\C-t\C-u\C-v\C-w\C-x\C-y\C-z\033\034\035\036\037 !_#$%&-()*+w`vz0123456789SsW=VZ@AXJE>UIDCHTNMBRL\"POYGKF1: keymap(Dvorak) \n\ F2: keymap(None) *DvorakKeymap.translations:#override\ :Ctrla: string(0x01) \n\ :Ctrlb: string(0x02) \n\ :Ctrlc: string(0x03) \n\ :Ctrld: string(0x04) \n\ :Ctrle: string(0x05) \n\ :Ctrlf: string(0x06) \n\ :Ctrlg: string(0x07) \n\ :Ctrlh: string(0x08) \n\ :Ctrli: string(0x09) \n\ :Ctrlj: string(0x0a) \n\ :Ctrlk: string(0x0b) \n\ :Ctrll: string(0x0c) \n\ :Ctrlm: string(0x0d) \n\ :Ctrln: string(0x0e) \n\ :Ctrlo: string(0x0f) \n\ :Ctrlp: string(0x10) \n\ :Ctrlq: string(0x11) \n\ :Ctrlr: string(0x12) \n\ :Ctrls: string(0x13) \n\ :Ctrlt: string(0x14) \n\ :Ctrlu: string(0x15) \n\ :Ctrlv: string(0x16) \n\ :Ctrlw: string(0x17) \n\ :Ctrlx: string(0x18) \n\ :Ctrly: string(0x19) \n\ :Ctrlz: string(0x1a) \n\ :a: string(a) \n\ :b: string(x) \n\ :c: string(j) \n\ :d: string(e) \n\ :e: string(".") \n\ :f: string(u) \n\ :g: string(i) \n\ :h: string(d) \n\ :i: string(c) \n\ :j: string(h) \n\ :k: string(t) \n\ :l: string(n) \n\ :m: string(m) \n\ :n: string(b) \n\ :o: string(r) \n\ :p: string(l) \n\ :q: string("'") \n\ :r: string(p) \n\ :s: string(o) \n\ :t: string(y) \n\ :u: string(g) \n\ :v: string(k) \n\ :w: string(",") \n\ :x: string(q) \n\ :y: string(f) \n\ :z: string(";") \n\ :minus: string("`") \n\ :semicolon: string(s) \n\ :grave: string("/") \n\ :apostrophe: string("-") \n\ :comma: string(w) \n\ :period: string(v) \n\ :slash: string(z) \n\ :quotedbl: string("_") \n\ :underscore: string("~") \n\ :asciitilde: string("?") \n\ :A: string(A) \n\ :B: string(X) \n\ :C: string(J) \n\ :D: string(E) \n\ :E: string(">") \n\ :F: string(U) \n\ :G: string(I) \n\ :H: string(D) \n\ :I: string(C) \n\ :J: string(H) \n\ :K: string(T) \n\ :L: string(N) \n\ :M: string(M) \n\ :N: string(B) \n\ :O: string(R) \n\ :P: string(L) \n\ :Q: string(0x22) \n\ :R: string(P) \n\ :S: string(O) \n\ :T: string(Y) \n\ :U: string(G) \n\ :V: string(K) \n\ :W: string("<") \n\ :X: string(Q) \n\ :Y: string(F) \n\ :Z: string(":") \n\ :less: string(W) \n\ :greater: string(V) \n\ :question: string(Z) \n\ :colon: string(S) -- ______________________________________________________________________________ George D. Drapeau Internet: drapeau@jessica.stanford.edu Academic Information Resources Stanford University