Path: bt!usenet From: Mark Power Newsgroups: comp.sys.hp48 Subject: System RPL VT52 using UFL Date: Wed, 13 Nov 1996 09:42:29 -0500 Organization: BT Labs, Martlesham Heath, Ipswich, UK Message-ID: <3289DE55.4A82@gfms.bt.co.uk> NNTP-Posting-Host: pma78.gfms.bt.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m) The following is a System RPL VT52 (in a library) based on the original RPL VT52 by Dave Jansen. The keyboard mapping is the same so I've included Dave's instructions. It runs correctly on my GX and should work on the S/SX (and G of course) as I've only used supported entry points. The program is in Bill Wickes' ASC format so you'll need ASC-> to convert it back into a library. If it doesn't download properly ASC-> will tell you that the checksum is wrong. Store the library in any port and turn the calc off and on to get it to attach. This version uses FNT1 from the UFL to give 10 lines of 33 characters. You'll need the UFL loaded before the VT52 will run. The UFL can be downloaded from: http://www.engr.uvic.ca/~aschoorl/ufl/ Here are Dave's (slightly edited) instructions: The following is a DEC VT52 terminal emulator for the HP48. It emulates every vt52 command except for the Keypad mode (kind of redundant on the HP) and the special graphics characters (perhaps in a latter version). The one drawback, like other communication programs for the HP48, is speed. Because it is slow, after the recieve buffer (which is 256 characters long) fills up, it loses the rest of the characters sent. Buffering the receive buffer will not work since at 9600 baud the buffer fills up in about 3 hundredths of a second. Nevertheless, since fewer than 256 characters can fit on the screen at one time, it can easily display a screenful of information at a time. One method to stop loosing characters is to set the IOPAR to use XON/XOFF, any make sure that the XON/XOFF are sent through the modem and used at the receiver end. I have tried this and it works well. Directions 1. VT52 - execute the program 2. if you wish to do a file transfer, quit (press ATTN) and perform the Kermit transfer, then just run the program again to continue. Keyboard The keyboard of the HP48 is redefined as follows: 1 2 3 4 5 6 A B C D E F 1 a b c d e f ^A ^B ^C ^D ^E ^F G H I J K L 2 g h i j k l ^G ^H ^I ^J ^K ^L M N O P Q R 3 m n o p q r ^M ^N ^O ^P ^Q ^R S T U V W X 4 s t u v w x ^S ^T ^U ^V ^W ^X ENTER Y Z 5 ENTER y z DELETE BACKSPACE ENTER ^Y ^Z { < ( [ 6 ESCAPE 7 8 9 / \ } > ) ] CAP LOC $ % ^ & 7 SHIFT 4 5 6 * QUIT CHR(28) CHR(29) CHR(30) CHR(31) , ~ ` ' 8 CONTROL 1 2 3 - BREAK ; @ # " = ? _ | 9 ATTN 0 . SPACE + CHR(0) ! TAB : The labels above the numbered row is the left shift key. Labels on the same line as the numbers are the default values and labels under the numbered lines are the right shift values. The numbers are the row and column of the keyboard. Quitting by pressing ON leaves the port open and is not necessary even to stay online. All 128 ASCII characters are accessible from the keyboard. I suggest getting a template and writing the above table on it for easiest use. This version uses FNT1 from the UFL so you will need to have that loaded into your calculator before you start. Send suggestions, comments, complains to: Mark Power. Email: power@gfms.bt.co.uk