FW: [U2] POKE command on Universe
> Do you know how do I do a TANDEM inside a pick basic program passing the ESC F (feed mode)? > I have tried the EXECUTE but I can not send a "ESC F". > Using TCL shell the TANDEM in feed mode works. Since tandem is a unix executeable, pipe the commands you want into it. For example, suppose port 17 is sitting at TCL, and you want to print "THIS IS A TEST" to it's screen. If you have a file, tandemcmds, that contains ^027FDISPLAY THIS IS A TEST ^027X At unix: cat ./tandemcmds | $UVHOME/bin/tandem 17 At basic: EXECUTE \SH -c"cat ./tandemcmds | $UVHOME/bin/tandem 17" --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] POKE command on Universe
Is it just feed-mode that doesn't work, or tandem in general? If the latter, it be a matter of permissions on the binary executable. On unix, tandem itself won't let non-administrators proceed, even if there are execution rights for group or other. On QA/Dev we use the sticky bit to let any ol' developer in, executing as root: $ls -l $UVHOME/bin/tandem -rwsr-x--x 1 root other 2752512 Jul 29 2003 /dbms/uv/bin/tandem ^ On production we have it configured as IBM delivers it (admin only): $ls -l $UVHOME/bin/tandem -rwxr-x--x 1 root other 2752512 Jul 29 2003 /dbms/uv/bin/tandem ^ Once permissions are ok, the Poke-like "F" feed mode works for me, with a couple caveats should the targeted process dive into another unix shell. cds -Original Message- From: Marcos Fogaga Somebody knows how do I do a POKE command on Universe? I used the POKE command with pick/D3 and I need to use now with UV. I tried the TANDEM using feed mode, but did not work. By the way, with D3 POKE command we can write from a line into input buffer of the another line. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] POKE command on Universe
Marcos Fogaga wrote: Hi, Somebody knows how do I do a POKE command on Universe? I used the POKE command with pick/D3 and I need to use now with UV. I tried the TANDEM using feed mode, but did not work. By the way, with D3 POKE command we can write from a line into input buffer of the another line. Computronics sells a "Peek" for Unix, which has a "Poke" capability. They've been around for years, (used to do Pr1me/Primos), and I can personally attest to their good character. http://www.computronics.com/peek_1page.html -- Allen Egerton aegerton at pobox dot com --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] POKE command on Universe
Hi, Somebody knows how do I do a POKE command on Universe? I used the POKE command with pick/D3 and I need to use now with UV. I tried the TANDEM using feed mode, but did not work. By the way, with D3 POKE command we can write from a line into input buffer of the another line. Thanks in advance. Regards, Marcos Fogaca Sao Paulo/Brazil --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/