home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / text / 1063 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  1.9 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!unido!sbsvax!coli-gate.coli.uni-sb.de!uhf!midget.saar.de!daddel.saar.de!gfv
  2. From: gfv@daddel.saar.de (Gero Verch)
  3. Newsgroups: comp.text
  4. Subject: Uniplex reediting a file
  5. Message-ID: <BrvCvM.24r@daddel.saar.de>
  6. Date: 24 Jul 92 01:16:33 GMT
  7. Lines: 43
  8.  
  9. HI YOU UNIPLEX_GURUS,
  10.  
  11. there is a problem with with UNIPLEX-softkey menus.
  12.  
  13. Interactively changing a document while editing a another there is no
  14. problem. You simply press F2 to get to the menu, choose New-Document,
  15. Uniplex asks for confirmation and then for the file to be edited. 
  16. But beware of doing this in a softkey-menu!
  17.  
  18. 5=F158:'J':X(0,0,S,,shell-command_returning_a_filename_on_stdout)
  19.         ^--- german `Y'es
  20.    ^-------- Re-edit file in uniplex.cmd'
  21.  
  22. The machine just beeps, and nothing else happens.
  23. Same thing with F154 (New-file) then 'J' for confirmation, F65 (read and insert)
  24. and the shell-command_returning_a_filename_on_stdout.
  25.  
  26. Is there no way to get uniplex to edit a new file (named by a shell-script)
  27. without invoking uniplex again ??
  28.  
  29.  
  30. The basic problem is that I wish to merge some addresses with a letter.
  31. Since the built-in Mailmerging features of UNIPLEX only use 'ucard',
  32. I decided to use reports and the database.
  33.  
  34. I start the WP using "cd $REPORTDIR; uniplex -q -e -S mysoftkeys" from 
  35. 'uniplex.menu' to get 'ufo' to work (for comfortable selecting purposes).
  36.  
  37. After the user has choosen his mailmerging-letter (the report), he only
  38. needs to press F5 to get 'uform' and 'ureport' running. 
  39. (at this point the filename is in $Ufile and the data in $Ucutfile)
  40. Now the user wishes to edit the merged file to add some data which is not 
  41. included in the database, so I need to edit the merged file.
  42.  
  43. Any ideas how to manage this in an more elegant way ?
  44.  
  45. All responses via Email welcome!
  46.  
  47.     Gero
  48.  
  49. PS: uniplex 7.01, SCO 3.2.2
  50. -- 
  51. Gero Verch, Saarbruecken (Germany)                     EMail: gfv@daddel.saar.de
  52.