1. ED load file

I find ED has a command to let me save files I type. But how is it you
load other Euphoria files?

new topic     » topic index » view message » categorize

2. Re: ED load file

To load/open/create a euphoria file in the current
window:
 1. press and release the escape key
 2. press the letter n
 3. either type the name of a euphoria file you want
to
 create or type the path to and name of an existing
file
 on the topline entry bar.
 
To conduct the same operations in a new window:
 1. press and release the escape key
 2. press the letter "c", then the letter 'n" 
 3. either type the name of a euphoria file you want
to
    create or type the path to and name of an existing
    file on the topline entry bar.

While learning ED, it might be a good idea to keep a
copy of ed.doc open in a separate window for
reference.
The documentation for "ed.ex" is available form the
help menu - "esc" & "h"  & "e".



Regards, 

Kenneth Rhodes

new topic     » goto parent     » topic index » view message » categorize

3. Re: ED load file

>>I find ED has a command to let me save files I type. But how is it you
>>load other Euphoria files?
>>

>   Press Escape, and then n, for new file. Then enter the name of an existing 
> file, and it will be opened. If it does not exist, then a new file will be 
> created.

Yes, that is true. If you get a letter wrong, no file loads. Does this
mean you have to memorize all the filenames of the files you want to
try out while learning Euphoria? As well as the pathnames.  Actually,
I don't think it really tells you what pathname it is currently using.
So you need an absolute pathname, unless you are sure where it is now.

new topic     » goto parent     » topic index » view message » categorize

4. Re: ED load file

--- Inkru <inkru at mailc.net> wrote:

> 
> Yes, that is true. If you get a letter wrong, no
> file loads Does this
> mean you have to memorize all the filenames of the
> files you want to
> try out while learning Euphoria? As well as the
> pathnames.  Actually,
> I don't think it really tells you what pathname it
> is currently using.
> So you need an absolute pathname, unless you are
> sure where it is now.

You can list files in any directory from ed by 
"esc" & "d" and "dir" or "ls" if your using Linux.

Console/Non-GUI editors can be frustrating to learn on
the front end.  If you are using Linux I can show you
how to add access to the EuGTK file selector from
Irv's Library with several short lines of euphoria
code.  Otherwise, there is Carl White's version of
David Cuny's DOS editor and numerous Euphoria Windows
editors available from the User's Contributions page.

Regards,
Ken Rhodes

new topic     » goto parent     » topic index » view message » categorize

5. Re: ED load file

A while back I made this suggestion to Rob regarding
file browsing and selecting from Ed.ex:

I'd like for RDS to consider adding a simple directory
browse and file select feature to ed.ex.

The feature I am thinking of would be implemented in a
fashion similar to the "file_history" feature which
uses the arrow keys to scroll thru a file history. 
Essentially, whenever an attempt is made to load a
directory path without a filename into the editor, the
editor would read the contents of the directory into a
sequence with the top file in the directory displayed
on the message bar. If the file is an editable file it
would be loaded by hitting the enter key.  If the user
desires to browze the current directory he would be
able to do so with the arrow keys in the same manner
as the file_history can now be "scrolled" through. If
the file selected is another directory, that directory
becomes the current one and the same procedure
applies.  Once an editable file is selected, the
actual file_history is restored.

This seems to me to be an unobtrusive feature that
will fit seamlessly into ed.ex's minimalist user
interface.





--- Ken Rhodes <ken_rhodes30436 at yahoo.com> wrote:
> 
> 
> --- Inkru <inkru at mailc.net> wrote:
> 
> > 
> > Yes, that is true. If you get a letter wrong, no
> > file loads Does this
> > mean you have to memorize all the filenames of the
> > files you want to
> > try out while learning Euphoria? As well as the
> > pathnames.  Actually,
> > I don't think it really tells you what pathname it
> > is currently using.
> > So you need an absolute pathname, unless you are
> > sure where it is now.
> 
> You can list files in any directory from ed by 
> "esc" & "d" and "dir" or "ls" if your using Linux.
> 
> Console/Non-GUI editors can be frustrating to learn
> on
> the front end.  If you are using Linux I can show
> you
> how to add access to the EuGTK file selector from
> Irv's Library with several short lines of euphoria
> code.  Otherwise, there is Carl White's version of
> David Cuny's DOS editor and numerous Euphoria
> Windows
> editors available from the User's Contributions
> page.
> 
> Regards,
> Ken Rhodes
> 
>
> 
> 
> TOPICA - Start your own email discussion group.
> FREE!
>
>
>

new topic     » goto parent     » topic index » view message » categorize

6. Re: ED load file

When the ed.exe is open, and you have used "ESC, n" a few times to open a
few different files, the filenames are cached, so when you press "ESC, n" to
reopen a files that you previously edited, you can use the "up", "down"
arrow keys to scroll the files/libraries you have been working on to open
them without having to type the filename in every time!.
----- Original Message ----- 
From: "Inkru" <inkru at mailc.net>
To: <EUforum at topica.com>
Subject: Re: ED load file


>
>
> >>I find ED has a command to let me save files I type. But how is it you
> >>load other Euphoria files?
> >>
>
> >   Press Escape, and then n, for new file. Then enter the name of an
existing
> > file, and it will be opened. If it does not exist, then a new file will
be
> > created.
>
> Yes, that is true. If you get a letter wrong, no file loads. Does this
> mean you have to memorize all the filenames of the files you want to
> try out while learning Euphoria? As well as the pathnames.  Actually,
> I don't think it really tells you what pathname it is currently using.
> So you need an absolute pathname, unless you are sure where it is now.
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>
>
> -- 
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.554 / Virus Database: 346 - Release Date: 20/12/03
>


---



--

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu