Launching Zsh

This topic describes how to launch Zsh using a Telnet session on a PC. You can use the following methods:

Emulator as a Telnet server

To launch Zsh (using a Telnet session) on a PC using an emulator as a Telnet server, perform the following steps:

  1. Start the emulator by selecting Extras > Eshell.

  2. Run the following command:

    TelnetD

    Note: Before running the Telnetd command, ensure that Zsh.exe and the external command executables such as find.exe, grep.exe, ps.exe, unzip.exe and zip.exe are present in a sys/bin folder. You can copy these files from the /epoc32/release/winscw/<udeb/urel > directory.

  3. The IP address of the Telnet server running on the emulator is displayed, as shown in the following image:

    Figure: IP configuration

  4. In a scenario where multiple IP addresses are listed, use the ping command from the PC console to identify the IP address that is accessible from the PC, as shown in the following image.

    Figure: Using the ping command

  5. Open command prompt on a Windows PC.

  6. Run the following command by typing the IP address (associated with the emulator) that is accessible from the PC:

    telnet <ip-address of the emulator>

    The emulator and the Telnet client console prompts for an alphanumeric key to authenticate the session.

  7. Type the same alphanumeric key (which is upto eight characters) both on the emulator console window and also on the Telnet client console.

    Zsh is successfully launched on the PC.

Device (phone) as a Telnet server

To launch Zsh (using a Telnet session) on a PC using a device as a Telnet server, perform the following steps:

Note: Before starting a Telnet session, ensure that TelnetD and Zsh are installed on the device.

  1. Start TelnetD on the device by clicking the Zsh icon. The IP address of the Telnet server running on the device is displayed.

  2. In a scenario where multiple IP addresses are listed, use the ping command from the PC console to identify the IP address of the device that is accessible from the PC.

  3. Open command prompt on a Windows PC.

  4. Run the following command, by typing the IP address (associated with the device) that is accessible from the PC:

    Telnet <ip-address of the device>

    The device and the Telnet client console prompts for an alphanumeric key to authenticate the session.

  5. Type the same alphanumeric key (which is upto eight characters) both on the device console window and also on the Telnet client console.

    Zsh is successfully launched on the PC. The following image shows the result of this command on a Linux PC:

Related concepts

Related information