From 8327b2647bcf1e583ed28abd9289da3d57fa714d Mon Sep 17 00:00:00 2001 From: conaclos Date: Tue, 22 Jul 2014 11:54:33 +0000 Subject: [PATCH] Author:manus Date:2014-07-15T22:02:46.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1388 abb3cda0-5349-4a8f-a601-0c33ac3a8c38 --- .../eiffelstudio-mac-os-x.wiki | 10 ++++++++++ .../overview-eiffelnet-mechanisms.wiki | 6 +++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/documentation/current/eiffelstudio/software-installation/software-installation-eiffelstudio/eiffelstudio-mac-os-x.wiki b/documentation/current/eiffelstudio/software-installation/software-installation-eiffelstudio/eiffelstudio-mac-os-x.wiki index f8832299..a6322a2d 100644 --- a/documentation/current/eiffelstudio/software-installation/software-installation-eiffelstudio/eiffelstudio-mac-os-x.wiki +++ b/documentation/current/eiffelstudio/software-installation/software-installation-eiffelstudio/eiffelstudio-mac-os-x.wiki @@ -56,6 +56,16 @@ sudo port selfupdate sudo port upgrade outdated +==Installing EiffelStudio from a compressed package== +This section only applies if you have installed all the required prerequisites. If you are not sure, use the installation from MacPorts as described in the previous section. + +After downloading the compressed package, you should manually extract its contents to your hard drive. For example, you can extract it into /usr/local using the following commands (assuming that you have permission to /usr/local and that the installation package was saved in /tmp/Eiffel_X.Y.tar.bz2, where X.Y stands for the EiffelStudio version): + +cd /usr/local +tar xvfj /tmp/Eiffel_X.Y.tar.bz2 + +This will install EiffelStudio files into /usr/local/Eiffel_X.Y. Once this is done, jump to the [[#Setting up EiffelStudio|Setting up EiffelStudio]] section in order to complete the installation of EiffelStudio. + ==Starting EiffelStudio== Now everything should be properly installed and you should be able to run the compiler. Simply navigate to /Applications/MacPorts/Eiffel''XX'' and double click the EiffelStudio icon. diff --git a/documentation/current/solutions/networking/eiffelnet/eiffelnet-tutorial/overview-eiffelnet-mechanisms.wiki b/documentation/current/solutions/networking/eiffelnet/eiffelnet-tutorial/overview-eiffelnet-mechanisms.wiki index c6eb0a4d..8764a745 100644 --- a/documentation/current/solutions/networking/eiffelnet/eiffelnet-tutorial/overview-eiffelnet-mechanisms.wiki +++ b/documentation/current/solutions/networking/eiffelnet/eiffelnet-tutorial/overview-eiffelnet-mechanisms.wiki @@ -58,9 +58,9 @@ The second distinction reflects two modes of socket communication: stream commun IO_MEDIUM has all the basic input and output facilities applying to objects of basic types, as also offered in FILE(see the specification of FILE in reference [ [[Bibliography|2]] ]). So you can use sockets to send and receive characters, integers, real numbers in simple or double precision and strings. For example, if the type of `my_socket' is one of the socket classes shown on the preceding figures, any of the following calls will be valid: - my_socket.putstring ("Some text") - my_socket.readint - my_last_integer := my_socket.lastint + my_socket.put_string ("Some text") + my_socket.read_integer_32 + my_last_integer := my_socket.last_integer_32 Since sockets are bidirectional, these instructions may all appear as part of the same class provided you make sure to guarantee proper synchronization between senders and receivers. You may also prefer to specialize certain sockets for sending and others for receiving.