You are not logged in.

#1 2018-06-01 20:26:37

CarterCox
Member
From: Argentina
Registered: 2018-02-24
Posts: 116

CLI - Copying and pasting text from CLI web browser

Hi. So I am trying to set up a server, and I don't want to install a DE to save space. But setting up apache and the other things takes a lot of typing and editing files.

So say I'm using any CLI web browser (link, elinks, lynx, etc.). How can I copy and paste some text into a text file?

Maybe I can create a text file with a website and then cat|grep the part I want to append it to the desired text file, so the traditional copy/paste is not really a requirement.

Thanks for any info you can provide!


And neither the angels in Heaven above
   Nor the demons down under the sea
Can ever dissever my soul from the soul
   Of the beautiful Annabel Lee;

Offline

#2 2018-06-01 20:31:13

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: CLI - Copying and pasting text from CLI web browser

I believe you can run everything within tmux panes and use its copy/paste functionality.

https://unix.stackexchange.com/question … 8765#58765


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2018-06-01 20:54:08

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: CLI - Copying and pasting text from CLI web browser

Why not just administrate it via SSH from a machine with a full DE?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#4 2018-06-01 21:44:25

lula
Member
Registered: 2009-07-16
Posts: 71

Re: CLI - Copying and pasting text from CLI web browser

If you're working directly on the machine, install the gpm package and start/enable the gpm.service, copy text by selecting it with the left mouse button and paste it with middle mouse button

Offline

#5 2018-06-01 22:13:32

CarterCox
Member
From: Argentina
Registered: 2018-02-24
Posts: 116

Re: CLI - Copying and pasting text from CLI web browser

@progandy: Thanks for the reply. The answer from lula seems easier (I think). I just tried that one first and I can copy/paste without any fuzz. Thanks again!

@Slithery: It's the only Linux computer I have, plus I never used SSH, and I don't need it for now, so I'm not interested in learning how to use it tongue Thanks!

@lula: That works like a charm. I always wondered how to use the mouse in the CLI. Great info. Thanks!


And neither the angels in Heaven above
   Nor the demons down under the sea
Can ever dissever my soul from the soul
   Of the beautiful Annabel Lee;

Offline

#6 2018-06-01 22:29:49

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: CLI - Copying and pasting text from CLI web browser

If you find gpm easier, then good for you. I try to use the mouse as little as possible, so it never occured to me smile

CarterCox wrote:

@Slithery: It's the only Linux computer I have, plus I never used SSH, and I don't need it for now, so I'm not interested in learning how to use it tongue Thanks!

That doesn't matter, you can run PuTTY on windows to connect to an SSH server on your linux machine.

Last edited by progandy (2018-06-01 22:30:52)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#7 2018-06-01 22:55:29

CarterCox
Member
From: Argentina
Registered: 2018-02-24
Posts: 116

Re: CLI - Copying and pasting text from CLI web browser

progandy wrote:

If you find gpm easier, then good for you. I try to use the mouse as little as possible, so it never occured to me smile

Yeah, I don't have anything against the poor old mouse. The Gentoo installer has it enabled and I always wondered how to do that.

That doesn't matter, you can run PuTTY on windows to connect to an SSH server on your linux machine.

I imagined there would be some way to do it. Thanks!


And neither the angels in Heaven above
   Nor the demons down under the sea
Can ever dissever my soul from the soul
   Of the beautiful Annabel Lee;

Offline

#8 2018-06-02 05:52:31

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 290

Re: CLI - Copying and pasting text from CLI web browser

I imagined there would be some way to do it.

or Windows Powershell linux you can SSH and copy paste to/from


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

Board footer

Powered by FluxBB