Is is not possible to scrill highlight in linux...

Is is not possible to scrill highlight in linux? In iterm2 i could scroll while highlighting to copy large sections of logs files, in ubuntu i have to use shift + - to zoom way out to select large areas and even that doesnt always fit. When i google it get i gey "nope dont work like that".

Attached: ximg_58c0939c2d487.png.pagespeed.gp+jp+jw+pj+ws+js+rj+rp+rw+ri+cp+md.ic.5lDzHl2vQG.png (650x300, 42K)

>i could scroll while highlighting to copy large sections of logs files,
fucking diversity hires.

Fuck off NEET had you ever worked a dev job you would have needed to send another dev a large section of logs or needed to copy them and place it in a text file for later reference

If you're perusing large log files why are you doing it off the bare shell rather than in your preferred text editor?

Doing it in less. In iterm2 i could ctl c and then scroll while highlighting. In ubutnu it wont scroll through the buffer while highlighting. Id just cat it but the logs are huge. I could tail -1000f but that is kinda gay i just would like to be able to scroll in less

works on my machine, just hold mouse button and scroll... what's the issue?

>i don't know how to grep and use stdout/stdin
>as a matter of fact I know nothing about unix-alikes

fucking diversity hires.

Everyone knows grep and stdout go pat yourself on the back somewhere else retard. Neither of those will resolve my buffer issues with less and likely will have the same scrolling buffer issue

>buffer issues
Get a load of this click n' drool diversity hire!
Learn sed/awk/grep and fuck off.

>just use a start and end expression to search for a 1000 line block instead of highlighting from less
No fuck off you have autism

Jesus Christ. You... You know absolutely nothing about Linux or GNU tools, do you?

This is sad. You're essentially asking us how to use notepad and calculator on Windows to balance your check book. Jow Forums is not your tier 1 technical support. Go read a book on Linux administration.

Attached: 1457921761338.jpg (528x792, 66K)

Not an arguement. Yes I asked how to fix scrolling in less, if you dont know anything about less then piss off idiot

>i can't get text out of a whole system designed around text.
You're a dumb fuck.

>I'll insult you so you giv homework answers!
Go read about unix tools and pipelining, pajeet. You know nothing about how to actually use your operating system.

I have the text already you idiot. I dont need to grep for it i need to enable mouse inputs in less

ps -ef | grep java. wow hard stuff. This doesnt solve my problem you idiot

>mouse input on a unix system
Get a load of this diversity hire!

>i dont know how to enable mouse inputs in less so use grep instead.
I said no

>needing mouse input in a terminal text pager!
holy fuck! you design software or are you a java monkey?

Set your terminal scrollback to a reasonable amount

I have unlimited scrolling, and can mouse wheel the entire file, but it will not scroll while highlighting

Not sure what crappy terminal emulator are you using OP, but it does work with urxvt.

You mean this? It works for me.

Attached: Peek 08-06-2018 15-43.webm (600x414, 275K)

use vim instead of a fucking pager.
:beginninglinenumber,endinglinenumber,w filename

mail --attach=- < filename

Huehuehue

> He thinks that's Portuguese

Attached: 1517369393038.png (288x415, 178K)

>he thinks he's better than the huehues

idiot burger

El goblino...
El atrocidad...
La luz extinguido...

Era una noche oscura en el cerro de Ortega, solo se veían las estrellas brillar como chispas centellantes; cuando Doña Carolina decidió salir un rato a refrescarse en su pequeño patio cubierto con laminas y una enredadera de pasiflora que llenaba todo el techo y perfumaba la pequeña casita.

Salio de la cocina y se sentó en su hamaca tranquilamente; mientras su esposo Baudelio estaba ocupado arreglando sus cosas para al día siguiente irse a trabajar muy temprano en la mañana; todavía estaba arreglando su machete para que tuviera buen filo.

Cuando en ese momento Doña Carolina escuchó ruidos que venían del techo. De repente ella volteo al techo sin pensar, cuándo vio horrorizada como algo parecido a una mano movía las tejas con gran facilidad hasta tener un agujero cada vez mas grande; en eso la pobre mujer le grito a su esposo -¡Baudelio ayúdame algo esta en el techo!
Como su esposo sabia que ella le temía a las ratas no le dio importancia; pero Carolina vio que la criatura de repente paro de mover las tejas de barro y como se asomaba el ser con unos ojos centellantes y negros; ella grito de nuevo.

En eso su esposo finalmente se dio cuenta que algo malo le pasaba, cuando ella empezó a gritarle:-"Trae el machete"; Baudelio tomo el machete y corrió al patio, al ver el movimiento la criatura trato de escapar.

Pero Baudelio al ver que no estaba abajo con su esposa se fue corriendo con su lámpara de mano al techo y lo alcanzo a aluzar con su lámpara, en eso la criatura huyo de un brinco; los dos se quedaron boquiabiertos al ver a un ser que jamás habían visto.

