Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!lll-winken!uunet!sdrc!wggabb From: wggabb@sdrc.COM (Rob Gabbard) Newsgroups: comp.sys.hp Subject: Displaying a file with HP-VUE's VUE_VIEW_FILE action Keywords: hp vue Message-ID: <918@sdrc.COM> Date: 19 Apr 91 13:05:12 GMT Organization: SDRC, Cincinnati Lines: 56 I added a button to the bottom row on my HP-VUE window manager that I want to press and bring up the HP-VUE File Viewer on a particular file (our company phone list). To do this I copied the VUE_VIEW_FILE action definition from /usr/lib/X11/vue/types/vue.ad and modified it to look like: PHONE_LIST \ * \ ${ACTION_L} \ ${ACTION_S} \ HELPMGR \ DISPLAY-FILE \ %/u/wggabb/local/lib/phone.lis% and had the button press invoke this action. When I try this I get an error dialog box with the following message: The following file is not accessible.See $HOME/.vue/errorlog for hints. hp3:/u/wggabb/- In errorlog I get: vuehelp: The following file could not be opened hp3:/u/wggabb/- Well, it turns out that even the VUE_VIEW_FILE action does not work. It looks like: VUE_VIEW_FILE \ * \ ${ACTION_L} \ ${ACTION_S} \ HELPMGR \ DISPLAY-FILE \ %(File)Arg_1"File To View:"% This definition implies that it will bring up the viewer on the specified file or prompt you with File To View if an argument is not specified. I created an executable file in my .vue/apps/personal_apps directory named VUE_VIEW_FILE and double clicked on it in the File Manager. It prompted me with File To View but after typing in a file name I got the exact same error as I got with my customized action. Any VUE experts out there know how to fix this ? Also, why didn't the VUE people implement selctions in File Viewer ? About half the time I bring up the File Viewer I want to copy some text and paste it elsewhere. I end up bringing up vi in an hpterm window to do it ! -- The statements above are my own and do not neccesarily reflect the opinion of my employer. ------------------------------------------------------------------------------- Rob Gabbard wggabb@sdrc.sdrc.com Technical Development Engineer Structural Dynamics Research Corporation