Opening files in UltraEdit from shell

Opening files in UltraEdit from shell

1
NewbieNewbie
1

    Dec 22, 2006#1

    Hi Folks,

    I generally use ultraedit for most needs. I use SecureCRT for accessing our CVS system. Is it possible to open files in UltraEdit from within the shell prompt? Or access the shell from within ultraedit for navigating to specific files to open?

    Thank you for your thoughts.

    - Ben

    344
    MasterMaster
    344

      Mar 21, 2007#2

      Hi Ben,

      Opening UE from shell is not possible.
      I use a small perl-script called ue that includes the full path of a file, so I can just mark this in the shell (mouse), switch to UE, Press F10 (Open ftp in my case) and paste it into the field "Filename", so I can load it without filetree-clicking.
      Example:
      Shell:
      ~/daten/scripts/unix> ue test.txt
      "/home/bego/daten/scripts/unix/test.txt"

      EDIT
      With perl you can copy a selection into clipboard automatically, but not with the version we have here.
      so a shell-function in your alias-file (you surely have) does the job of printing anyway:

      Code: Select all

      function ue () { cdir=`pwd`; echo \"${cdir}"/"$1\";}
      ENDEDIT

      rds Bego
      Normally using all newest english version incl. each hotfix. Win 10 64 bit