Results 1 to 3 of 3

Thread: Copy between TTYs

  1. #1
    Join Date
    Oct 2013
    Beans
    334
    Distro
    Xubuntu 14.10 Utopic Unicorn

    Copy between TTYs

    How can I copy text from one tty to another?

    Example:
    I have a terminal open in tty7 (graphical interface) and I want to copy some of its contents to tty1 (where I have nano open).
    Things to remember :
    - Use proper english
    - Comment your code
    - Keep background information and introductions to a minimum

  2. #2
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate Development Release

    Re: Copy between TTYs

    https://answers.launchpad.net/ubuntu...uestion/212118

    I used to use that a lot.. The buffer is lost when you exit the desktop to enter a tty.
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |

  3. #3
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    2,263

    Re: Copy between TTYs

    bapoumba is right. The system considers ttys to be separate terminal machines, sitting side by side. They are multiplexed onto a single keyboard/display as a convenience - they could as easily be in different rooms.

    GUI cut/paste buffers don't work in a non-GUI terminal.
    The terminal windows you create and use within the GUI can use cut/paste buffers because they are within that environment.

    In a non-GUI environment you usually transmit data between ttys as a saved file. Applications transmit data between ttys using files, pipes, or sockets.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •