public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* copying a message in a terminal
@  K0LNY_Glenn
   ` John Covici
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: K0LNY_Glenn @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Hi,
Someone is trying to figure out what is wrong with my Chirp program, and he 
wrote asking to issue a command and and an error message should show up in 
the terminal.
Using Ubuntu.
I know how to put  a greater and a file.txt after some commands, and it 
prints to that file, but in this case, he is assuming I know how to copy 
text above the cursor in a terminal, and I  have never done that, I didn't 
think that was possible.
Thanks for any instructions for doing this.

Glenn 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: copying a message in a terminal
   copying a message in a terminal K0LNY_Glenn
@  ` John Covici
   ` John Covici
   ` Gregory Nowak
  2 siblings, 0 replies; 5+ messages in thread
From: John Covici @  UTC (permalink / raw)
  To: K0LNY_Glenn; +Cc: Speakup is a screen review system for Linux.

Use the script command and the standard error and standard output will
both be copied into a file and you will also see the messages.

On Wed, 01 Jun 2022 21:29:29 -0400,
K0LNY_Glenn wrote:
> 
> Hi,
> Someone is trying to figure out what is wrong with my Chirp program, and he 
> wrote asking to issue a command and and an error message should show up in 
> the terminal.
> Using Ubuntu.
> I know how to put  a greater and a file.txt after some commands, and it 
> prints to that file, but in this case, he is assuming I know how to copy 
> text above the cursor in a terminal, and I  have never done that, I didn't 
> think that was possible.
> Thanks for any instructions for doing this.
> 
> Glenn 
> 
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici@ccs.covici.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: copying a message in a terminal
   copying a message in a terminal K0LNY_Glenn
   ` John Covici
@  ` John Covici
   ` Gregory Nowak
  2 siblings, 0 replies; 5+ messages in thread
From: John Covici @  UTC (permalink / raw)
  To: K0LNY_Glenn; +Cc: Speakup is a screen review system for Linux.

Also, you can use speakups cut and paste keys.

On Wed, 01 Jun 2022 21:29:29 -0400,
K0LNY_Glenn wrote:
> 
> Hi,
> Someone is trying to figure out what is wrong with my Chirp program, and he 
> wrote asking to issue a command and and an error message should show up in 
> the terminal.
> Using Ubuntu.
> I know how to put  a greater and a file.txt after some commands, and it 
> prints to that file, but in this case, he is assuming I know how to copy 
> text above the cursor in a terminal, and I  have never done that, I didn't 
> think that was possible.
> Thanks for any instructions for doing this.
> 
> Glenn 
> 
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici@ccs.covici.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: copying a message in a terminal
   copying a message in a terminal K0LNY_Glenn
   ` John Covici
   ` John Covici
@  ` Gregory Nowak
     ` Mike Ray
  2 siblings, 1 reply; 5+ messages in thread
From: Gregory Nowak @  UTC (permalink / raw)
  To: K0LNY_Glenn; +Cc: Speakup is a screen review system for Linux.

In terminal I assume means in the GUI. Orca has key strokes for copy
and append contents under flat review to clipboard, but they're not
assigned by default. Since there's no way to select a block of text in
flat review as far as I know, you would have to issue copy the first
time, and then issue append every time you move the flat review
cursor. You can then paste the whole thing into a text editor. If
there's a better way to do this, I'm sure someone will jump in.

The problem with using script is that also captures whatever
characters are sent to draw the screen, so doesn't always provide
something that can be easily copied and pasted.

Greg


On Wed, Jun 01, 2022 at 08:29:29PM -0500, K0LNY_Glenn wrote:
> Hi,
> Someone is trying to figure out what is wrong with my Chirp program, and he 
> wrote asking to issue a command and and an error message should show up in 
> the terminal.
> Using Ubuntu.
> I know how to put  a greater and a file.txt after some commands, and it 
> prints to that file, but in this case, he is assuming I know how to copy 
> text above the cursor in a terminal, and I  have never done that, I didn't 
> think that was possible.
> Thanks for any instructions for doing this.
> 
> Glenn 
> 
> 

-- 
web site: http://www.gregn.net
gpg public key: http://www.gregn.net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)
If we haven't been in touch before, e-mail me before adding me to your contacts.

--
Free domains: http://www.eu.org/ or mail dns-manager@EU.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: copying a message in a terminal
   ` Gregory Nowak
@    ` Mike Ray
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Ray @  UTC (permalink / raw)
  To: speakup


Guys

With the greatest respect, it is of little point saying something like 
'script' without going into details on how to use it.

Glen, start it like this:

script -f

Then do the business, and afterwards type:

exit

And it will tell you everything was saved in a file called 'typescript'.

Unfortunately, this might also write console colouring codes to the 
output, so it might be abit garbled.

Press F1 in speakup to get the help screen, and I think it is spacebar 
to get rid of it.

In the speakup help scereen you can read about the region copy and paste 
keys.

Or, if you connect to the console with TeraTerm from Windows, you can 
just copy and past to the terminal normally as you would in WWindows.

To paste into a document you are editing in TeraTerm, press alt+E and 
paste. If you copied more than one line from the source application 
TeraTerm will ask you to confirm.

If you are copying from TeraTerm, you can either select the entire 
screen from the menus and then copy it, and paste it into an email, or 
you can use the virtual cursor keys to copy a region.

Mike


On 02/06/2022 04:33, Gregory Nowak wrote:
> In terminal I assume means in the GUI. Orca has key strokes for copy
> and append contents under flat review to clipboard, but they're not
> assigned by default. Since there's no way to select a block of text in
> flat review as far as I know, you would have to issue copy the first
> time, and then issue append every time you move the flat review
> cursor. You can then paste the whole thing into a text editor. If
> there's a better way to do this, I'm sure someone will jump in.
> 
> The problem with using script is that also captures whatever
> characters are sent to draw the screen, so doesn't always provide
> something that can be easily copied and pasted.
> 
> Greg
> 
> 
> On Wed, Jun 01, 2022 at 08:29:29PM -0500, K0LNY_Glenn wrote:
>> Hi,
>> Someone is trying to figure out what is wrong with my Chirp program, and he
>> wrote asking to issue a command and and an error message should show up in
>> the terminal.
>> Using Ubuntu.
>> I know how to put  a greater and a file.txt after some commands, and it
>> prints to that file, but in this case, he is assuming I know how to copy
>> text above the cursor in a terminal, and I  have never done that, I didn't
>> think that was possible.
>> Thanks for any instructions for doing this.
>>
>> Glenn
>>
>>
> 


-- 
Michael A. Ray
Software engineer
Witley, Surrey, South-east UK

He/him/cis

"Perfection is achieved, not when there is nothing more to add, but when 
there is nothing left to take away." -- A. de Saint-Exupery



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 copying a message in a terminal K0LNY_Glenn
 ` John Covici
 ` John Covici
 ` Gregory Nowak
   ` Mike Ray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).