Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.terminals Subject: Re: Need info on ATT 630 Terminal (function key programming) Message-ID: <11941@smoke.BRL.MIL> Date: 12 Jan 90 20:53:35 GMT References: <561@lsicom2.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 14 In article <561@lsicom2.UUCP> root@lsicom2.UUCP (Admin) writes: >Is there some way to append a program to .profile to >re-program the function keys? All you have to do is use the "echo" command to send the following characters to the terminal: ESC [ key_number ; string_length q string where ESC has octal value 033, key_number is one of the digits 1 through 8, string is the characters you want to associate with the function key, and string_length is the number of characters in that string. For example: echo '\033[1;5qexit\r' # store "exitCR" in PF Key #1