From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,e304edafc49dab4b X-Google-Attributes: gid1164f8,public X-Google-Thread: f99a8,e304edafc49dab4b X-Google-Attributes: gidf99a8,public X-Google-Thread: 107112,5f10a1a030044ba9 X-Google-Attributes: gid107112,public From: fdc@watsun.cc.columbia.edu (Frank da Cruz) Subject: Re: ISO VT320 emulator with key-bindings for Oracle Forms Date: 1999/06/03 Message-ID: <7j6ir0$n8s$1@newsmaster.cc.columbia.edu>#1/1 X-Deja-AN: 485359033 References: <7j1rqo$kul$1@knot.queensu.ca> <3756BEB7.E9CCD66F@GSC.GTE.Com> X-Complaints-To: postmaster@columbia.edu X-Trace: newsmaster.cc.columbia.edu 928435872 23836 128.59.39.2 (3 Jun 1999 18:51:12 GMT) Organization: Columbia University NNTP-Posting-Date: 3 Jun 1999 18:51:12 GMT Newsgroups: comp.sys.dec,comp.terminals,comp.databases.oracle.misc In article <3756BEB7.E9CCD66F@GSC.GTE.Com>, Scott G. Hall wrote: : "Richard S. Shuford" wrote: : > : > "Frampton Steve R" wrote: : > > I'm in need of a VT320 emulator with key-bindings for Oracle : > > SQL*Forms; it needs to either run under Linux/Unix or [in dosemu]. : > : > Keep in mind that character-cell terminals communicate their : > keystrokes by means of Escape sequences, as opposed to scan codes. : > You must set up your keyboard so that, when you press a key, it sends : > the proper Escape sequence to tell Oracle what action to perform. : > : > Some terminal-related information is archived at : > : > http://www.cs.utk.edu/~shuford/terminal_index.html : > : > (There is even a mention there of the Queens University Kermit : > program! :-) : : There is another regular poster to this newsgroup who is the author of : Kermit-95. I believe that he emulates the VT-220 function keys correctly : so that it would work for you. Let's hope he is reading this now, and : can reply if he has a version for UNIX. : Sorry, we can't make terminal emulators for UNIX as we do for DOS and Windows, since in UNIX we do not have direct access to the keyboard and screen. How is a UNIX application supposed to know that you pushed F7 on your keyboard, or Ctrl-F8, or Alt-Right-Arrow, etc? It usually doesn't even know what kind of keyboard you have. Remember that UNIX, unlike Windows and friends, can be accessed: 1. From the raw console (the workstation's physical keyboard and screen without any kind of window manager); 2. From an X window, using the workstations real keyboard and screen; 3. From an X window, but on some other computer; 4. From a Telnet session (or Rlogin, etc); 5. Through a serial port. A terminal emulator might be possible in case (1), but there would need to be a different one for every UNIX variety on every kind of hardware, so it's not likely to happen. A terminal emulator is possible in case (2), but you already have one. It's called xterm. The regular xterm emulates vt100, and there is a vt220 version available at: http://www.clark.net/pub/dickey/xterm/xterm.faq.html Start xterm and then run Kermit in the xterm window and poof: you have a terminal emulator that can make serial or network connections to other computers. Key mapping is handled by xterm. For completeness, case 3 is kind of like case 2 maybe, and in cases 4 and 5 the UNIX application obviously can't get at your keyboard or screen. - Frank