Xref: utzoo comp.sys.atari.st.tech:1358 comp.sys.atari.st:34810 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!apollo!apollo.hp.com!weber_w From: weber_w@apollo.HP.COM (Walt Weber) Newsgroups: comp.sys.atari.st.tech,comp.sys.atari.st Subject: Re: Uniterm 2.0e help Message-ID: <4fb2916e.20b6d@apollo.HP.COM> Date: 8 Feb 91 20:51:00 GMT References: <1991Feb1.152325.4730@ncsuvx.ncsu.edu> <91032.112332REEVES@SLACVM.SLAC.STANFORD.EDU> Sender: root@apollo.HP.COM Reply-To: weber_w@apollo.hp.com Organization: Hewlett-Packard Chelmsford Response Center Lines: 26 In article <91032.112332REEVES@SLACVM.SLAC.STANFORD.EDU>, Terry Reeves writes: |> The Uniterm manual suggests that you should try cntrl-M. Whoa!! The question was "how to get Uniterm 2.0e to send a carriage return". The example requested was to get the character string "vax*" sent from f1. Looking at the macro language section, the syntax is as follows: send('vax*\r') # if you want the CR send('vax*\n') # if you want the NEWLINE To get it into a function key macro, the macro is %send('vax*\r'), meaning that you must escape macro-language function calls with '%'. Note that the string handling stuff also supports "\0xx" for an arbitrary octal string. Since 7-bit ascii won't fit into 2 octal digits, I believe it might be HEX and not octal - but I haven't tried anything more than '\r' and '\n', both fo which work just fine. ...walt... Walt Weber Hewlett Packard Response Center 508-256-6600x6772 Chelmsford, MA, USA "The power of accurate observation is commonly called cynicism by those who have not got it" -George Bernard Shaw