Al día siguiente les daba vergüenza hablar de lo ocurrido la noche anterior pero otros vecinos hablaban de un supuesto ser que llamaban el goblino que andaba por la zona matando animales y también escucho platicar a otros pobladores que lo habían visto rondando el lugar buscando mas víctimas.

Yes. I cant do it. My scrill bar on the right is at the maximum size and it thinks there is no where to scroll

I cant do it in vim either, it wont highlight scroll

Diversity is our strength!

Ok i got it to work in vim i will just use thay next time

Try rope

Get help

Wow. So good. A basic comprehension of text tools.
Now how do you get that into a file without copy and paste?

>boss standing over you shoulder
>wants you to quickly copy and past part of a log and send it to him
>uh on second sir let me write a start and end expression for grep and pipe it in to a text file
>wtf is wrong with you just copy the fucking lines im in a hurry

ps -ef | grep java | xclip -selection c
so hard I know

Im not searching for java its an arbitary section of a log with a start and end

Why can't you just copy and paste what you want, scroll down and do it again? It doesn't take much time.
Even worms have enough of a brain to figure it out.

Doing thay 15 times takes a lot of time and is error prone. Anyways i am just going to cat the file i got it figured out stop replying

then have sed or awk print out those lines or open it in a graphical text editor like emacs, gedit, etcetera

>i am just going to cat
Why are you going to concatenate two files?

Linux users everyone.

Dude i already know this stop fucking bumping my thread i said i fugred it out an hour ago

command > file

Fucking congratulations. You still have no idea what you're doing.

Here's your participation trophy from 1995:

And of course, if you've been following along for a week or two, you know that this (BING!) is a Useless Use of Cat!

Rememeber, nearly all cases where you have:
cat file | some_command and its args ...

you can rewrite it as:

>highlighting from less
holy shit this is golden, someone screencap this. Who let retard nigger monkeys post on Jow Forums?
Chances are tomorrow we'll see a blog entry on medium on how racist/sexist/discriminatory is the hacker known as Jow Forums
However, I see that GNU/linux is still working well enough as retard filter

>However, I see that GNU/linux is still working well enough as retard filter
Are you kidding me? cat abuse and cut n' paste are tools of the typical Linux user. Linux became a Windows replacement rather than a Unix clone in the early 00's.

Attached: 1523735035473.jpg (882x624, 72K)

i used sage u fag, also if you're done with the thread why are you still responding?

I actually wanted someone to post this image but didn't want to ask. Thanks
> cat abuse
poor kitties
anyways, my point is - it's allowed to be a n00b here. It's also allowed to not know shit about linux - but you never go asking shit on an ugandan echidna breeding forum without googling first. And, if you do - you just out yourself as a retard, mainly because you just tried to use an OS to show off, and not because you're comfortable with it.
If it's not for showoff reasons but because your job requires it - then, given you can't even learn some simple text processing - you shouldn't be trusted with that.

Linux is a kernel, you retard

>typical linux user.

>he doesn't know how to echo or cat...

>scroll
>in less
is this bait?
less is a pager, it's whole purpose is to format input into single screen pages, it makes no sense to have or use scrollback with it

being a passive aggressive cunt won't give you answers here, OP. Also, RTFM.

get help with your suicide

>get help with your suicide
Isn't that just consensual murder?

no

Attached: dr.k.jpg (400x527, 37K)

>talks about iterm2 (a TERMINAL EMULATOR)
>then goes on about mouse support for fucking less on linux
What has one to do with the other?
Are you implying macos' less has fucking mouse support? are you fucking retarded? The fuck are you trying to do with less??

Attached: tumblr_okjkfeRSpV1vk4d2jo3_1280.png (1280x904, 987K)

*Kevorkiancreases*

Attached: act-senate-candidate-philip-nitschke-data.jpg (2186x2340, 294K)

cat /var/log/diversity.log > /home/tranny/out


Then open in Gedit.

Why the fuck would you use cat instead of cp?
Goddamn Linux users are retarded.

macfag here
yeah that's the real issue. OP seems to be talking about something that exists in macOS terminals, where you can left click at the bottom of the text you want, move the mouse up to the top, and it will smoothly scroll up while highlighting everything as you go.
It's actually a really nice feature, but it has nothing to do with less and everything to do with how scrollback is handled.
It would perhaps explain op's solution of using cat. perhaps Linux terminals do provide this convenient scrollback feature, but maybe it wasn't working in less. using cat would just put the text in the terminal output directly, which i'm guessing would have more success. just a theory.

I checked. In the basic term emulators like Gnome shell and Konsole it works trivially, but less does not scroll because the scrolling down action does not emulate a down key press. Can you do me a solid and check whether it works in your less?

Attached: 1524958910192.png (660x582, 1.47M)

If you don't know how to yank to a clipboard properly from a cli or vim than I don't know what's wrong with you.

Because using cp supports child sex trafficking. Cat is a much more legal, moral and worksafe option.

