News and discussion of keyboards connected to workstations running Unix (some related materials appear from the "xterm" web page of this site) (some discussion of how to type international characters are in the "character sets and encoding" archives) [This page is part of the "Video terminals" web site.] ////////////////////////////////////////////////////////////////////////////// A Frequently Asked Question about Unix keyboard use, at least from new users, is regarding the keys and functions known as "Backspace", "Erase", "Delete", and "DEL", and/or "Rubout". One reason for this frequency is that the formal "de jure" X3.4 ASCII standard differs from "de facto" common practice in the Unix community. Many Unix users configure their keyboards such that the "Backspace" key in the upper-right corner of the alphanumeric keyboard sends the code 08x to the computer. (This is the same code that is sent when you hold down the "Control" or CTRL key and simultaneously type the "H" key.) These users expect that typing the Backspace key will cause the cursor to move one position to the left and erase the character that formerly resided in that position. Sometimes this works, and everybody smiles. If it does not, keystrokes of the Backspace key may echo on the screen as a caret-H, looking like this: % more /etc/motd^H^H^H^H This shows that the shell (in this case, the C shell) is not interpreting the 08x code as the Unix "erase" function. Usually this means that Unix is expecting the Backspace key to emit the ASCII code 07Fx, as the ASCII standard says it should. When the Unix shell sees the 08x code, the shell thinks that Control-H is an intended part of the command line. The opposite problem, when the Backspace key emits the 07Fx DEL code and the shell expects 08x/Control-H for the Erase function, looks like this: % more /etc/motd^?^?^?^? You can solve the problem in more than one way. Somehow or other, though, you have to get the keyboard and the running programs (which includes the shell) to agree. There are lots of ways to configure different keyboards. Another way is to use a different shell: tcsh can understand either 08x (Control-H) or 07fx (DEL) as the Erase key. Or you can change the behavior with "stty": % stty erase ^H \ \__ at this point you type Control-V and then type the Backspace key (which emits Control-H); then type the Return/Enter key. % stty erase ^? \ \__ at this point you type Control-V and then type the Backspace key (which emits DEL); then type the Return/Enter key. However, other programs may not go along with the "stty" setting. Your mileage may vary. For other discussion, see below. ........................................................................ If you want to know exactly what ASCII codes the computer is seeing when you type a given key, try using the "od" (octal dump) utility, available in most variants of Unix. In recent releases of Solaris, this utility lives at /usr/bin/od and /usr/xpg4/bin/od Here follows an example, in I invoked the "od" command with two arguments that tell it to use hexadecimal radix and notice "usual" codes. With "od" running in Solaris, I typed the PF1 key on a DEC VT220's LK201 keyboard and then hit the Return/Enter key, then Control-D (to signal "end of input"). % od -x -c ^[OP 0000000 1b4f 500a 033 O P \n 0000004 % thus showing that the PF1 key emits this three-octet sequence: Escape O P In Red Hat Linux 2.2, this utility lives at /usr/bin/od and its output looks slightly different: $ /usr/bin/od -c -x ^[OP 0000000 033 O P \n 4f1b 0a50 0000004 $ ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.shell Date: 21 Feb 1997 17:07:13 GMT From: Dan Mercer Subject: Re: Getting Delete key to actually delete Da Borg wrote: : : What about "Delete" key? It does generate "^?" on my system. : How do I remap it to actually delete next char instead of : backspacing of printing "^?" ? The systems are SunOS and Linux. : stty ^? stty controls your terminal settings. UNIX terminal line protocol does not have a "delete next char" function. You can, however, map the delete key to a delete next char in your favorite editor. In vi, place the following in your .exrc file (replace with your delete key and with ). map! ^? ^[lxi map ^? x -- Dan Mercer Reply To: damercer@mmm.com ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris Path: !news.gtei.net!inmet!news.bu.edu!newsxfer.eecs.umich.edu !news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-post-02 !sn-post-01!supernews.com!corp.supernews.com!not-for-mail X-Newsreader: knews 1.0b.0 Message-ID: References: <3AE94BDF.2D1188D2@atl.mediaone.net> <9ce3sa$o4g$2@news.panix.com> Organization: Timetravellers Anonymous Date: Sat, 28 Apr 2001 23:31:38 -0000 From: "Richard L. Hamilton" Subject: Re: Changing to during login In article <9ce3sa$o4g$2@news.panix.com>, gerg@panix.com (Greg Andrews) writes: > > rlhamil@smart.net (Richard L. Hamilton) writes: >> >>In article <3AE94BDF.2D1188D2@atl.mediaone.net>, >> Kenneth C Stahl writes: >>> >>> I would like to change the keystroke used to delete characters during >>> the login process via telnet. By default it is the 'delete' key, but I >>> would like to change this to the backspace key. I know this can be done >>> because I've been on systems where this has been done, I just don't know >>> to do it. It apparently has something to do with sttydefs or the >>> /etc/ttydefs file, but I'm not sure what I need to change. >>> >>> I want to emphasize that I want to change the global setting. I have had >>> plenty of people who have given me the advice to put an stty command in >>> /etc/profile or my own .profile, but the problem with that is that those >>> files do not come in to play until after the login id and the password >>> are entered. I need this change to be in effect when I am ENTERING the >>> login id and password. >> >> >>Take a look at /kernel/drv/options.conf; properly set up, that might do >>what you want. > > > The options.conf parameters are used by the serial port driver for > default settings on the serial ports, however I don't think telnetd > pays any attention to them. Well, you're awake, and there's points for that. And you did say "I don't think". But that suggests you didn't try it. I just did, changing the 7th colon separated field of the ttymodes value from 7f (delete) to 08 (backspace) and rebooting. Telnetted in when it came back up, and the backspace that used to do ^H at the login prompt now worked fine. (Solaris 8, hacked to boot on an old Voyager, but the hack has _nothing_ to do with options.conf) So the points come off again for your speculation not having been correct. :-) Speculation pointed out as such may indeed identify potential problems. But if it only takes a moment, actually trying it works much better. (I _think_ I may have noted the effect of changes to options.conf on pts devices sometime in the past, but I didn't specifically remember that when I first posted on this, so I can't say whether or not I was consciously speaking from experience then. I mention that in the spirit of "full disclosure" given that I'm being a bit critical here, although I was (six sigma and and counting :-) correct.) -- ftp> get |fortune 377 I/O error: smart remark generator failed Bogonics: the primary language inside the Beltway mailto:rlhamil@mindwarp.smart.net http://www.smart.net/~rlhamil ////////////////////////////////////////////////////////////////////////////// From Eric Raymond's "Rampantly Unofficial Linus Torvalds FAQ" http://www.catb.org/~esr/faqs/linus/ [2004 URL] 13. Has Linus ever been wrong about anything? Yes, once. He was, by his own admission, "not rational" about the binding of the Linux backspace key. This is also the only time he has ever pulled rank on anybody. We suppose this just goes to show he really is human after all. ////////////////////////////////////////////////////////////////////////////// \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ [ A Sun workstation is usually set up with a CRT/video-framebuffer display and a local keyboard, but any SPARC machine can alternatively be controlled by a remote console terminal plugged into the first serial port. Here follows some discussion and lore on doing this. ] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Newsgroups: comp.unix.solaris Message-ID: <38478B23.6D499A83@d-trust.de> References: <38454967.FB047004@d-trust.de> From: dirk schladweiler Date: Fri, 03 Dec 1999 10:19:31 +0100 From: dirk schladweiler Subject: Re: PS/2-Keyboard --> equivalent for + dirk schladweiler wrote: > > I have a UltraSPARC II with a normal PS/2-Keyboard. And I'm looking for > the equivalent for + on a SUN-Keyboard. > Any hints? > > Thanks. i found it self --> + ;-) -- Dirk Schladweiler d.schladweiler@d-trust.de D-Trust GmbH Kommandantenstr. 15 10969 Berlin Tel.: +49 30 259391-12 / Fax: +49 30 259391-22 [Archiver's Note: this may be considered the same as Control-Pause. ] ....:....:....:....:....:....:....:....:....:....:....:....:....:....:....: ~~~~:~~~~:~~~~:~~~~:~~~~:~~~~:~~~~:~~~~:~~~~:~~~~:~~~~:~~~~:~~~~:~~~~:~~~~: Solaris X86 also provided the "pcmapkeys" utility (in SUNWcsu) to change the keyboard behavior of the raw console. [ Update: as of Solaris 8 X86, Sun changed the default key mappings on the PC-type keyboard to more closely resemble those of a SPARC machine's keyboard. The pcmapkeys(1M) utility was removed. Other changes in Solaris 8 X86: the "console" screen was made to have black characters on a white backbround; the kadb kernel debugger may be entered by F1-A, analogous to L1-A on a SPARC. The un-documented, un-supported virtual terminal feature was made un-available. Also the terminal type for the X86 console is no longer "AT386"; it is "sun-color". (SPARC consoles are "sun".)] .............................................................................. To use an Intel-processor Sun LX50 server with a serial console, use the "linux-serial" LILO option. ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris References: Message-ID: Organization: Totally unorganized Date: Sat, 16 Sep 2006 21:08:28 +0000 (UTC) From: Daniel Rock Subject: Re: ssh sessions between FreeBSD and solaris dick wrote: > > I like ssh and use it a lot. But I find it difficult to have a ssh > session from the command line. FreeBSD complains it does not recognise > my sun-color terminal and solaris complains it does not know the cons25 > terminal. I'm not sure how to solve this. You do still work on the console? On the Solaris machine extract termcap information for the requested terminal type (sun-color): infocmp -C sun-color Paste this information into /usr/share/misc/termcap of your FreeBSD machine and rerun cap_mkdb /usr/share/misc/termcap Now FreeBSD should recognise your sun-color terminal type. FreeBSD's cons* terminal types should be compatible with AT386. So if you log into a Sun box and the terminal type is set to cons25, just reset it to AT386. Or extract the definitions for cons25w and cons25 from FreeBSD's termcap into a separate file on your Solaris machine. Then run captoinfo termcap-extracted > terminfo-cons25 tic terminfo-cons25 This should add definitions for cons25 into Solaris' terminfo database. -- Daniel .............................................................................. Newsgroups: comp.unix.solaris NNTP-Posting-Host: cc20684-a.assen1.dr.home.nl NNTP-Posting-Date: Sat, 16 Sep 2006 22:33:03 +0000 (UTC) References: Message-ID: Date: Sat, 16 Sep 2006 22:33:03 +0000 (UTC) From: Dick Hoogendijk Subject: Re: ssh sessions between FreeBSD and solaris quoting Daniel Rock (Sat, 16 Sep 2006 21:08:28 +0000 (UTC)): > > You do still work on the console? > infocmp -C sun-color > cap_mkdb /usr/share/misc/termcap > captoinfo termcap-extracted > terminfo-cons25 > tic terminfo-cons25 Thank you for this crystal clear explanation. I'll do that tomorrow. -- dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.1 +++ The Power to Serve ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris Message-ID: References: <3dda6b43@isls-news.wmin.ac.uk> Date: Fri, 22 Nov 2002 15:22:12 GMT From: Darren J Moffat Subject: Re: Sun LX50 & terminal server ? On Tue, 19 Nov 2002 16:48:03 +0000, Thierry Delaitre wrote: > > Does anybody know if the console of the LX50 can be re-configured > (automatically or not) to one of the serial ports like on any [SPARC] > servers ? Is it possible to send break signals to the serial console ? > Is it possible to access the BIOS via the serial console ? If you have no keyboard connected the LX50 uses the serial ports by default. Even the BIOS works over the serial line. Yes you can send a break signal - how you send it depends on what software you are using to connect to the serial console. If it is tip the ~# if telnet ^] send brk. Solaris x86 needs the eeprom settings changed thus: eeprom input-device=ttyb eeprom output-device=ttyb Yes that is *ttyb* not ttya as it would be on a SPARC. This is because the serial ports on the LX50 are COM2 in MS-DOS terms. The Solaris x86 equivalent of L1-A is Ctrl-Alt-D, but it works only when the system was booted under kadb. ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris,comp.unix.admin Message-ID: <8rdrcs$ptr$1@ncal.verio.com> References: <39DA6DA0.F7605FCA@hotmail.com> NNTP-Posting-Host: 161.58.1.85 Date: Tue, 3 Oct 2000 16:50:52 -0700 From: Greg Andrews Subject: Re: Solaris crashing when keyboard unplugged. Kevin Halverson writes: > > I've got Solaris server 2.6 running on a Sun Sparc Ultra-60 and it goes > to the ok prompt everytime the keyboard is unplugged. Is there any way > to fix this so it doesn't go to the ok prompt when I unplug the > keyboard?? Before you unplug the keyboard: kbd -a disable After you plug it back in: kbd -a enable However, there may be a better way. Why do you want to unplug and re-plug a keyboard on a running machine? Aren't there enough Sun keyboards to go around? If it's an unattended server, why don't you run it "headless" (without screen or keyboard) all the time? -Greg ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.sys.sun.admin Message-ID: <39ECB481.1E9C1B5@internexo.co.cr> References: <39EC91BB.499EFF3D@internexo.co.cr> <8siap3$ms2@fcserv3.fcd.esys.com> Date: Tue, 17 Oct 2000 14:20:17 -0600 Organization: InterNexo From: Theodore Hope Subject: Re: how to disable BREAK interruption on console port? [on a Sun machine] > Read "man kbd". > I think the command is > kbd -a disable. Thanks to all who responded. I haven't worked much with Suns in over twelve years, and am just now getting back into it. We ended up uncommenting the "KEYBOARD_ABORT=disable" line in /etc/default/kbd, and that did the trick. Regards, -T.H. ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris,comp.unix.admin Message-ID: References: <39DA6DA0.F7605FCA@hotmail.com> <8rdrcs$ptr$1@ncal.verio.com> <39DB30BB.8B600114@hotmail.com> NNTP-Posting-Host: phorcys.east.sun.com Date: 04 Oct 2000 09:53:02 -0400 Organization: Sun Microsystems Inc. - BDC From: James Carlson Subject: Re: Solaris crashing when keyboard unplugged. Kevin Halverson writes: > If the keyboard has been disabled, how will I be able to type the > "kbd -a" enable command? Check the man page. The "-a disable" option merely disables keyboard break. It doesn't disable typing on the keyboard. % man kbd . . . -a enable/disable/alternate state Enable, disable, or alternate the keyboard abort sequence effect. By default, a keyboard abort sequence (typically Stop-A or L1-A on the keyboard and BREAK on the serial console device) suspends the operating sys- tem on most systems. The default keyboard behavior can be changed using this option. The -a option can only be used by a superuser. [...] disable Disable the default/alternate effect and ignore keyboard abort sequences -- James Carlson, Internet Engineering SUN Microsystems / 1 Network Drive 71.234W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.497N Fax +1 781 442 1677 Second Edition now available - http://people.ne.mediaone.net/carlson/ppp .............................................................................. The alternate-break feature is available in Solaris 8 and Solaris 9. Appropriate patches can provide it for Solaris 7 or Solaris 2.6. ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris,comp.unix.admin Message-ID: <8rfjgf$311$1@nnrp1.deja.com> References: <39DA6DA0.F7605FCA@hotmail.com> <8rdrcs$ptr$1@ncal.verio.com> <39DB30BB.8B600114@hotmail.com> NNTP-Posting-Host: 142.205.248.1 Date: Wed, 04 Oct 2000 15:48:34 GMT From: Brian Huntley Subject: Re: Solaris crashing when keyboard unplugged. I love the idea of the 'alternate' - it sets a sequence (by default, three characters: carriage return, tilde and control-B (CR ~ CTRL-B)) that simulate the break action. The downside is that you should not run PPP or similar binary protocols over the serial console port if this option is enabled, as they might generate that sequence. [ see the file /etc/default/kbd and do "man kbd" ] ////////////////////////////////////////////////////////////////////////////// If the directly attached console keyboard on a Sun machine ever gets into a weird state, and if you can get a non-console session on the machine *over the network*, you can reset the keyboard by the command kbd_mode -a ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris,comp.unix.admin Message-ID: <8rg09f$2gg$1@ncal.verio.com> References: <39DA6DA0.F7605FCA@hotmail.com> <39DB30BB.8B600114@hotmail.com> <8rfjgf$311$1@nnrp1.deja.com> Date: 4 Oct 2000 12:26:39 -0700 NNTP-Posting-Host: 161.58.1.76 From: gerg@ncal.verio.com (Greg Andrews) Subject: Re: Solaris crashing when keyboard unplugged. Brian Huntley wrote: > ...you should not run > PPP or similar binary protocols over the serial console port if this > option is enabled, as they might generate that sequence. A "binary protocol" on the console port? You're describing a DDT [Don't Do That!] situation. Besides the fact that the port is locked for the kernel's exclusive access, the protocol would have intermittent kernel/syslog messages inserted into its packets. -Greg ....:....:....:....:....:....:....:....:....:....:....:....:....:....:....: Newsgroups: comp.unix.solaris,comp.unix.admin Date: 4 Oct 2000 08:55:35 -0500 Organization: CS Dept, University of Texas at Austin Message-ID: <8rfcsn$ojn$1@provolone.cs.utexas.edu> References: <39DA6DA0.F7605FCA@hotmail.com> From: Logan Shaw Subject: Re: Solaris crashing when keyboard unplugged. > When I unplug the keyboard, the system drops to the 'ok' prompt and freezes... What nobody has mentioned is that, if this happens, you can type "go" at the "ok" prompt and the system will resume operating. It isn't perfect, but it's better than rebooting. - Logan [you must plug the keyboard in before typing "go"...] ....:....:....:....:....:....:....:....:....:....:....:....:....:....:....: Or, if you are running the Solaris kernel debugger kadb, and the prompt is kadb[0]: then you must type :c to continue execution of the operating system. kadb[0]: :c hortense console login: ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.admin,comp.unix.solaris Message-ID: <3B3AF331.2F378241@god.bel.alcate.be> References: <3B3988D0.C6F4451C@god.bel.alcate.be> <9hc4ch$vpa$1@pita.alt.net> X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.8 sun4u) Organization: Alcatel Date: Thu, 28 Jun 2001 11:04:49 +0200 From: Kleykens Benny Subject: Re: hou unplug of keyboard cable cypher@punk.net wrote: > > In comp.unix.solaris Kleykens Benny wrote: > # "D. Birchall" wrote: > # > # > u246063232@spawnkill.ip-mobilphone.net wrote: > # > > > # > > does hot unplugging of keyboards on ultra10 hurts the system?. > # > > # > Hurt? Probably not. Get viewed as a stop-A and drop it to the > # > boot prompt, rendering it useless and requiring a hard reboot? > # > That's probably a different matter. ;) > # > > # > # Why would dropping it to boot prompt render it useless ? > # the command 'go' will take you right back into the OS as if nothing > # happened. > # > # So unplugging the keyboard, although I can imagine not completely devoid > # of mayhem, isn't all that big an issue if you just 'kbd -a disable' the > # workstation first. > # > # If you happen to forget to disable, you can just type 'go' at the > # OpenBoot PROM prompt and you are right back in the saddle. > > > Except that there is no longer any keyboard to type on. Do'H!!! ////////////////////////////////////////////////////////////////////////////// Message-ID: <38624BBD.7E6E6BD3@thunder.nws.noaa.gov> References: <3862342E.C9F63CFF@pinebush.com> NNTP-Posting-Host: ws8-nhdw.nws.noaa.gov Newsgroups: comp.sys.hp.hpux, comp.lang.tcl Date: Thu, 23 Dec 1999 16:20:13 +0000 Organization: NOAA Resource Development Center From: George Trojan Subject: Re: Alt key in VUE Christopher Nelson wrote: > (I realize this is a newbie-ish question and if I knew which FM, I'd R it.) > > I'm running VUE on HP-UX 10.20. I'm using the Citrix client for WinFrame to > access WinNT applications on a server and I'm using Tcl/Tk applications > running locally (on HP-UX). The problem is that SOMETHING in VUE is > apparently eating Alt. > > When I'm running NT applications, Alt-F does NOT invoke the File menu. > When I'm running Tcl/Tk applications, Alt- just doesn't seem to get > through. (For that matter, Shift-Tab doesn't have any effect.) Co-workers > with > other OSes or WMs don't have my problems. If it is, in fact, VUE that's > intercepting Alt, how do I tell it to stop? > > Chris > -- > Christopher Nelson, Sr. Software Engineer Pinebush Technologies, Inc. > Author: Tcl/Tk Programmer's Reference http://www.purl.org/net/TclTkProgRef I had this problem with CDE on hpux 10.20. Try xmodmap from command line: trojan> xmodmap xmodmap: up to 3 keys per modifier, (keycodes in parentheses): shift Shift_L (0x1b), Shift_R (0x62) lock Caps_Lock (0x1d) control Control_L (0x1a), Control_R (0x61) mod1 Alt_L (0x22), Alt_R (0x42) If your mod1 line has a third entry, try this: create file .xmodmaprc with the content clear mod1 add mod1 = Alt_L add mod1 = Alt_R then run xmodmap .xmodmaprc Works for me. George ////////////////////////////////////////////////////////////////////////////// If you boot a Sun Ultra 1 workstation with no Sun keyboard attached, it will use /dev/term/a as its serial console. If you are booting from the Solaris 8 "1 of 2" installation CD-ROM, it will present the following menu to allow you to choose an appropriate terminal type: What type of terminal are you using? 1) ANSI Standard CRT <<<< use a more specific type if possible 2) DEC VT52 3) DEC VT100 4) Heathkit 19 5) Lear Siegler ADM31 6) PC Console 7) Sun Command Tool 8) Sun Workstation 9) Televideo 910 10) Televideo 925 11) Wyse Model 50 12) X Terminal Emulator (xterms) 13) Other Type the number of your choice and press Return: 12 ....:....:....:....:....:....:....:....:....:....:....:....:....:....:....: (Advice not guaranteed, but worth a try...) If you are trying to install Solaris on either a PC or SPARC--but using a serial console instead of the graphics head--and then you get stuck at the point where the Install screen displays: - If your keyboard does not have function keys, or they do not respond, press ESC; the legend at the bottom of the screen will change to show the ESC keys to use for navigation. F2_Continue F5_Exit F6_Help ...and typing the keys labeled "F2" or "PF2" does not seem to work, then try pressing the "Escape" key and then the "2" key to generate the F2_Continue effect. .............................................................................. Some PC BIOSes do not support use of a serial port as the console. But one clever hardware hack to get around this may be found at http://www.realweasel.com/intro.html .............................................................................. ////////////////////////////////////////////////////////////////////////////// Newsgroups: alt.solaris.x86 Message-ID: <3cb9b327$0$11938$edfadb0f@dspool01.news.tele.dk> References: Date: Sun, 14 Apr 2002 18:50:36 +0200 From: Andreas Almroth Subject: Re: Install Using Serial Console "Crist J. Clark" wrote in message mybu8.31824$CH1.27181@sccrnsc02... > > I've had a look around the Solaris documentation and Googled for > information on doing an install of Solaris on x86 arch'es, but didn't > really find much. It would be easiest for me to do an install on a > serial console. Am I to take it that this is not supported? Or is > there a way to do this? I have access to a variety of Solaris version > media, so if it is now or was previously supported, I can find the > right stuff. Thanks for any help. > -- > Crist J. Clark On the boot diskette for Solaris 8 x86, you can change to file a:\solaris\bootenv.rc to reflect that you would like to use the serial port on the PC you are installing. Change the lines: setprop output-device screen setprop input-device keyboard to be setprop output-device ttya setprop input-device ttya If the PC you are installing on has a supported serial port, the DCA will use the serial port for configuration and and boot the Solaris kernel from specified source. My $0.25, Andreas ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris References: <9ibon4$3sh44@imsp212.netvigator.com> Message-ID: <3B49B0B2.F8BE3016@online.no> Organization: Nextra Public Access Date: Mon, 09 Jul 2001 15:25:06 +0200 From: Arne Sodal Subject: Re: stop-A in Netra t1 Cheung Chung Keung wrote: > > Hi all, > > How can I break the Netra T1 while I am connecting it through console? > I have tried to press Ctrl-Break in Windows Hyperterminal. > > But failed. Is it the problem of HyperTerminal? > If so, what other application can send the Break to Netra ? > > Thanks > Eddy Press the function key F5. Arne S .............................................................................. Newsgroups: comp.unix.solaris NNTP-Posting-Host: d60-216-190.col.wideopenwest.com [65.60.190.216] NNTP-Posting-Date: Mon, 23 Aug 2004 19:17:20 -0500 Message-ID: Date: Mon, 23 Aug 2004 20:17:19 -0400 From: David Nedrow Subject: Re: STOP-A (break) with standard AT keyboard and Raritan Guardian Just to followup with an answer to my original post: STOP-A is strange on a PC keyboard. Press and release each of the following keys in the order listed: 1. CTRL 2. PAUSE 3. A http://nedron.net/cgi-bin/suid/dnedrow/fom?file=92 -David ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris Date: Fri, 26 Oct 2001 22:42:04 GMT Organization: Phil's Software Message-ID: References: <9r44mf$8d5$1@reader-00.news.insnet.cw.net> <3BD5B75B.810FCB30@bellatlantic.net> From: Philip Brown Subject: Re: OpenBoot prompt? On Tue, 23 Oct 2001 18:30:51 GMT, selmore@bellatlantic.net wrote: > >From my Dell laptop using Hyperterm. I can use CTRL-BREAK to send the correct >sequence. > >through telnet you can do > >CTRL ] >telnet> send brk > >Depending on your network equipment sometimes this break won't be >passed to the system. Telnetting to a SPARC and sending the 'telnet break' signal, will do absolutely *nothing* useful. The CONSOLE has to get it. When you are telnetted in, you are not connected to console. The exception is when you are telnetted into a CISCO (or some other) terminal concentrator, and are then connected via serial line from the Cisco to the Sun's serial console port. At which point, the cisco will convert the Telnet BREAK to a serial-line Break. -- [Trim the no-bots from my address to reply to me by email!] [ Do NOT email-CC me on posts. Pick one or the other.] S.1618 http://thomas.loc.gov/cgi-bin/bdquery/z?d105:SN01618:@@@D The word of the day is mispergitude .............................................................................. [As of early 2003, the SSH protocol appears to have no equivalent to the telnet 'break' out-of-band function.] ////////////////////////////////////////////////////////////////////////////// Date: Mon, 29 Apr 2002 12:01:32 -0400 Message-ID: <200204291600.g3TG0O014649> From: Christine T. Subject: Hmm... pulling serial sends break key? I have 4 headless Sun Blade 2000s, which I'm accessing thru a 9-to-25 pin serial cable from my laptop, using tip. I knew that rebooting my laptop will send a BREAK sequence and taking the SunBlade down to the "ok" PROM prompt. I never knew that disconnecting the serial cable (from the SunBlade) will also take it down to the "ok" prompt. Is this behavior new? I used to yank serial cables from headless U5, U10, U60 all the time w/o any problem. What causes it? The mysterious thing is, there are 4 boxes here, and one is immune to this disease. As far as I can tell they are built identically, except for this eeprom setting: #power-cycles=15 This is different for all 4 boxes? What is this? Is this even relevant? .............................................................................. Date: Mon, 29 Apr 2002 13:39:14 -0400 Message-ID: <15565.34114.512730.793101@gargle.gargle.HOWL> References: <200204291600.g3TG0O014649> From: James Carlson Subject: Re: Hmm... pulling serial sends break key? Christine writes: | | Is this behavior new? I used to yank serial cables from headless | U5, U10, U60 all the time w/o any problem. What causes it? It's caused by sending the system a 'break.' Normally, an idle serial line is in MARK state (negative voltage). If it goes to SPACE (positive) for a period of time longer than a legal character width, then it's considered a "break." Anything that causes a flap on the wires can cause this, including power cycling the other device, changing bit rates, and yanking the cable. It's a long-standing issue on Solaris systems. You can use the 'kbd' utility to change the serial port to use the alternate break sequence instead: A BREAK condition that originates from an erroneous electri- cal signal cannot be distinguished from one deliberately sent by remote DCE. As a remedy, use the -a option with Alternate Break to switch break interpretation. Due to the risk of incorrect sequence interpretation, binary protocols such as PPP, SLIP, and others should not be run over the serial console port when Alternate Break sequence is in effect. The Alternate Break sequence has no effect on the keyboard abort. For more information on the Alternate Break sequence, see [man pages] zs(7D), se(7D), and asy(7D). -- James Carlson [See: http://docs.sun.com/?q=kbd&p=/doc/816-0210/6m6nb7mcf&a=view] ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.sys.sun.hardware Organization: Road Runner - Columbia Message-ID: Date: Sun, 20 May 2001 04:40:54 GMT From: Winston Edmond Subject: Re: Special IPX Keystrokes While Running Headless oldbear@arctos.com (The Old Bear) wrote: > > Yes, he asked about STOP-N, but he can issue a break (STOP-A) [L1-A] > from his ASCII terminal emulator and then enter new command > mode for the OpenBoot prompt, at which point he can get a > help menu which will give him enough information to reset the > NVRAM to its defaults. Ah, that's better. :) My reading of your original reply gave me the impression you were suggesting Break was sufficient, leading me to wonder if you might be answering the more frequently asked question of how to do L1-A. Also, I didn't actually know if there *was* a keyboard substitute for L1-N, so my reply was partly asking how using Break helped (answer: apparently there is indeed a "new command mode" equivalent for L1-N (see below)). > If you know how to issue the equivalent of a STOP-N for > resetting NVRAM defaults from an ascii terminal acting as > console on the IPX's serial port, I would be interested in > learning that technique. Another poster followed up and said more about what to do after Break: From: gerg@panix.com (Greg Andrews) : : No. The most you can do from an RS232-connected terminal is send : an RS232 Break signal to halt the machine to the boot prom's "ok" : : However, at that point (the "ok" prompt), you can type the "set-defaults" : command, which the boot prom manual says is the equivalent of Stop-N. -WBE ////////////////////////////////////////////////////////////////////////////// As of 2000-08-18, Cisco was giving this advice on the Sun-console "break" issue: http://www.cisco.com/warp/public/770/fn-tsbreak.html ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris Message-ID: <980rvl$82t$1@boomer.cs.utexas.edu> Date: 5 Mar 2001 14:12:37 -0600 Organization: CS Dept, University of Texas at Austin From: Logan Shaw Subject: Re: accellerate my keyboard In article <3AA3EEA5.C9F127B9@infineon.com>, Christopher Rupp wrote: > >when i press a key (say 'A') and hold that key pressed then the first A >will appear immediately, then i have a break of half a second, and the >next A's come quite slowly then. Unfortunately, unless something has changed since I last looked at this, the only way to change that is to specify an option to the X server when it's started up. If you're using the CDE login manager, the X server is already started before you login, so you can't do that easily. (You'd have to do a "command line login" and then use "xinit" to start the X server and pass the command line arguments to it.) Anyway, the relevant section from "man Xsun" is this: -ar1 milliseconds Specify amount of time in milliseconds before a pressed key begins to autorepeating. The default is 500 milliseconds. This option is not available on Solaris x86 or PowerPC. -ar2 milliseconds specify the interval in milliseconds between autorepeats of pressed keys. The default is 50 mil- liseconds. This option is not available on Solaris x86 or PowerPC. Hope that helps. - Logan -- my your his her our their *its* I'm you're he's she's we're they're *it's* ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris Date: 5 Mar 2001 21:45:02 GMT Message-ID: <9811cu$cpn$3@agate.berkeley.edu> From: Alan Coopersmith Subject: Re: accellerate my keyboard Logan Shaw wrote: | | Unfortunately, unless something has changed since I last looked at | this, the only way to change that is to specify an option to the X | server when it's started up. You should also be able to change it via the accessx program used to set various keyboard/mouse options for disabled users. -- ________________________________________________________________________ Alan Coopersmith alanc@alum.calberkeley.org http://soar.Berkeley.EDU/~alanc/ aka: Alan.Coopersmith@Sun.COM ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.sys.dec Path: utkcs2!darwin.sura.net!mips!mips!decwrl!deccrl!news.crl.dec.com !hollie.rdg.dec.com!decvax.dec.com!ih82w8.zk3.dec.com!evans Message-ID: <1992Jun2.151721.18743@decvax.dec.com> Sender: usenet@decvax.dec.com (Usenet News System) Nntp-Posting-Host: ih82w8.zk3.dec.com Reply-To: evans@zk3.DEC.COM Organization: Synergytics References: <1992Jun2.115535.6575@devvax.mincom.oz.au> Date: Tue, 2 Jun 1992 15:17:21 GMT From: evans@ih82w8.zk3.dec.com (Marc Evans ) Subject: Re: Digital Keyboards - escape vs. tilde In article <1992Jun2.115535.6575@devvax.mincom.oz.au>, anita@devvax.mincom.oz.au writes: |> |> This may be an FAQ but..... |> |> We are having a load of DECstations delivered. The users will be using |> Emacs on Primos and Unix. They need access to the escape key and the tilde |> key, so using the decterm option to have ~ as will not be good |> enough. |> |> What do other people do? I add the following lines to my $HOME/.xsession file: xmodmap -e 'keysym comma = comma less' xmodmap -e 'keysym period = period greater' xmodmap -e 'keycode 191 = Escape' xmodmap -e 'keycode 201 = grave asciitilde' - Marc -- =========================================================================== Marc Evans - Marc@Synergytics.COM | Synergytics (603)635-8876 WB1GRH - WB1GRH@W2XO.#WPA.PA.USA.NOAM | 21 Hinds Ln, Pelham, NH 03076 --------------------------------------------------------------------------- Unix and X Software Consultant ////////////////////////////////////////////////////////////////////////////// ~~~~:~~~~:~~~~:~~~~:~~~~:~~~~:~~~~:~~~~:~~~~:~~~~:~~~~:~~~~:~~~~:~~~~:~~~~: [ the following message is part of a discussion that is stored in the "Discussion of UNIX (or Linux) terminal use" document ] Newsgroups: comp.databases.oracle.misc, comp.os.linux.networking, comp.sys.dec, comp.protocols.kermit.misc Date: 10 Jun 1999 14:25:21 GMT Organization: Columbia University From: Frank da Cruz Subject: Re: ISO VT320 emulator with key-bindings for Oracle Forms peter@baileynm.com (Peter da Silva) wrote: : In article <7jjshc$ere$1@newsmaster.cc.columbia.edu>, : Frank da Cruz wrote: : > ... : I haven't run into this problem, and I've written and ported an awful lot : of curses-based code between UNIX systems. Some code did a good job of : encapsulating the slight differences between implementations of the termlib : API, and other code made no attempt to hide system dependencies and just : scattered ifdefs all over the place. Even otherwise well-written code like : early versions of Kermit had that problem. tputs() can be void or int. The third argument of tputs(), which is a pointer to a function to put a character, can be void, int, or char. The argument to that function can be void or char. Thus there are at least 2 x 3 x 2 = 12 combinations that must be accounted for in any portable code that uses tputs(). Probably more like 30 when you take into account that int or char can be signed or unsigned. Of course the ugliness is encapsulated, but that doesn't make any less ugly. I have never understood the force impels UNIX implementors to change data types of widely used APIs every time they get a chance. : > c. Dependent on buggy and/or incomplete databases; : : That's something the end-user can fix. *If* the end-user knows how to. This is a rather obscure and dying art; one does not rely on end-users to have mastery of it. In these times, end-users expect software to "just work". : > d. Offer only an incomplete and sketchy model of any real terminal, : > not even close to sufficient for defining an accurate emulation; : : My vt100 emulator, which used raw termlib, did a better job of vt100 : emulation than most commercial packages. It didn't try and provide : perfect visuals: double-wide and double-high letters, for example, were : simply not addressed. But it passed the vt100 torture test. Then it didn't run strictly from termcap/terminfo information; otherwise, it wouldn't have been a vt100 emulator, it would have been an emulator of every terminal that had an entry in the database, right? The database only encodes certain information about a terminal, not all the information needed to make a fully functional emulator. Such items as report requests and responses, forms-filling, and blockmode spring to mind. .......................... : wouldn't have been a vt100 emulator, it would have been an emulator of : every terminal that had an entry in the database, right? Oops, that was written before the morning's coffee has soaked in. Peter's point is (obviously) that he is using termcap info for the local terminal (whatever it is) to translate between it and a remote VT100. The VT100 knowledge is hardcoded, but knowledge about the local terminal is table driven. Depending on the capabilities of the local terminal (e.g. scrolling regions, 80/132-column switching, etc), a serviceable termlib-based VT100 emulator might be possible, to the extent it is useable by EMACS or vi, but not necessarily by more demanding applications, such as those found on VMS. ........................... : > e. Notorious for refusing to work due to library version mismatches; : > f. Sometimes not available at all. : : That's an easy fix. Same solution as B. It's easy if you understand cryptic messages about shared libraries, and are familiar with the politics regarding curses vs ncurses, libc vs glibc, competing numbering schemes, etc, and what to do about them. : >And that in any case, this does not solve the original problem: : > : > How do I map Shift-Alt-F7 to such-and-such a function? : > : >The answer will still be: "you can't, because the software has no way of : >knowing that you pressed Shift-Alt-F7". : : With a keyboard mapping file that maps escape sequences to symbols that : the user's interested in. If xmodmap recognizes your keyboard and can see Shift-Alt-F7 as distinct from other key combinations, then yes, but only for xterm. A separate solution is required for the console. Remote (non-X) sessions haven't a prayer. You win some and lose some. UNIX is a general-purpose multiuser operating system designed originally to be accessed from a terminal, and in fact a variety of terminals. The idea of a UNIX workstation with its own keyboard and screen was grafted on later and is still not a good fit. DOS and Windows, on the other hand, are single-user operating systems designed to be used *only* from the built-in keyboard, mouse, and screen, and therefore include APIs (or direct hardware access) that make terminal emulation possible in the sense that most people expect. But this is at the expense of generalized accessibility. It is hard to explain this to people who expect UNIX to be like Windows. While it might be possible to write a true terminal emulator for a specific UNIX variety on specific hardware that runs only in an X window (and in fact there are numerous examples -- xterm, Xfree86 xterm, the xterm versions from HP, IBM, and other companies that emulate their own proprietary terminal types), it is not possible in the general case, due to differences in hardware (e.g. different keyboards), windowing systems (in the X environment), screen drivers (in the console environment), APIs, and access methods. - Frank ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris Path: mark.usec.sun.com!uunet!dca.uu.net!news.tufts.edu!logbridge.uoregon.edu !newsfeed.stanford.edu!sn-xit-01!sn-post-02!sn-post-01!supernews.com !corp.supernews.com!not-for-mail Message-ID: References: <3AA55544.BB4FAC4D@positron.com> <984grc$atc$1@thebe.syd.dav.net.au> Organization: Timetravellers Anonymous Date: Wed, 07 Mar 2001 08:49:39 -0000 From: "Richard L. Hamilton" Subject: Re: compose key In article <984grc$atc$1@thebe.syd.dav.net.au>, Anthony Mandic writes: > > Griff Miller wrote: >> >> Where can I find a reference on all the different compose key combo's? >> I know a few just from guessing, (¼,½,¾,ñ, etc.) but I don't know everything >> that is available. > > You would want the Sun document "Using Your Sun Keyboard" (Part. No. > 800-6654-12 Revision A, July 1992 - or whatever came after it). Or just look at /usr/openwin/include/X11/Suncompose.h (maybe halfway down in the file; search for "non-breaking"). Also perhaps look at /usr/openwin/lib/locale/$LANG/Compose, for some $LANG other than C. > Compose key sequences are on the back page and look fairly straight- > forward. Just press and release the three keys in succession : the > compose key and the two keys in the sequence. Here's a quick summary - > > Á = A ' > Æ = A E > ç = c , > Ð = D - > ê = e ^ > ï = i " > ñ = n ~ > Ø = O / > ß = s s > Þ = T H > ù = u ` > ¢ = c / > £ = L - > ¥ = Y - > ¤ = o x > ª = - a > ® = r o > § = S O > ¶ = p ! > µ = / u > ± = + - > ² = ^ 2 > « = < < > ¡ = ! ! > > Fairly intuitive (except for the Yen sign). > > -am © 2000 -- ftp> get |fortune 377 I/O error: smart remark generator failed Bogonics: the primary language inside the Beltway mailto:rlhamil@mindwarp.smart.net http://www.smart.net/~rlhamil ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris Message-ID: References: Organization: Timetravellers Anonymous Date: Mon, 21 Jul 2003 03:08:20 -0000 From: Richard L. Hamilton Subject: Re: Compose button on keyboard In article , Andrew Falanga writes: > Hi, > > My sun keyboard has a button called Compose. How does one get it off, > once it's on? For those toolkits that know what to do with it at least (and at least the handling of the light, and probably the state too, seems to be toolkit dependent), the normal use is Compose , where the sequences (for iso8859-1) are defined on http://docs.sun.com/db/doc/806-4743/6jdq6q25k?q=compose+sequences&a=view If I press in one Motif window,and move the focus to another, and press again, I just get an . But if I move back and press the other , _then_ I get an ß. But the light gets confused, and turns off when I press the in the 2nd window. At least, that's with xkb enabled; there are some differences, i.e. without xkb enabled, I think the light stays on throughout , but with xkb enabled, the light always turns off on the 2nd keystroke after . Anyway, if you pressed by accident, just press it again in the same window to turn it off. And remember that the light can be confused rather easily. Also, xset led 2 will turn it on (although subsequent keystrokes may turn it off automatically), and xset -led 2 will turn it off. (the LED number may be different on x86, I'm not sure) It seems to me there needs to be some work done on making the compose handling more consistent between toolkits and between xkb/non-xkb mode. It's a shame the compose state isn't global like the shift lock state, but I'm not sure that's even possible while providing otherwise correct and expected behavior. -- mailto:rlhamil@mindwarp.smart.net http://www.smart.net/~rlhamil ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris Message-ID: References: <3f1b62a2$0$83394$c3e8da3@news.astraweb.com> Organization: University of California, Berkeley Date: Mon, 21 Jul 2003 04:24:07 +0000 (UTC) From: Alan Coopersmith Subject: Re: Compose button on keyboard Cypherpunk@nyc.rr.com writes in comp.unix.solaris: | | Any idea how to compose 3-byte Unicode chars? Choose a UTF-8 locale on the login screen, then use the input method selector at the bottom of each window to select an input method. For more info see some of the many links on: http://developer.sun.com/techtopics/global/index.html (hey! I know that guy! The current featured developer works on the same floor I do... small world, or at least small company 8-) -- ________________________________________________________________________ Alan Coopersmith alanc@alum.calberkeley.org http://www.CSUA.Berkeley.EDU/~alanc/ aka: Alan.Coopersmith@Sun.COM Working for, but definitely not speaking for, Sun Microsystems, Inc. ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris References: Message-ID: Organization: University of California, Berkeley Date: Wed, 28 Jan 2004 17:18:28 +0000 (UTC) From: Alan Coopersmith Subject: Re: Icelandic keyboard layout in Solaris 9 solvi@hugbunadur.is (S?lvi P?ll ?sgeirsson) writes in comp.unix.solaris: | | I have an ultra 5 machine running Solaris 9. | How would one set an icelandic keymap? | | I know the xkb file is located in /usr/X/lib/X11/xkb/symbols/is; how | would one *use* it? (No, the jumpers under the keyboard do not support | the icelandic layout.) Unless you've started the server with +kb, the XKB files aren't used on Solaris. Instead the keymaps in /usr/openwin/etc/keytables are used. You could build a keymap based on one of those, and then modify the keytable.map in that directory to load it for whatever layout your jumpers are set to. (Be careful though, since patches/upgrades could modify keytable.map.) -- ________________________________________________________________________ Alan Coopersmith alanc@alum.calberkeley.org http://www.CSUA.Berkeley.EDU/~alanc/ aka: Alan.Coopersmith@Sun.COM Working for, but definitely not speaking for, Sun Microsystems, Inc. ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.sys.sun.hardware References: <8riiusss0n35v7a2ct8d86ahjc8mi3r5j4@4ax.com> Message-ID: <39e97121@si-nic.hrz.uni-siegen.de> Date: 15 Oct 2000 10:56:01 +0100 From: Michael Engel Subject: Re: SUN KYBD . . . Stephen S. wrote: : : I'm looking to run my SUN keyboard and mouse on DEC Alpha Linux : workstation. I can most likely figure out the software. What I am : looking for is a hardware convertor making it possible to even connect : and get signals from one to another. Even a Sun to X86 PC convertor : would help. I already have the monitor hooked up and would love to : get the keyboard and mouse going. If you're happy running the keyboard with a special driver (XInput or XTest extension routine or similar) off the serial port, all you need is a voltage converter (e.g. MAX232) to bring the Sun keyboard's and mouse's 5V voltage levels to RS232 standards. The keyboard runs at 1200 baud 8N1 IIRC - the specs are available from http://www.sparc.org/ The mouse should use s.th. similar to the Mouse Systems protocol - take a look at the Linux kernel sources for more information. Running the keyboard as a real system keyboard is a lot more difficult as this requires converting the keycodes as well as converting the data format from asynchronous to synchronous serial format. I posted some links on ready-to-build interfaces using microcontrollers in c.s.s.h about two weeks ago. regards, Michael -- Michael Engel (engel@unix-ag.org) ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.sys.sun.hardware Message-ID: <749oi7$83p$1@methusalix.rz.tu-clausthal.de>#1/1 X-Deja-AN: 418765399 Organization: Rechenzentrum der TU Clausthal Date: Fri, 4 Dec 1998 From: Thiemo Nordenholz Subject: Using a Sun keyboard on a PC Hi, Has anyone successfully connected a Sun keyboard to a PC oder seen information on the protocol Sun keyboards use? So far I've only found out that there is some serial protocol at 9600 bps - not enough to build something to make this combination work... Thanks for any help, Thiemo -- Thiemo Nordenholz Chemistry *BSD WinNT CP Coffee! 486DX2/80 fBSD 2.2.7 486DX2/66 fBSD 2.2.6 AXPpci33 oBSD/alpha 2.2 MP2k NOS2.1 .............................................................................. Newsgroups: comp.sys.sun.hardware Message-ID: <3669459b.0@rainbow.hrz.uni-siegen.de>#1/1 X-Deja-AN: 418950524 References: <749oi7$83p$1@methusalix.rz.tu-clausthal.de> User-Agent: tin/pre-1.4-980202 (UNIX) (SunOS/5.5.1 (sun4m)) Date: Sat, 5 Dec 1998 From: Michael Engel Subject: Re: Using a Sun keyboard on a PC Hi, Thiemo Nordenholz wrote: : : Has anyone successfully connected a Sun keyboard to a PC oder seen : information on the protocol Sun keyboards use? So far I've only found out : that there is some serial protocol at 9600 bps - not enough to build : something to make this combination work... You can buy the specs for Sun type 5 keyboards under "SPARCshop" at: http://www.sparc.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Type 5 Keyboard Interface [Accompanies License $99.00] Defines the interface for Sun Microsystems' Type 5 keyboard mouse. This document includes detailed information on the electrical, mechanical and data communications interfaces of the keyboard mouse. Note: Developing a product based on this interface requires the purchase of a royalty-free license (see licenses). -- Type 5 Keyboard Interface License [$99.00] Grants owner the right to design, make, have made, use and sell products which use the Type 5 Keyboard and Mouse Interface. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If you want to experiment, please note that Sun keyboards use 5V signal levels for the keyboard/mouse serial interface. You may be able to find out more information on the keycodes from Linux and Net/OpenBSD source code. The pinout of the mini DIN keyboard plug should be in the Sun Hardware FAQ (find it on www.sunhelp.com or sun3arc.krupp.org - the new home of doener, Heiko Krupp's great Sun3 web site). [2005: the Sun3Arc site is no longer online, but part of it was preserved: http://web.archive.org/web/20000815110959/http://sun3arc.krupp.net/ See also http://www.sunshack.org/] For Linux, I recommend linux/drivers/sbus/char/sunkbd.c and sunkeymap.c Btw., I'm trying to build the opposite - a microcontroller device that permits the use of PS/2 keyboards and mice on Sparcs and Sun 3 systems (if you like older Suns like me you probably have lots of machines and not enough keyboards ...). This will probably be based on an Atmel AT90S2313 microcontroller - these are small, available at relatively low prices, in-system flash programmable and RISC CPU's :-). If I get it running, I plan to release the controller source code under GPL. I know that I can buy an adapter from SunExpress that does exactly the same but this isn't fun ;-) (and it's expensive - but the Atmel controllers cost $6 in single-piece quantities and need only minimal external circuitry). regards, -- Michael Engel ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.sys.sun.hardware,comp.os.linux.x References: <39DF627E.64C5FC2E@tu-cottbus.de> Organization: united xpiloteers Message-ID: <39df97b9@news.uni-ulm.de> From: Sven Mascheck NNTP-Posting-Host: wega-fddi2.rz.uni-ulm.de Date: 7 Oct 2000 23:38:01 +0200 Subject: Re: Sun Type 6 Keycodes under XFree86 "Thomas Gaertner (local User)" wrote: > I bought a Type6 USB Keyboard ( german layout ) for using it under Linux. > I can't use the special keys at the left side.( Stop, Again, Paste, ... ) > Trying the original Sun Type5 layouts for X made the keyboard unusable. The latest version of xkeycaps[1] doesn't support Type6. Find the keycodes with xev(1), get the KeySyms from your old Type5-xmodmap, build a new map with xmodmap(1) and modify it. [2] might be of help. [1] http://www.jwz.org/xkeycaps/ [2] http://www.uni-ulm.de/~s_smasch/X11/Xmodmap 2003 updated URL: http://www.in-ulm.de/~mascheck/X11/xmodmap.html I guess the xkeycaps maintainer'd appreciate your Type6 support ;-) f'up comp.os.linux.x Sven ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.sys.sun.hardware, comp.os.linux.x Message-ID: <8s0ehu$jjp$3@agate.berkeley.edu> Date: 11 Oct 2000 01:08:14 GMT From: Alan Coopersmith Subject: Re: Sun Type 6 Keycodes under XFree86 "Thomas Gaertner (local User)" writes in comp.os.linux.x: | |I bought a Type6 USB Keyboard ( german layout ) for using it under Linux. |The keyboard is really great, except is has one problem. I can't use the |special keys at the left side.( Stop, Again, Paste, ... ) |Trying the original Sun Type5 layouts for X made the keyboard unusable. |Does anyone knows how to enable the special keys at the left under X? Have you tried the instructions at: http://www.infosun.fmi.uni-passau.de/~nils/type6/ yet? ________________________________________________________________________ Alan Coopersmith alanc@alum.calberkeley.org http://soar.Berkeley.EDU/~alanc/ aka: Alan.Coopersmith@Sun.COM Working for, but definitely not speaking for, Sun Microsystems, Inc. ////////////////////////////////////////////////////////////////////////////// For users of Sun DNI, the following needs to be done on Solaris 2.3 or higher with Type 5 keyboards, to get the NumLock key to map correctly to PF1 (Goldkey): After starting OpenWindows, before starting TE320, enger the following command, which will clear the NumLock keymap: xmodmap -e "clear mod3" After quitting the TE320 session, if the mapping is to be restored, then do: xmodmap -e "add Mod3 = Num_Lock" ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.sys.hp.hpux Message-ID: <7p8mge$qoh$1@news.rz.uni-karlsruhe.de> References: <37B7C044.507A13AD@frqnet.de> Date: 16 Aug 1999 09:43:42 GMT Organization: University of Karlsruhe From: urle Subject: Re: German Keyboard Christine Volkwein wrote: > > I've an HP-Server (HPUX 10.20). The first installation have been made > with a german keyboard (y and z mixed). Now I've an english keyboard. > How can I change it? rm /etc/kbdlang /sbin/itemap -i -L -w /etc/kbdlang (see /etc/bcheckrc) urle -- Uli Betzler (urle) urle@rz.uni-karlsruhe.de Universitaet Karlsruhe, Rechenzentrum IRA/VERA/SR, Zirkel 2, 76128 Karlsruhe phone: +49 721 608-4039 FAX: +49 721 608-9013 alternate FAX: +49 721 32550 urle = URL-Emanation = http://www.uni-karlsruhe.de/~Ulrich.Betzler/urle.html ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.sys.sun.hardware Message-ID: <3a258980_2@news.ghg.net X-Trace: 29 Nov 2000 16:56:00 -0600, max10-9.ghg.net Date: Wed, 29 Nov 2000 16:53:53 -0600 From: "Carroll James Moore, Jr." Subject: Question About Belkin's Sun Adapter F1D082 I purchased one of these recently to attach a PS/2 keyboard and mouse to my Sun Ultra 5, however, I've been dissatisfied with the mouse's performance. There appears to be a slight delay between my moving the mouse and the screen cursor. Solaris' mouse controls for acceleration and threshold can not solve the problem since it deals with hesitation and not resolution. At first, Belkin's customer support claimed the problem was the Microsoft Intellimouse I was using, even though none of their documentation makes this claim. After getting the same results with a standard 2 button PS/2 mouse, they now claim the box may be defective. Is anyone else using this product? How does it work for you? Maybe my box is defective! cmoore@ghg.net ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.terminals References: Message-ID: <976ech$nau$1@news1.Radix.Net> Organization: RadixNet Internet Services Date: 23 Feb 2001 19:41:05 GMT From: Thomas Dickey Subject: Re: vt320 function keys / Suse linux setup on sparcserver Ronny Svedman wrote: > Hi! > I am trying to install SuSe linux on a Sun sparcserver without graphic > console, but the installation program requires me to use the Function keys > on the VT320. pf1 -pf 4 works, and F11 through F16 is interpreted as F10 > thru F15.. > BUT, F5 is nowhere to be found. How do you generate F5-F9 from the vt320 > keyboard (LK201, swedish)? vt320's don't send anything for F1-F5 (PF1-PF4 are on the numeric keypad). It sounds as if someone's using an xterm keyboard. -- Thomas E. Dickey http://dickey.his.com ftp://dickey.his.com \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ Newsgroups: comp.sys.sun.hardware, comp.unix.solaris, comp.sys.sun.admin Message-ID: <98oaeu$s5k$1@agate.berkeley.edu> References: <98l0p8$lmh$3@juno.virago.org.au> Date: 14 Mar 2001 17:40:46 GMT From: Alan Coopersmith Subject: Re: Do you dislike Type 6 keyboards? (was: SS20 / SunBlade 100) Thomas Tornblom writes in comp.sys.sun.hardware: | |I see comments like this for each and every new keyboard. When the |type 4 keyboard came, people were ranting about how wonderful the |clunky type 3 keyboards were. The same happened when the Type 5 |keboards came. "Why can't I have my wonderful Type 4 keyboard". I always hated the type 4 personally - the return key was just the wrong shape and I kept missing it. |One thing I really like with the Type 6 USB keyboards is that they |work with PC:s, in case I ever need to touch one. Macs have a problem |with the layout though ;-) Works fine on my iMac - just have to pretend the Sun diamond key is the Apple Command/"Pretzel" key. Unfortunately the keys on the left side all appear to be useless on the Mac. -- ________________________________________________________________________ Alan Coopersmith alanc@alum.calberkeley.org http://soar.Berkeley.EDU/~alanc/ aka: Alan.Coopersmith@Sun.COM Working for, but definitely not speaking for, Sun Microsystems, Inc. ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.sys.sun.hardware, comp.unix.solaris, comp.sys.sun.admin Date: 14 Mar 2001 09:42:19 +0100 Organization: Church of Emacs, Aarhus Chapter Message-ID: From: Lars Balker Rasmussen Subject: Re: Do you dislike Type 6 keyboards? (was: SS20 / SunBlade 100) rachel@isis.virago.org.au (Rachel Polanskis) writes: > > The Type 6 drives me nuts - the tilde is in the wrong place, > the escape key is out of place, control/caps lock is a pain :( Uh, key layout has nothing to do with whether it's Type6 or Type5c. I have a US UNIX Type6 USB keyboard, with the keys in just the right places. -- Lars Balker Rasmussen "Woo hoo!?" ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris NNTP-Posting-Host: bonn-4db4b49f.pool.einsundeins.de NNTP-Posting-Date: Mon, 11 Jun 2007 20:07:22 +0000 (UTC) References: <5cra4uF31a3n8U1@mid.individual.net> Message-ID: <20070611220635.ac123e7a.uwe.wolfram@onlinehome.nospam.dummy.de> Date: Mon, 11 Jun 2007 22:06:35 +0200 From: Uwe Wolfram Subject: Re: tilde character lost Frank Langelage wrote: > > Last Monday I patched my SunBlade 2000 running Solaris 10. > Now I recognized that the tilde sign is no longer available from CDE > environment. > Getting to the character console by running "init S" the tilde is > available there. > Any hints? > Anybody encountered the same problem? Sure, as far as I recall Sun altered some keytables in a recent Xsun patch or so, since then the tilde is gone (at least with a German keyboard). At least in a terminal window you can press tilde, then space, to let the tilde show up. ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris References: <98kb9q$4m3$1@newsbeast.unix.sprint.net> Date: Tue, 13 Mar 2001 06:30:45 GMT Message-ID: From: Doug McIntyre Subject: Re: Diff PC vs UNIX Type 6 kbd phil@unix.sprint.net (Phil Meyer) writes: > >I have been searching all over for some reference to the differences >between the UNIX style and the PC style Type 6 keyboards. >We received at one time 12 new systems with the WRONG keyboards, and I >almost got lynched! Now I cannot remember which is which. >On the keyboards we like, the Help key is the big button top left and >the escape key is next to it. >On the keyboards they hated, the large top left key was blank and the >escape key was next to the 1 key along the numeric row. The main differences is that on the PC layout, the Caps Lock key is to the left of the A, and the Escape key is up with the Help key and the function keys. The Unix layout has the Control key to the left of the A, and the Escape key is next to the 1. There are a few other keys that move around, like ~ IIRC, but most people are only affectionate about those two keys' placement. -- Doug McIntyre merlyn@visi.com Network Engineer/Tech Support/Jack of All Trades of Vector Internet ////////////////////////////////////////////////////////////////////////////// Date: 11 Mar 2001 10:18:50 -0700 Organization: Philips Semiconductors, ATO Newsgroups: comp.sys.sun.hardware, comp.unix.solaris, comp.sys.sun.admin Message-ID: From: lopez@abqato.abq.sc.philips.com Subject: Re: Do you dislike Type 6 keyboards? (was: SS20 / SunBlade 100) I am upgrading my SPARCstation 20 to a Sun Blade 1000. I love my Type 5 keyboard. It is a solid product that feels comfortable. I really dislike the Type 6 that comes with the Sun Blade 1000. It is a very low quality product. The Sun Blade 1000 configuration as purchased was over US $40,000. The keyboard is like something I might expect to find on a "free" PC (with some service). It is very disappointing. I also dislike the mouse. The stiff wire makes it move around "on its own". I AM VERY DISAPPOINTED IN THIS PRODUCT. ... I specificly requested a Type 5 keyboard and the sales person told me I would get one. So I am suprised it is not available. I thought this was just a shipping error. -- Robert.Lopez@Philips.com Assembly and Test Organization, Philips Semiconductors Mail Stop 20, 9201 Pan American Fwy. N.E., Albuquerque, New Mexico 87113 USA [P: (505)822-7112 F: x7237] ////////////////////////////////////////////////////////////////////////////// Date: 11 Mar 2001 23:08:02 +0100 Organization: Church of Emacs, Aarhus Chapter Newsgroups: comp.sys.sun.hardware, comp.unix.solaris, comp.sys.sun.admin Message-ID: From: Lars Balker Rasmussen Subject: Re: Do you dislike Type 6 keyboards? Michael Engel writes: > Does anyone know if there is a way to get third-party USB keyboards > to work with the Blade 1000? Some will work, some will not. We've used an older Cherry USB-keyboard with SunRays, and I think I tried a keyboard from a Compaq iPaq, but I'm not sure. I was under the impression most USB keyboards would "just work". Anyway, I'd miss the hell out of the left function keys, if using a PC keyboard. This is why Solaris x86 has always felt wrong for me as a desktop computer. (We use Suns on the desktop, and Solaris x86 on the server end. Dare to be different :) ) -- Lars Balker Rasmussen "Woo hoo!?" ////////////////////////////////////////////////////////////////////////////// Notes on USB support for SunRay desktop appliances can be found at: http://www.sun.com/io_technologies/sunray/usb/usb.prods.cat.html .............................................................................. SRSS 2.0 patch to resolve problem with wheel mice on SunRays: http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert%2F57582 To determine the version of SRSS on a system, run the following command: # /usr/bin/pkginfo -l SUNWuto | grep -i version VERSION: 2.0_37.b,REV=2002.12.19.07. ////////////////////////////////////////////////////////////////////////////// Date: 11 Mar 2001 20:00:17 +0100 Newsgroups: comp.sys.sun.hardware, comp.unix.solaris, comp.sys.sun.admin Message-ID: <3aabcb41@si-nic.hrz.uni-siegen.de> From: Michael Engel Subject: Re: Do you dislike Type 6 keyboards? In comp.sys.sun.hardware lopez@abqato.abq.sc.philips.com wrote: : : I am upgrading my SPARCstation 20 to a Sun Blade 1000. : I love my Type 5 keyboard. It is a solid product that feels comfortable. : : I really dislike the Type 6 that comes with the Sun Blade 1000. : It is a very low quality product. The Sun Blade 1000 configuration : as purchased was over US $40,000. The keyboard is like something I : might expect to find on a "free" PC (with some service). It is very : disappointing. We also have two brand-new SunBlade 1000's here which were ordered without keyboards and mice ("oh well, we've got lots of type 5 keyboards around" ... and found only a USB connector on the machine). No problem, I thought--just get a USB keyboard from the Mac next door and boot the machine up. It seems that the Blade 1000 is explicitly checking for the USB vendor or device ID of the keyboard as it complained about not being able to find a keyboard :-/. This doesn't really make sense IMO. Does anyone know if there is a way to get third-party USB keyboards to work with the Blade 1000? regards, Michael -- Michael Engel (engel@unix-ag.org) ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris Date: Sun, 15 Jul 2001 08:28:59 GMT Message-ID: <3B5153B1.6FA4C1DA@acm.org> From: Scott Pickering Subject: PC USB keyboards on Blade 100 For those who care... I finally got a PS2-with-USB-adapter PC keyboard (MS Natural Keyboard to be exact) to work with the SunBlade 100. The trick is to boot with the Sun USB keyboard, and then at the login screen, switch the Sun with the PC, using the same USB slot. xkeycaps also helps with restoring sane key mappings... Scott sjp@acm.org ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris Date: 14 Mar 2001 13:07:12 GMT Message-ID: <98nqe0$gdr$2@news1.Radix.Net> From: Thomas Dickey Subject: Re: ALT key, Meta Key on Solaris 5.7 Xterminal S. Z. wrote: > I am not sure what is the keycode for Alt_L and Alt_R. If I know, I then > let Alt_L or Alt_R mapped to Meta. Actually, Alt Key is also not enabled > in my Solaris 5.7 xterminal. > Any one give me some suggestions? Try using /usr/openwin/demo/xev (which shows the keycodes for each key that you press). -- Thomas E. Dickey http://dickey.his.com ////////////////////////////////////////////////////////////////////////////// Newsgroups: alt.solaris.x86 References: <87vgoz4cuh.fsf@atlas.iskon.hr> Date: Sat, 24 Mar 2001 21:25:26 -0000 Organization: There Is No Organization Message-ID: <985469126.499447@news.netscum.dk> From: Jeremy Subject: Re: Keyboard repeat rate Zlatko Calusic wrote: > Is there any way on Solaris 8 10/00 to increase keyboard repeat rate? > I'm asking primarily for the CDE environment, but I'm also interested > in modifying command line repeat rate. I'm quite annoyed with slow > repeat rate and long pause before autorepeat starts. Look at the /usr/dt/config/Xservers file. At the bottom of the file is a line to start the X server. At the end of that line, add something like "-ar1 300 -ar2 30". -ar1 specifies the delay time, and -ar2 specifies the interval. See the Xsun man page. Copy the file to /etc/dt/config and edit it there if you want it to survive a Solaris upgrade: # mkdir -m 755 -p /etc/dt/config # cd /etc/dt/config # cp /usr/dt/config/Xservers . # vi Xservers -- Jeremy | jeremy@exit109.com ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris References: <3ABA0388.3289AA4C@lucent.com> Date: Fri, 23 Mar 2001 17:45:02 GMT Organization: Bear Stearns Message-ID: <3ABB8B9E.8D68A2C1@pcinetgw.is.bear.com> From: Vadim V. Kouevda Subject: Re: Keyboard mapping Mike wrote: > > Hi, > > After getting to grips with solaris I am now wondering how to change > keyboard mappings to allow me to use the cursor keys to navigate around > an emacs (or indeed a ksh session). At the moment up, down left and > right are assigned to ctrl-p/n/b/f respectivly. > > Any help appreciated! > > Thanks, > Mike alias __A=`echo "\020"` # up arrow -> Ctrl-P (previous cmd) alias __B=`echo "\016"` # down arrow -> Ctrl-N (next cmd) alias __C=`echo "\006"` # right arrow -> Ctrl-F (move forward 1 char) alias __D=`echo "\002"` # left arrow -> Ctrl-B (move backward 1 char) alias __H=`echo "\001"` # home -> Ctrl-A (go to beginning of line) alias __P=`echo "\004"` # delete -> Ctrl-D (delete char under cursor) alias __Q=`echo "\005"` # end -> Ctrl-E (go to end of line) alias __Z=`echo "\017"` # clear? -> Ctrl-O (operate) set -o emacs -- Vadim V. Kouevda vkouevda@bear.com (973) 793-5656 Bear Stearns Engineering Task Force ITG UNIX ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris NNTP-Posting-Host: ip-83-99-51-7.dyn.luxdsl.pt.lu References: Message-ID: <20060418104412.e5304b66.hoendech@ecc.lu> Organization: E.C.C. sa - Computer Consultants Date: Tue, 18 Apr 2006 10:44:12 +0200 From: Stefaan A Eeckels Subject: Re: how to customize sun keyboard On Mon, 17 Apr 2006 18:15:15 +0200 "Heinz Müller" wrote: > > is there a way to customize F1, F2, F3 etc. with commands like ps -ef? > > I'm getting tired to write commands like "ps -ef | more" or "ls -ltr". > (Yes, I know I can specify aliases). > > SUN Solaris 8 with SUN Keyboard > SUN Ultra 5 There is when you're using bash or tcsh. To map F6 to "ps -ef" in tcsh, use the bindkey built-in: $ bindkey -c ^[[17~ "ps -ef" To type the F6 key sequence to the shell, press "control-v F6". Obviously, this can be placed in your start-up file (.cshrc). In bash, the same is achieved through the "bind" built-in. Use "read" to find the key sequence emitted by F6 $ read ^[[17~ The ^[ is the ESC character, which in bash is represented by \e (backslash e), so to map F6 onto "ps -ef" you'd type: $ bind '"\e[17~": "ps -ef^M"' (Press "control-v control-m" to enter the Return.) On start-up, bash reads the ~/.inputrc file to map keys or character sequences to shell commands. Take care, -- Stefaan A Eeckels -- Governments are like babies: digestive tracts with a big appetite at one end and no sense of responsibility at the other. The better run ones from time to time get clean diapers... ////////////////////////////////////////////////////////////////////////////// Newsgroups: alt.sys.pdp10 Date: 28 Nov 2000 20:23:57 GMT Organization: Columbia University From: Frank da Cruz Subject: Re: Avant keyboard : The L-shaped enter key really is truly useless, I wonder why : it's so popular... : Political correctness. This all started, I think, with some massive "human factors" study commissioned by DEC in Europe, which ultimately resulted in some DIN standards and the LK (canoe paddle) keyboard. I'm pretty sure this was at least a year or two before the IBM 101 keyboard. (I remember first seeing the keyboards at a nondisclosure presentation of... I think it was the Pro 350?... and being utterly appalled. Of course the Pro 350 offered a wide choice of appalling features. Didn't DEC finally empty its warehouses of them by making them into consoles for the VAX 8700?) Before that was a long period of "let the 100 flowers bloom", and some very nice keyboards appeared, such as on the Concept-100. Back in those days, people touch typed, and there was value in having all the keys in striking distance of the home keys. The DEC study was basically geared towards making computers (and therefore keyboards) more friendly to the general non-computer-using public, thereby increasing the market for computers and terminals. So as a result we had to have all these ergonomically huge Return/Enter and Shift keys, and whatnot (though, ironically, they never thought of a HELP key). Implicit in the process was the recognition that (a) the terminal-host model was dead (so we don't need Ctrl or Esc keys any more), and (b) touch-typing was a discredited legacy concept (because it is not a mass-market phenomenon). The ultimate insult to the Old Guard was putting Caps Lock where Ctrl was. What could be more useless? This seemed to send us directly back to the ASR 33 Teletype days when computers spoke only upper case. (Those of us who remember the VT50 and earlier still recall the liberating sensation of entering and viewing lowercase on the VT52 and early DECwriters.) To add fuel to the fire, various European government procurement bodies began to *require* the new layout, so by 1983 or so, the only keyboards available were essentially today's DEC and IBM layouts. At least DEC waffled by leaving Ctrl in the same row, rather than moving it way down to tendon-twisting territory. But anyway, what it all adds up to is: you're supposed to be using a mouse, not a keyboard. And that's why the market for good keyboards is a vanishingly small one. .............................................................................. Date: Thu, 29 Mar 2001 20:30:08 +0200 Organization: Badlab Construction Services, Inc Newsgroups: comp.sys.sun.hardware, comp.unix.solaris, comp.sys.sun.admin Message-ID: <3AC37F30.6201@c-lab.de> From: Michael Joosten Subject: Re: Do you dislike Type 6 keyboards? (was: SS20 / SunBlade 100) : [1] Not, if you please, accent grave, unless ' is accent accute. : I know this is a lost battle, but still, right is right. Names of characters are assigned in the standards in which the characters are defined. The characters in question are defined in US ASCII (ANSI X3.4-1986), ISO 646, ISO 8859, and ISO 10646. In all of these, the names of these two characters are APOSTROPHE and GRAVE ACCENT, respectively (and yes, in uppercase too :-) ///////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris Date: 18 Apr 2001 01:30:48 GMT Message-ID: <9biqo8$lm$1@agate.berkeley.edu> From: Alan Coopersmith Subject: Re: ot: sun keyboards Holland King writes in comp.unix.solaris: | |is there anyway to disable the power button on a sun keyboard? thank you. To make it not run sys-suspend when you hit the power button: Edit /usr/openwin/lib/speckeysd.map To make it so that users other than root can't poweroff the system: Edit /etc/default/sys-suspend -- ________________________________________________________________________ Alan Coopersmith alanc@alum.calberkeley.org http://soar.Berkeley.EDU/~alanc/ aka: Alan.Coopersmith@Sun.COM Working for, but definitely not speaking for, Sun Microsystems, Inc. ///////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris References: <9aknj6$d54$2@srv38.cas.org> <9akrju$r47$1@news.panix.com> <9aks1c$6ar$1@amoeba.cugc.org> <3AD3C85D.F74C8D03@home.com> <9b1kho$6vv$1@thebe.syd.dav.net.au> <3AD4F58E.7C879E54@home.com> <3ADFE65E.41078194@home.com> <3AE10C7E.68C4A8AC@home.com> Message-ID: Organization: Sun Microsystems Date: 23 Apr 2001 10:52:42 +0200 From: Thomas Tornblom Subject: Re: Do you dislike Sun e Type 6 keyboards? "Rev. Don Kool" writes: > > I have the misconfigured "Type 6 USB" (model #3201273). The > correctly configured Type 6 (DIN) keyboard is the model #3201270 > while the DIN plug style one that is as misconfigured as the one > they nefariously shipped me is the #3201272. As I pointed out Type 6 | Type 6 USB | Style ---------------------------------------- 320-1270 | 320-1271 | "US" or PC-style 320-1272 | 320-1273 | "US/UNIX" If you prefer the 320-1270 (DIN) then you should be using 320-1271 for your USB connected keyboard. They have the same layout and as far as I can say the only difference between them is color and marking on the power key. Apparently you have the wrong keyboard for your preferences so you should really clear this out with your sales rep. I used to buy Sun equipment before joining Sun and the only time I got the wrong keyboard (I like the unix style) was when I forgot to specify the keyboard. If you don't specify a keyboard with you order you will get a PC style national keyboard, which in my case would be a Swedish keyboard. I won't speculate why you got the wrong keyboard. I rest my case. -- Thomas Tornblom Tel: +46 8 631 2100 E-mail: Thomas.Tornblom@Sun.COM Sun Microsystems AB Fax: +46 8 631 1102 ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris NNTP-Posting-Host: soda.csua.berkeley.edu NNTP-Posting-Date: Sat, 3 Sep 2005 18:55:36 +0000 (UTC) References: Message-ID: Organization: University of California, Berkeley Date: Sat, 3 Sep 2005 18:55:36 +0000 (UTC) From: Alan Coopersmith Subject: Re: remapping keyboard Thomas Maier-Komor writes in comp.unix.solaris: | |Selecting US-USB layout works for the layout, with one exception: |the backslash/bar key is not mapped correctly. This |seems to be a bug in /usr/share/xmodmap/xmodmap.us-usb, which |incorrectly maps these symbols to keycode 56 instead of 57. US and European Type 6 keyboards actually differ there in the hardware; that is the correct keycode if you had a US model keyboard. |But what the hack do I have to do, to exchange Meta and Control. The |problem is that different applications seem to |consume these mappings differently. If I exchange the symbol to keycode |binding in the xmodmap, gnome-terminal and |dtterm work just fine, but xterm is broken. If I try something similar |to the capslock/escape exchange it was the other |way round... You probably need to change both the keymapping and the modifier mapping in xmodmap. -- ________________________________________________________________________ Alan Coopersmith * alanc@alum.calberkeley.org * Alan.Coopersmith@Sun.COM http://www.csua.berkeley.edu/~alanc/ * http://blogs.sun.com/alanc/ Working for, but definitely not speaking for, Sun Microsystems, Inc. ////////////////////////////////////////////////////////////////////////////// Date: Tue, 24 Apr 2001 08:29:11 +0100 Organization: CyberCity Internet Newsgroups: comp.sys.sun.misc, comp.sys.sun.hardware Message-ID: <9c365c$2pd9$1@news.cybercity.dk> From: Schmidt Subject: Diagram for 8 DIN? I am looking for a diagram for an 8 DIN keyboard interface. We are trying to make an adapter/converter from PS/2 to 8 DIN. .............................................................................. Newsgroups: comp.sys.sun.misc, comp.sys.sun.hardware Organization: University of Saarland, Computing Center, Germany. Message-ID: <3AE54755.B38E5250@stud.uni-sb.de> Date: Tue, 24 Apr 2001 11:28:53 +0200 From: Frank Fegert Subject: Re: Diagram for 8 DIN? Hi, Schmidt wrote: > > I am looking for a diagram for an 8 DIN keyboard interface. > We are trying to make an adapter/converter from PS/2 to 8 DIN. have a look at this: http://www.sunhelp.org/faq/sunref5.html .............................................................................. Date: Tue, 24 Apr 2001 08:32:53 -0400 Organization: Eastman Kodak Company Newsgroups: comp.sys.sun.misc, comp.sys.sun.hardware Message-ID: <3AE57275.257122D8@kodak.com> From: Mathew Kirsch Subject: Re: Diagram for 8 DIN? Schmidt wrote: > > I am looking for a diagram for an 8 DIN keyboard interface. We are trying to > make an adapter/converter from PS/2 to 8 DIN. The other poster gave you the link to the pinouts. What he didn't tell you, and what I don't think you're aware of, is that the signals from the Sun keyboard and the PS/2 keyboard are not compatible. It's going to take more than just a simple cable adapter to make a standard PC keyboard work on a Sun. Sun used to (might still) sell a PS/2 converter for about $75, so you can use a PS/2 keyboard and mouse together on a Sun. The FAQ section you were referenced to also mentions another keyboard converter that is certainly NOT inexpensive... .............................................................................. [See Sun Microsystems part X465A, PN: 595-3692-01 $75 US (old PN: 370-2068-01)] http://store.sun.com/catalog/doc/BrowsePage.jhtml?catid=3948 [See also http://kinesis-ergo.com/sunbox.htm for a 3rd-party product.] These seem to work best with Logitech 3-button mice. Several special keys from the Sun keyboards are emulated by pressing the following keys on a PC-type keyboard: Mapping: Right-Control --> Meta (the diamond-Sun-logo key) Right-Alt --> AltGraph Pause/Break --> Stop (These are the Control and Alt keys on the Right side of the PC keyboard; the similar keys on the Left side work in the normal way. The Sun console Stop-A function, if enabled, is produced by the combination Pause/Break-A.) ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.sys.sun.admin, comp.sys.sun.hardware, comp.unix.solaris Organization: AT&T Broadband Message-ID: References: <3E5845CF.5000204@doramail.com> Date: Sun, 23 Feb 2003 09:40:36 GMT From: Manwe Sulimo Subject: Re: sun interface (keyboard/mouse) converter (PN# 370-2068) "G. Low" wrote in message <3E5845CF.5000204@doramail.com>... > > Hi! I was wondering, if there's any info about the mapping of the keys > on a PC keyboard to Sun a keyboard, when the PC keyboard is connected to > the Sun workstation via the interface converter... > > E.g. > > On a PC: BREAK + A = STOP + A > > What about the volume, and power-key? etc, etc? is there such a thing > mapped on a PC keyboard? My sun interface box is set for US (AT-101) > mode thru the dip switches at the bottom of the interface... > > Thanks!!! > > Cheers! > > Georgie Unfortunately, all I can tell you is that it depends on the converter box. On mine (a Belkin model), it is Ctrl-F1+A. And by the way, this is "old" Sun to PS2 (connecting something like the Ultra 5/10). I also have a Blade100 (USB-to-PS2), and use a Belkin model to connect it. Unfortunately, there seems to be no Stop-A sequence for this converter, so I have to play with the power button on start up to get it to break (pressing the power button, waiting 3-5 seconds or so, then pressing it again--for me, it is still hit-or-miss). This may hold true for other USB boxen (etc SB2000), but I have never tested this with them. -- Manwe Sulimo ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris NNTP-Posting-Host: pool-71-96-83-65.dfw.dsl-w.verizon.net NNTP-Posting-Date: Thu, 20 Oct 2005 00:17:48 EDT Message-ID: Date: Thu, 20 Oct 2005 04:17:48 GMT From: Jason Zhang Subject: USB Keyboard in Sun Blade 100/150 Is it possible to use general PC USB keyboard with Sun Blade 100. I googled Internet; someone said Stop-A does not work. Anybody has idea? best regard .............................................................................. Newsgroups: comp.unix.solaris NNTP-Posting-Host: i77111.upc-i.chello.nl References: <1129811151.508670.317460@g49g2000cwa.googlegroups.com> Message-ID: <43578e5f$0$11068$e4fe514c@news.xs4all.nl> Organization: Sun Microsystems, Netherlands Date: 20 Oct 2005 12:32:31 GMT From: Casper H.S. Dik Subject: Re: USB Keyboard in Sun Blade 100/150 "kangcool" writes: > > Unless you can find out the key mapping on the general PC USB to find > any of the function keys things like Stop-A will not work, since "which > is the Stop button". You can reprogram the Stop-A sequence to be different so you can use any keyboard (well, that is as soon as the OS is up and running) E.g., by deriving something more generic from: http://msgs.securepoint.com/cgi-bin/get/bugtraq/167/2.html Casper -- Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems. Statements on Sun products included here are not gospel and may be fiction rather than truth. ////////////////////////////////////////////////////////////////////////////// Date: 17 May 2001 14:06:29 +0200 Organization: Sun Microsystems Newsgroups: comp.sys.sun.hardware Message-ID: From: Thomas Tornblom Subject: Re: Sun keyboards Martin Slaney writes: > Quick Q ... > > What do those dip switches on the type 5 keyboards do ? > > Can they define country settings ? Yes. > > I have a dead UK kb and a working US layout one .... > > Can I move around the keytops and set the switches to "convert" a US kb > into a UK one ? Should be possible. Change the switches to match the current layout. The Type 5c keyboards have jumpers for "US", "US/Unix" and "Japanese" layouts and switches for the other layouts. The UK layout should hav be: off on on on off (hex code 2e) The US layout should be: out out out out in (hex code 21) Good luck. -- Thomas Tornblom Tel: +46 8 631 2100 E-mail: Thomas.Tornblom@Sun.COM Sun Microsystems AB Fax: +46 8 631 1102 ////////////////////////////////////////////////////////////////////////////// Date: Tue, 6 Jan 2004 14:38:44 -0300 To: der Mouse From: ptrincavelli(at)nuevobancobisel.com.ar Subject: Re: My first Sun at home, my first problems.... > > Well I finally managed to get a Sun SparcStation 10 for my home > > network, but it's not so simple. Here is a summary of my problems: > > > - The keyboard to CPU cable is missing, so I cannot plug the keyboard > > to the CPU, can I get or make myself one???, > > Yes. I assume you have a type-4 or newer keyboard, both because that > is what usually comes with machines as recent as a SS10 and because I > think all older keyboards have integral cables. (As a check, is the > connector on the keybaord physically the same as the keyboard connector > on the machine?) > Yes, in fact it's a Type 5 keyboard. > Any miniDIN-8 cable with all 8 pins wired straight through will do > fine (older Macintosh printer cables usually qualify). This is slight > overkill; there are two pairs of pins that can be wired together, and > another pin that can be left disconnected - only five conductors are > strictly necessary, but the others won't hurt. > > > where can I get information about this? > > I can send you a diagram (either PostScript or plain-text > ascii-graphics) showing the wiring for a miniDIN8-to-DB15 adapter cable > for using a type-3 keyboard with such a machine; while this is itself > of no use to you, it does show the two pairs of pins I referred to > above (but not the omittable pin). > Ok, I will appreciatte that, ascii format will be ok. > > - The keyboard has four missing keys, any idea of where I can find > > replace keys??? > > Can't help there. > > > - The monitor turns on, but it suddenly turns off with no apparent > > reason, its a GDM-1962. any ideas?? > > No, except that if the machine isn't driving any video signal, many > monitors will do this. > >From other replys, I can safely assume it's working ok and it's only turning it off, because there's no keyboard. > > - Althoght I still need to connect the keyboard, or a serial > > terminal, I do not have the root password, so how can I manage to > > log in???, I do not have a CD-ROM unit to boot from. > > This depends on what OS is on the machine and on various other things > (such as whether a PROM password is set). I hope not!!!! :-( .............................................................................. Date: Fri, 9 Jan 2004 15:04:49 -0500 (EST) To: ptrincavelli(at)nuevobancobisel.com.ar From: der Mouse Subject: Re: My first Sun at home, my first problems.... >> I can send you a diagram (either PostScript or plain-text >> ascii-graphics) showing the wiring for a miniDIN8-to-DB15 adapter >> cable for using a type-3 keyboard with such a machine; while this is >> itself of no use to you, it does show the two pairs of pins I >> referred to above (but not the omittable pin). > > Ok, I will appreciatte that, ascii format will be ok. Included below. >> This depends on what OS is on the machine and on various other >> things (such as whether a PROM password is set). > > I hope not!!!! :-( If it gives you the "ok" prompt, you should be ok. If it gives the ">" prompt, type n, and if it prompts for a password it's protected; if it just gives you "ok ", it's not. Of course, that assumes you've got a working console connection. :-/ Sun keyboard cables: old keyboards use a DB-15 connector; new keyboards use a miniDIN-8. Through at least the type-5, they are all electrically compatible, and in my experience you can use type-3, type-4, and type-5 indiscriminately, with only passive adapters needed. Sun sells an adapter cable for using new keyboards on old machines. But it's expen$ive, it's unnecessary, and they don't sell one for using old keyboards on new machines. It's easy to wire one up. Here's what you need to know. Connector pinouts (male connectors viewed end-on, i.e., pins pointing towards you): miniDIN-8 DB-15 _______ __________________________________ / \ / \ / 6 7 8 \ \ 1 2 3 4 5 6 7 8 / | | \ / | 3 4 5 | \ 9 10 11 12 13 14 15 / | | \____________________________/ \ 1 2 / \_______/ 1 Gnd 5 KTx 1 KRx 5 MRx 9 Gnd 13 (not connected) 2 Gnd 6 KRx 2 Gnd 6 Gnd 10 Vcc 14 Vcc 3 Vcc 7 MTx 3 KTx 7 MTx 11 Vcc 15 Vcc 4 MRx 8 Vcc 4 Gnd 8 Gnd 12 Vcc You thus need at least six conductors in the cable, four signal and two power. (Actually, you need only three signal lines, because the line from the CPU to the mouse is not needed. But I can never remember whether that's MRx or MTx; I wire it up anyway.) The cable for using a modern keyboard on an old machine thus looks like this. This cable plugs into the keyboard at the miniDIN-8 end and the machine at the DB-15 end. +------------------------------------------------------+ | +--------------------------------------+ | | | +----------------------------+ | | +--|-------|-|--------------------+ | | | +-----|--|--+ | | +-----|---+---|---+---|---+---|---+ | |__|__| | | | ___|___|___|___|___|___|___|___|__ | /| | |\ | | | / | | | | | | | | \ | / 6 7 8 \ | | | \ 1 2 3 4 5 6 7 8 / | | +----|-+ | | \ / +--|-3 4-+ 5-|---+ | \ 9 10 11 12 13 14 15 / | | | | \__|___|___|___|_______|___|_/ | \ 1 2 / | | | | | | | | \_|___|_/ | | +---+-+-+-------+---+ | | | | | | | +---+----------------------+-------+ | +---------------------------------------------------+ The cable needed to use an old keyboard on a modern machine is the same, except that the DB-15 is female instead and the diagram hence shows it from the back instead of the front; this version of the cable plugs into the machine at the miniDIN-8 end and into the keyboard cable (which is permanently attached to the keyboard) at the DB-15 end. -- /~\ The ASCII der Mouse \ / Ribbon Campaign X Against HTML / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.sys.sun.hardware Organization: I have a map of the United States that's actual size Message-ID: <9e5b78$609$1@news.panix.com> Date: 19 May 2001 08:34:48 GMT From: Greg Andrews Subject: Re: Special IPX Keystrokes While Running Headless denunzio@hotmail.com (DeNunzio) writes: >Folks: > > I have a Sun IPX that I need to replace the NVRAM in (or try one of > the hot-swap tricks...) Various solutions seem to require that I hit > STOP-N to perform some function. > > Unfortunately, I'm running headless and am hitting the IPX from a PC > using HyperTerminal. Is there some substitute keystroke(s) I can use > to emulate the STOP-N command through the PC & HyperTerminal? No. The most you can do from an RS232-connected terminal is send an RS232 "BREAK" signal to halt the machine to the boot prom's "ok" prompt. (the equivalent of Stop-A rather than Stop-N) However, at that point (the "ok" prompt), you can type the "set-defaults" command, which the boot prom manual says is the equivalent of Stop-N. > > When I plug in the Sun keyboard, of course, the output stops at the serial > connection. That's fine, too. Plug in the keyboard, hold down Stop-N, and power the IPX up. Keep holding the Stop-N for at least 30 seconds, then let go and power the IPX off again. That will have reset the NVRAM to defaults. Then unplug the Sun keyboard and power the IPX back up. It will come up with NVRAM defaults and using the serial port as the console. -Greg -- +++++ Greg Andrews +++ gerg@panix.com +++++ I have a map of the United States that's actual size -- Steven Wright ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.sys.sun.announce Message-ID: Organization: System News Date: Wed, 23 May 2001 12:03:21 GMT From: John J. McLaughlin Subject: Sun Keyboards Enhanced 3751 Sun Keyboards Enhanced System News for Sun Users Vol 39 Issue 3 http://sun.systemnews.com/system-news/jobdir/submitted/2001.07.all.w3.html#3751 Sun announced 7 new Type 6 country kit keyboards. The additional Sun[TM] Type 6 keyboards will have a new industrial design which includes enhancements such as - Low profile keycaps and keyboard - 3-angle settings - Reduced weight and size - Compatible with all Sun's current and legacy platforms ---------------------------------------------------------------------------- To subscribe to the free, weekly, Email newsletter, "System News for Sun Users", fill in the request form at http://sun.systemnews.com/ or send email to John J. McLaughlin, Editor Specify text, PDF, all or web links. ////////////////////////////////////////////////////////////////////////////// Date: Thu, 7 Jun 2001 17:13:05 +0000 (UTC) Organization: Tartu University Newsgroups: comp.unix.solaris Message-ID: <9focn1$5du$1@kadri.ut.ee> References: <9foaiu$blm$1@news1.urbanet.ch> From: Toomas Soome Subject: Re: PC USB-keyboard on SUN Blade 100 Daniel Gehriger wrote: : I just bought a Sun Blade 100. I am using a USB switch to attach a single : USB keyboard / mouse to both, my old PC and the new Sun Blade. The good news : is that this works just fine. Unfortunately, the Sun thinks that my keyboard : has a US layout, when in fact it uses a french layout. I managed to fix the : problem using xmodmap, but this works only under X. : Question: : 1. How can I change / modify the keyboard layout to suit my non-US keyboard : ? This should also work when I log in in terminal mode. man loadkeys. keymaps for loadkeys are in /usr/share/lib/keytables/, find the suitable or create your own.... toomas -- Ernest asks Frank how long he has been working for the company. "Ever since they threatened to fire me." ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris NNTP-Posting-Host: 82-70-190-73.dsl.in-addr.zen.co.uk References: <419720f5$0$2677$afc38c87@news.optusnet.com.au> Message-ID: <4197ce0e$0$27544$db0fefd9@news.zen.co.uk> Date: Sun, 14 Nov 2004 21:28:45 +0000 From: Alex Balmer Subject: Re: Sun keyboard audio buttons under CSW's KDE Peter Arnold wrote: > My audio buttons (mute, softer, louder) work just fine under Suns Gnome > 2.0 but not under CSW's KDE. Can someone give me a hint how to fix this? > > Thanks > Peter Arnold Even under CDE and Gnome 2.0, the Volume keys call a program within Solaris to actually enact volume up/down and mute. As a result, CSW Gnome 2.6 (which I use, occasionally) has this problem. To fix it--you will need to find some mechanism within KDE to exec a program on certain keypresses ('SunAudioMute' 'SunAudioLowerVolume' and 'SunAudio RaiseVolume') On Solaris 9, the programs you need to execute are as follows, you can test this from a command line if necessary: /usr/dt/appconfig/sdtvolctl/muteVolume /usr/dt/appconfig/sdtvolctl/volumeDown /usr/dt/appconfig/sdtvolctl/volumeUp Additionally, instead of kmix (which may or not work) you may wish to use the default solaris mixer: /usr/dt/bin/sdtaudiocontrol I hope this is of some use. -- Alex. ////////////////////////////////////////////////////////////////////////////// If the directly attached console keyboard on a Sun machine ever gets into a weird state, and if you can get a non-console session on the machine over the network, you can reset the keyboard by the command kbd_mode -a ////////////////////////////////////////////////////////////////////////////// Date: 11 Jun 2001 19:57:10 GMT Organization: Ex-PIPEX admins anonymous. Newsgroups: comp.sys.sun.admin Message-ID: <9g37qm$6j0$1@moek.pir.net> References: <3AA40E1F.7A0314B9@automatedfinancial.com> <37l0itse2nkalabb1f4l88vf6m2hmvpm2q@4ax.com> <3B2108D0.CD46D455@earthlink.net> <9g28a6$slm$1@helios.herts.ac.uk> From: Peter Radcliffe <27$10$f3i99le@pir.net> Subject: Re: terminal server Ian Gregory probably said: > >In article <3B2108D0.CD46D455@earthlink.net>, Scott Simpson wrote: >> >> miles away from me. Simply remove all the graphics cards from all the >> Suns (if you leave them in, the Sun will try to use them. If they aren't >> there, serial port A is used). Then, connect each serial port to the >> terminal server using a serial cable. The Suns speak 9600,N,8,1. This meme keeps getting spread, but it completely incorrect. You do not need to remove a graphics card to do serial console. You remove the _keyboard_ and _just_ the keyboard, then it will find no keyboard and do serial console. You can also remove the graphics card if you want to, but there is _no_ requirement to. > Instead of removing the graphics cards, can't you just go to the OBP > or use the eeprom command to set: > output-device=ttya > input-device=ttya You can do that if you want to retain keyboard/monitor (for xdm/CDE/whatever) and still have a serial console. P. -- pir pir@pir.net pir@net.tufts.edu ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris,comp.lang.tcl Message-ID: <3B3B1FD1.379ABC54@cs.man.ac.uk> References: <3B399595.E70CE62B@tid.es> <3B3B1624.15E2AE8F@dregis.com> NNTP-Posting-Host: athene.cs.man.ac.uk X-Mailer: Mozilla 4.77 [en] (X11; U; SunOS 5.8 sun4u) Organization: University of Manchester, Department of Computer Science Date: Thu, 28 Jun 2001 13:15:13 +0100 From: "Donal K. Fellows" Subject: Re: problems with the numeric keyboard "Volker A. Brandt" wrote: > Luis Cano Cavanillas wrote: >> but I have realized that working with DISPLAY on Solaris and with the >> "Bloq-Num" actived I get problems when I try enter some numbers in the >> "entry" widgets, using the numeric keyboard (The keys "4" & "6" if the >> application are running on SOLARIS) > > The libraries are broken. They do not process the X modifier keys > properly. Fix them, or don't use numlock. On a Sun5c keyboard (without any strange xmodmap trickery) the following are the keysyms on the keypad: / => F25 * => F26 - => F24 7 => F27 8 => Up 9 => F29 4 => Left 5 => F31 6 => Right + => KP_Add 1 => F33 2 => Down 3 => F35 0 => KP_Insert . => Delete Enter => KP_Enter NumLock is Num_Lock, but as it is a locking modifier you should not normally bind to it but instead use [expr {%s & 32}] to determine what mode the keyboard is in. Donal. -- Donal K. Fellows http://www.cs.man.ac.uk/~fellowsd/ fellowsd@cs.man.ac.uk -- Well, I'm not exactly a high-brow cineaste either. The number of Iranian movies I've seen can be counted on one hand by a guy who lost all his fingers in a tragic fax machine accident. -- Mike Kozlowski ////////////////////////////////////////////////////////////////////////////// Newsgroups: alt.solaris.x86, comp.unix.solaris References: <3B3A37CF.1B37@c-lab.de> Message-ID: Organization: Customer of NDH IT Service AG, Germany Date: 28 Jun 2001 11:07:42 +0200 From: Juergen Keil Subject: Re: Solaris 8 on an Intel laptop Michael Joosten writes: > Fujitsu-Siemens Lifebook E-Series 6540 > Installs OK from CDROM (I used the Disk1 and Disk 2, of course) ... > Still some wierd ACPI problems: When the system goes out of suspend (to > memory), the repeat rate of the keyboard behaves erratically. Sometimes > there is no auto-repeat, but a little time later it is so fast that you > cannot type anything anymore, not even 'halt'... I think I had a similar issue on a P2B board, when I had power management enabled in the BIOS ("enable suspend mode after one hour of inactivity"). Here's an old usenet article I wrote a year ago (includes a hint how to reset the kernel's timer code after a wakeup from suspend mode): http://groups.google.com/groups?q=tscmon+suspend+solaris&hl=en&safe=off&rnum=1&c=1&selm=wyzoob2g5p.fsf%40leo.tools.de ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.sys.sun.admin Path: cs.utk.edu!stc06.ctd.ornl.gov!fnnews.fnal.gov!uwm.edu!cs.utexas.edu !news.sprintlink.net!tezcat.com!news.ner.bbnplanet.net!news.mathworks.com !news.kei.com!news.texas.net!news Message-ID: <3193BE1F.53AA@texas.net> References: <4kg3j8$g7g@lantana.singnet.com.sg> <4lor73$6b6@walter.acs.nmu.edu> <31904334.10887038@news.texas.net> Organization: Texas Networking, Inc. From: Michael Douglass Subject: Re: ergonomic keyboards for Sun SPARC workstation Date: Fri, 10 May 1996 17:07:27 -0500 Michael Douglass wrote: > Sun Xpress sells a PS/2 keyboard/mouse converter for SPARCs. [X465A] > Basically you plug one end of the converter into your SPARC, and there > are three holes on the other side. 1 for your standard SPARC > keyboard, 1 for a PS/2 keyboard (ie. ms natural), and 1 for a PS/2 > mouse. So you can have all three plugged in at the same time. (Hey, > how else are you going to do L1-A???) Oh, and a follow up... I just received my adapter from Sun Xpress... And you do not need the Sun keyboard in order to do an L1-A. They map the PAUSE key on the PS/2 keyboard to be STOP, so you can use PAUSE-A and get the same results.. Just thought you'd like to know. The converter is really nice, and is going to make my job that much easier since I won't be stuck on these Sun type 4/5 keyboards any longer... Bleh, as if Sun knew what ergonomic meant! Now I just gotta figure out how to make Solaris 2.5 switch the Control and CapsLock keys. I tried doing it while using the type 5 keyboard plugged into the adapter but it didn't work... I'll have to see what the PS/2 keyboard does, and I believe there was something about switching the Control/CapsLock somewhere in the Solaris 2.x FAQ... I *like* my Control key next to the A... :) Michael Douglass Texas Networking, Inc. ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris References: <3B4493AA.FB109B75@mdanderson.org> <5t417.5222$Tv5.732626@news6-win.server.ntlworld.com> Message-ID: Organization: Excite@Home - The Leader in Broadband http://home.com/faster Date: Fri, 06 Jul 2001 00:33:02 GMT From: Rich Teer Subject: Re: SunBlade 100 On Thu, 5 Jul 2001, Steve Hilberg wrote: > Hrm. What exactly is a "type 6" keyboard? Does that mean the PC-esque > ones with the ESC key way out in nowhere land? We bought one or two of Nope. The Type 5[c] keyboard is the one most often associated with Suns, but it only comes with the Sun keyboard interface. The Type 6 keyboard which replaces is available with the Sun interface, as well as USB. The trouble is, compared to Type 5s, they feel like cheap crap! With pre-Sun Blade machines, you have a choice: use a crappy Type 6, or use a (probably non-new) Type 5. Unfortunately, SB 100[0] only have a USB interface, so you have to use a Type 6 keyboard. Even worse, the Type 6 doesn't even have a USB hub built in, to facilitate plugging the mouse into the keyboard, like Andy* intended; you have to run a separate wire to the case, like peecees, which I think is a huge step backwards. > those and found out they were like that, and we ordered the "European > UNIX" version and it had the ESC key in the right place.... Both the Type 5 and Type 6 keyboards a variety of layouts, including a "UNIX" one, with Control, Esc, and other keys in the right place, and a peecee layout, which has the keys in the wrong place. (Control immediately to the left of A is the right place!) * Andy Bechtolsheim, Sun co-founder and HW designer. -- Rich Teer President, Rite Online Inc. Voice: +1 (250) 979-1638 URL: http://www.rite-online.net ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris References: <5t417.5222$Tv5.732626@news6-win.server.ntlworld.com> Message-ID: <9i32eg$3m9$1@agate.berkeley.edu> Organization: None Date: Fri, 6 Jul 2001 00:57:52 +0000 (UTC) From: Alan Coopersmith Subject: Re: SunBlade 100 hilberg@tower.cso.uiuc.edu (Steve Hilberg) writes in comp.unix.solaris: | |Hrm. What exactly is a "type 6" keyboard? Does that mean the PC-esque |ones with the ESC key way out in nowhere land? We bought one or two of |those and found out they were like that, and we ordered the "European |UNIX" version and it had the ESC key in the right place.... Type 5 keyboards are beige, have the "lock" leds in the keys, and have a straight line top - Type 6 can be grey/purple and have an arc-shaped top, with the "lock" leds in a row on top. Both types come in either "PC style" or "Unix style" layouts in a variety of languages. Type 6 come with either old-fashioned Sun connector or a USB connection, while Type 5 only have the Sun connector (Type 5 have a seperate cable, Type 5c have the cable permanently attached). You can see Type 6 in these SunRay pictures: http://www.sun.com/sunray/product/ Part of a Type 5 is visible in the "Input Devices" picture here: http://www.sun.com/products-n-solutions/hw/peripherals/ -- ________________________________________________________________________ Alan Coopersmith alanc@alum.calberkeley.org http://soar.Berkeley.EDU/~alanc/ aka: Alan.Coopersmith@Sun.COM Working for, but definitely not speaking for, Sun Microsystems, Inc. ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris Date: 16 Jul 2001 01:35:40 GMT Message-ID: <9itgdc$c9l$0@pita.alt.net> References: <995212659.5678snx@aleytys.pc.my> From: cypher@punk.net Subject: Re: Keyboard- and mouse-less SPARC? Philip Chee wrote: # In article ramon@conexus.net writes: # # >I have an Enterprise 450 which sometimes needs to be moved # >around and have its keyboard and mouse unplugged. When this # >happens, the computer goes inmediately to the boot prompt. # >I seem to recall that this behavior can be modified in the # >"BIOS" (or whatever is called). # # Open the swing out panel on the front upper right. See the thingy # that looks like a keyhole? Good. Insert the key that came with # your E450 and turn it all the way clockwise to the locked position. # After doing this you can safely unplug the mouse and keyboard. Wow, the key prevents a BREAK-in. ;-) ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris, comp.sys.sun.hardware NNTP-Posting-Host: mattugur.ifi.uio.no NNTP-Posting-Date: Wed, 30 Mar 2005 02:04:02 +0000 (UTC) References: Message-ID: <1r4qetsxdb.fsf@mattugur.ifi.uio.no> Organization: University of Oslo, Norway Date: Wed, 30 Mar 2005 04:04:00 +0200 From: Kjetil Torgrim Homme Subject: Re: Ascii for Stop-a ? [hal@nospam.com]: > > I am using Procomm for my terminal and of course don't have a > stop-a to break boot and tell it to go back to CD. Procomm does > key mapping but can't find the stop-a code. If you can't find a BREAK key, you can turn the bitrate way down to 50 baud and press space a few times. (this is the method we used with the awful glass ttys we had 10 years ago.) -- Kjetil T. ////////////////////////////////////////////////////////////////////////////// The following FAQ and its answer comes from "The Sun Manager's FAQ" at ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq See also http://www.sun.drydog.com/faq/s86faq.html#6.21 ----------------------------------------------------------------------------- Subject: 8.2) How do I swap the CAPS LOCK and CONTROL keys on a type 5 keyboard under Openwindows 3.x? There are two ways to do it, one with xmodmap (for X11 only), and the other using keytables. Margarita Suarez suggests editing $OPENWINHOME/etc/keytables/US5.kt. There are two places where keys 119 (CapsLock) and 76 (Control) should be swapped: the MODMAP section and the KEYSYMMAP section. The latter is most important, because that's where the "Pseudo-Lock" function (which controls the locking behaviour of the key) is defined. Doug Hughes suggests using xmodmap with the following: remove Lock = Caps_Lock remove Control = Control_L keysym Control_L = Caps_Lock keysym Caps_Lock = Control_L add Lock = Caps_Lock add Control = Control_L In X11, you can change your keyboard layout as you please using the xkeycaps application, which allows you to edit and remap your keyboard on the fly, as well as save configurations to be sourced by xmodmap. xkeycaps is available from http://www.jwz.org/xkeycaps/ and in the contrib section of your friendly X11 source archive. Thanks to Dan Pritts for the info on xkeycaps. ////////////////////////////////////////////////////////////////////////////// [Archiver's Note:] Suppose on a Solaris system, either SPARC or Intel CPU, you may have a PC-101-layout keyboard, which has the Caps Lock key at the left of the letter A, and has the Control (Ctrl) key down in pinkie-cramp territory. Now further suppose that you want to swap the functions of these two keys for *all* users who login to this system. (You are using CDE, so the OpenWindows technique does not apply.) Under CDE, here's what to do. Become the root user. Create (or verify the existence of) the directory /etc/dt/config If you created the directory, copy the default Xsetup file there: # cp /usr/dt/config/Xsetup /etc/dt/config (If an Xsetup file is already there, you'll need to edit it.) Give this file 755 permissions "-rwxr-xr-x". Create a file in this directory with the name /etc/dt/config/capslock_control_swap.map containing the following lines (as shown in "man xmodmap"): ! ! Swap Caps_Lock and Control_L ! remove Lock = Caps_Lock remove Control = Control_L keysym Control_L = Caps_Lock keysym Caps_Lock = Control_L add Lock = Caps_Lock add Control = Control_L In the file /etc/dt/config/Xsetup, append a line saying /usr/openwin/bin/xmodmap /etc/dt/config/capslock_control_swap.map Then, when the X server is restarted, the key functions will be swapped. ////////////////////////////////////////////////////////////////////////////// Q: How to find out key codes under X for different keys? A: 1. Bring up OpenWindows. 2. From a shelltool or cmdtool invoke: "$OPENWINHOME/demo/xev" 3. "xev" will put up a Window labeled "Event Tester", move the mouse/pointer into this window. Reference --> "man xev" 4. Now hit the key you're trying to map through loadkeys. Example: pressing the "Del/." key on Numpad yields "keycode 57". 5. Subtract 7 from the "xev" keycode to derive the "loadkeys" keystation number: 57 - 7 = 50. 6. Now "loadkeys somefile" can be used to remap key50. Example (make this key emanate "dog") --> loadkeys somefile where "somefile" has 1 line in it --> key 50 all "dog" Reference "man loadkeys" "man 5 keytables". Note: Caveat --> "loadkeys" has NO EFFECT on OpenWindows. It only effects key mappings in Sunview or the Single Console. ////////////////////////////////////////////////////////////////////////////// In 1995, Microsoft introduced a new ergonomic keyboard called the Microsoft Natural Keyboard. This keyboard (among other things) has three extra keys. Two of the new keys bear a "Windows" logo. The last key has a picture of a cursor over a menu. Members of the X consortium and other vendors discussed this and concluded that: the windows keys should generate XK_Meta the menu key should generate XK_Menu A new keyboard type/table was added to the Xsun server to implement the new keysyms for the new keys. ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris References: <10fmsm2bodvaf1a@corp.supernews.com> Message-ID: <10lclho2c9is052@corp.supernews.com> Organization: Timetravellers Anonymous Date: Sun, 26 Sep 2004 05:40:08 -0000 From: Richard L. Hamilton Subject: Re: numlockx-1.0 In article , Alan Coopersmith writes: > > Richard.L.Hamilton@mindwarp.smart.net writes in comp.unix.solaris: > | > | CDE does not have an option to set the initial state of Num Lock. > > The S9 Xsun patches that introduce wheel mouse support also change Xsun > to maintain the numlock state when Xsun starts up - if the NumLock or > CapsLock LED is on when Xsun starts, it fakes a push of the > corresponding key to simulate starting in the right mode. (Previously > it just cleared the led/lock states at startup.) If you turn NumLock on > before Xsun starts it should be automatically on by default - > unfortunately, this is easiest to automate with the x86 BIOS options > to activate numlock at boot. I don't know of a similar option in any > SPARC OBP, but you should be able to just put a program in > /etc/rc2.d before Xsun starts that does something like this > (copied and pasted from a larger program - I haven't tested compiling > or running this cut-down snippet - that's left as an exercise for the > reader): If it works, that would set the LED, which according to what you describe would be enough to cause the X server to assume the corresponding shift state at startup. But (if only for completeness), it looks like there's no way (short of digging in /dev/kmem in a most outrageous manner) to programmatically manipulate the shift state while in plain old console mode. It might be nice if there were an additional kb(7m) ioctl to do that; I'd think it would be easy enough to implement... -- mailto:rlhamil@smart.net http://www.smart.net/~rlhamil Lasik/PRK theme music: "In the Hall of the Mountain King", from "Peer Gynt" ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris Message-ID: <1005551219.328770@s2sth1.nuaccess.net> References: <1005309200.301530@s2sth1.nuaccess.net> <9sgq2s$osn$1@new-usenet.uk.sun.com> Date: Mon, 12 Nov 2001 09:08:56 +0100 <9sgq2s$osn$1@new-usenet.uk.sun.com> From: James Wilde Subject: Re: sparc keyboard change "Casper H.S. Dik - Network Security Engineer" wrote in message news:9sgq2s$osn$1@new-usenet.uk.sun.com... > > Or download the "wrong" keymap. > > > The keymaps are loaded with "loadkeys"; loadkeys triggers of the > dipswitches and loads "/usr/share/lib/keytables/type_tt/layout_dd" where > "dd" is determined by the dipsiwtches. > > I have a standard us keyboard which maps to "layout_22". > > To get swedish, you'd use > > loadkeys /usr/share/lib/keytables/type_4/sweden_5 Good try but no cigar, Casper. I entered this command interactively and via a profile without noticeable effect. It does not work. Anyone got any other ideas? -- mvh/regards James ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris Message-ID: <9unovg$gja$1@new-usenet.uk.sun.com> References: <1005309200.301530@s2sth1.nuaccess.net> <9sgq2s$osn$1@new-usenet.uk.sun.com> <1005551857.134 652@s2sth1.nuaccess.net> <90aab5b9.0112060342.58124a57@posting.google.com> Date: 6 Dec 2001 12:40:16 GMT From: Casper H.S. Dik - Network Security Engineer Subject: Re: sparc keyboard change guillermo.chiappe@eterra.se (Guillermo Chiappe) writes: >I'm having the same problem with an Aten converter cv-130. What I've >understood so far is that the converter reports itself as a type-4 >keyboard with layout_21. >By "cp layout_2b layout_21" I was able to get all keys to work fine >except for the key "124 base "<" shift ">" altgr | numl nonl", it >does nothing. >In type-101 swedish keytable this key is number 45 in type-4 it is >number 124. I've tried them both in my modified layout_21 but it >didn't work. Edit the keytable to suit; that requires you to find out what the returned keycodes are. (Probably requires you to write a program to fecth untranslated key events) Casper -- Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems. ////////////////////////////////////////////////////////////////////////////// Newsgroups: comp.unix.solaris Message-ID: <20020301102620.1bd7f0af.Stefaan.Eeckels@ecc.lu> References: Date: Fri, 1 Mar 2002 10:26:20 +0100 Organization: E.C.C. sa - Computer Consultants From: Stefaan A Eeckels Subject: Re: German Characters - Help!! On Fri, 1 Mar 2002 09:44:04 +0100 "Daio" wrote: > > I work in Germany and frequently have to use German characters in text > fields/editors etc. I have a sparc ultra 10 running solaris 2.7 with a > US keyboard. > > Is there a freeware utility available for solaris users that works in a > similar way to "character map" in windows? Ie. a utility that enables me > to copy/paste characters such as ß, ä etc etc. > > My current method is to get something like yahoo.de up in a netscape window > and physically look for the characters that I need. > > This may sound a crazy request but it's something thats becoming very tiring! > > Failing that, is there a way of entering extended characters using their > numerical "alt-gr" equivalent - as in windows... eg "Alt+198" > > Thanks in advance for any ideas! > Dave If you've selected the appropriate locale, the characters are available t