The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
Find text in History/Scrollback |
Post Reply |
Author | |
iharper
Newbie Joined: October 13 2015 Status: Offline Points: 12 |
Post Options
Thanks(0)
Posted: March 07 2019 at 1:26pm |
This is a neat idea! I had never thought of doing something like this! |
|
TonyG
Beta Tester Joined: February 04 2004 Location: United States Status: Offline Points: 127 |
Post Options
Thanks(0)
|
I frequently want to be able to jump back into screen history to find something of interest. I'll scroll back, scanning every line, then copy the text and paste it somewhere.
I'd like to automate that process. Before I write a macro I'm wondering if someone else has a utility that does this. This could be done in a number of ways but this is what comes to mind first: 1) Use a hotkey to launch a script that does a GetText operation of all scroll history. The text is then in the clipboard. 2) Save the clipboard into a variable. 3) Prompt the user for text to search. 4) Find that text in the variable and note the line number. 5) Scroll back into the buffer to that line. 6) Other hotkeys can perform Next/Previous operations, and maybe things like Copy the current line, Copy the next line, Copy the current buffer page, etc. It would be really swell if Zumasys did this and provided the script. Another way to do that would again be to copy the text into the clipboard, but then to launch a text editor like Sublime, paste the text in, and then use all of the common tools available to search, copy, and manipulate the data. BTW - this could also be useful for those times when someone says "I typed something in and it didn't work, what do I do?" (yeah, I actually got that recently ) The first couple steps of the above could be used to scrape the terminal history and email it to Support. So all you'd need to do is to tell someone "when you have an issue, press F12, write something in the text box that explains what you were doing, and then click OK. Thanks. |
|
Tony Gravagno Nebula Research & Development
TG@ Nebula-RnD . com http://Nebula-RnD.com/blog http://Twitter.com/TonyGravagno http://groups.google.com/group/mvdbms https://www.linkedin.com/groups/64935 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |