Opening files in UltraEdit from shell

FTP, SFTP, FTPS, and SSH/telnet console issues

Opening files in UltraEdit from shell

Postby benlong » Thu Dec 21, 2006 7:54 pm

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
User avatar
benlong
Newbie
 
Posts: 1
Joined: Thu Dec 21, 2006 12:00 am

Re: Opening files in UltraEdit from shell

Postby Bego » Wed Mar 21, 2007 9:05 am

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
User avatar
Bego
Master
Master
 
Posts: 357
Joined: Wed Nov 24, 2004 12:00 am
Location: Germany


Return to FTP/SFTP / SSH/Telnet