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).
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
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. |[SIGPIC][/SIGPIC]
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