>Anyways i am just going to cat the file
Screen vomits then manually searches the vomit to cut n' paste from terminal.

The absolute state of nu-Jow Forums.

wait a sec.. it doesn't!
If I scroll with a two finger swipe (no click), I will actually scroll through the less output very well, but when i'm clicking to highlight, the scroll up takes me above the 'less' content on the screen into the command line entries which are shown ABOVE the less output.
In short, you can't do the highlight-scroll thing in less. It does work in regular stdout output though such as with cat.
so OP makes even less sense now!

>this whole thread

Attached: snap face.jpg (600x580, 284K)

>yank to a clipboard properly from a cli or vim
I know how to do it in vim, with y, but that only copies to VIM'S clipboard, not the system keyboard.

Then yank to the system clipboard? You can choose where you yank your shit you double nigger

Thanks for the confirmation, user
Also,
> OP makes even less sense now!
I see what you did there

Attached: Zane-Double.png (640x720, 183K)

I guess my vim was not compiled with that support? on the vim wikia, it says to press + or * to get to the system clipboard, but in my vim, + goes down a line, and * goes down a full page. Handy, but unexpected.
Really the whole clipboard thing is bullshit. On Loonix it's even worse since I think there's like 3 clipboards in total: the vim clipboard, the selection clipboard (middle click to paste), and the traditional system clipboard (right click>Paste, or CTRL+V in non-terminal programs to paste.)

there should honestly just be one system clipboard, and when you yank vim lines, it should put that directly in that clipboard. The same one used when selecting something in a browser and copying it with CTRL+C. One clipboard to rule them all.

>the scroll up takes me above the 'less' content on the screen into the command line entries which are shown ABOVE the less output.
Thanks for brightening up my day OP.

Attached: Producing energy with memes.png (860x484, 193K)

I'm not OP, but you're welcome!

No, that would make Unix a click n' drool UI.
Something that will never happen.

>stop learning things!
>stop teaching people stuff!
>all that's for nerds!
Yep.
*snap*

OP works in IT.
He should know this already.

How would it make it a "click n' drool" UI? I think it would just make things make more sense. Plus you could easily paste from other applications into vim using vim's 'p' command.

Of course less won't scroll back with your mouse cursor. It's a goddamn tty application used to window an input stream. It doesn't know what a mouse is, and it maintains a fixed output buffer. OP totally fails to understand the tools he's trying to leverage, and he refuses to learn as is evidenced by him catting fucking everything to the terminal and copy/pasting like a goddamn animal.

This thread was both enraging and endlessly entertaining.

Wut

Attached: 20180608_220646.gif (480x640, 1.38M)

>catting fucking everything to the terminal and copy/pasting like a goddamn animal.
how would you do it? I think what OP wanted was to get a large block of several lines of output from a log file, without an obvious connecting string of characters in common between them to grep, and putting it in the regular clipboard.

You're missing less(1) which is key to the topic of the thread.

xclip file
now it's all in the clipboard, lol

btw you can use either copy buffer (XA_PRIMARY or XA_SECONDARY with the -selection flag)

>Hmm what line numbers do I need
nl BASEDXD.log | less
>Looks like I just need lines 120 through 450..
sed -n '120,450p' BASEDXD.log > 20180608_ISSUE_SOYXD.log

Wow oh my god look how hard it is to lrn2lrn2

scroll highlight? works for me in konsole and other terminal emulators.
I think you are a retard...

you can do that, though

also, you can copy and paste multiple lines in Vim

I didn't read the thread though, just OP's post.

after reading some of the posts I posted

>I didn't read the thread though, just OP's post.
basically no matter how brainlet people think copying with the mouse is, OP is still the biggest brainlet for thinking it would work in less, when even on his own operating system, it wouldn't have worked anyway.

Also, doing it with the mouse will probably end up being the standard way on Loonix soon, as I don't think Wayland has anything similar to that xclip thing mentioned.

I love it when an answer makes me snigger

>OP is still the biggest brainlet for thinking it would work in less, when even on his own operating system
I don't have a mac so I didn't know if they modified less to work with the trackpad.

They made it work with the trackpad when just scrolling up and down, but not while also highlighting.

Well if you're not a cock waving narcissistic tripfag who is basically retarded, you can use awk to directly get the line range you want, or use grep to pare things down and pipe into vim, where you can copy a range of lines to the clipboard interactively.

>Konsole
You are spoiled, every terminal emulator on Linux that isn't Konsole sucks.

I do it in XCFE Terminal and GNOME Terminal. But OP is trying to scroll-highlight inside of less, which isn't going to work regardless. He should either open it in a text editor or cat it out and then scroll the scrollback, but he refuses to do that and insists on an answer on how to make less scroll-select.

>shift + arrow up/down
>shift + page up/down
wew

obvious bait

>t. diversity hire

WORKS ON MY MACHINE

Attached: REC-2018-06-09T00:46:14-04:00.webm (634x977, 1.23M)