Re: [U2] How to set 'delete' key action in UniVerse
Thanks all for the good leads. We also found thet PTERM ERASE seems to work well in this situation; it had been used here in some of the login scripts but not others, presumably as an artifact of switching programming teams some years back. Many thanks for the assists! >"stty erase '^?'" in the user's .profile or .bash_profile will work. >The only caveat is that the backspace key will no longer work for >backspace, only the delete key will work. But if you're dealing with >an old VT100 terminal that only has a delete key, this shouldn't be a >problem. >-- >John Hester >System & Network Administrator >Momentum Group Inc. >(949) 833-8886 x623 >http://memosamples.com Pingilley, Ron wrote: Peter, Make sure your emulator is sending the same ASCII sequence your term type is expecting. Even if you change your terminfo's, and use TERM/PTERM/etc. to use ASCII 8 (backspace), your emulator may still be sending DEL (which often shows up as ^? when it's not interpreted and trapped by UV as the "backspace" key). See if your emulator allows you to set what ASCII sequence it sends when you hit the backspace key on your PC keyboard --Ron P. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 9:34 AM To: [EMAIL PROTECTED] Subject: Re: [U2] How to set 'delete' key action in UniVerse Peter, Hola - I've got a request from my programmer to set the delete key to act as the backspace key does inside UniVerse Check out the TERM command. TERM ,nn where nn is the ASCII number of the key to use for back space. E.g. TERM ,65 will make a capital A act as back space. Brian --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ -- Peter Ivanick Sr. Programmer/Analyst School of Veterinary Medicine, University of Pennsylvania Email: [EMAIL PROTECTED] Phone: 215.573.2306 Fax: 215.573.8777 http://www.vet.upenn.edu/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] How to set 'delete' key action in UniVerse
Peter D. Ivanick wrote: I've got a request from my programmer to set the delete key to act as the backspace key does inside UniVerse in the terminal definition (VT100UV) -- it works as expected at the bash shell but not at the TCL prompt, even though I've run both tic & uvtic to compile them, and used SET.TERM.TYPE at the TCL prompt. I keep getting ^? as the character returned from the delete key, and I can't seem to get it mapped properly , using kdch1, kbs, or bs set to \b. Any tips would be gratefully received. "stty erase '^?'" in the user's .profile or .bash_profile will work. The only caveat is that the backspace key will no longer work for backspace, only the delete key will work. But if you're dealing with an old VT100 terminal that only has a delete key, this shouldn't be a problem. -John -- John Hester System & Network Administrator Momentum Group Inc. (949) 833-8886 x623 http://memosamples.com --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] How to set 'delete' key action in UniVerse
Peter, Make sure your emulator is sending the same ASCII sequence your term type is expecting. Even if you change your terminfo's, and use TERM/PTERM/etc. to use ASCII 8 (backspace), your emulator may still be sending DEL (which often shows up as ^? when it's not interpreted and trapped by UV as the "backspace" key). See if your emulator allows you to set what ASCII sequence it sends when you hit the backspace key on your PC keyboard --Ron P. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 9:34 AM To: [EMAIL PROTECTED] Subject: Re: [U2] How to set 'delete' key action in UniVerse Peter, > > Hola - > > I've got a request from my programmer to set the delete key > to act as the backspace key does inside UniVerse Check out the TERM command. TERM ,nn where nn is the ASCII number of the key to use for back space. E.g. TERM ,65 will make a capital A act as back space. Brian --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] How to set 'delete' key action in UniVerse
Peter, > > Hola - > > I've got a request from my programmer to set the delete key > to act as the backspace key does inside UniVerse Check out the TERM command. TERM ,nn where nn is the ASCII number of the key to use for back space. E.g. TERM ,65 will make a capital A act as back space. Brian --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/