[raspberry-vi] Re: Sort of a NuBe

  • From: "Michael A Ray" <dmarc-noreply@xxxxxxxxxxxxx> ("mike.ray")
  • To: raspberry-vi@xxxxxxxxxxxxx
  • Date: Tue, 22 Mar 2022 07:50:16 +0000

Hello Darrel

If you are in a Linux console, using speakup, then with the numlock OFF, 
using these keys on the keypad will let you scroll up and down the screen:

Keypad 7 = scroll up a line
Keypad 9 = scroll down a line

The other numbers on the keyupad do other things, but these are the most 
used.

Note, again, this is with numlock OFF.

Numlock is the key in the top left corner of the keypad block on the 
right of a standard PC keyboard.

A good tip when listing files is to use the -1 flag to get the files in 
a single column:

ls -1

Then you can use keypad 7 to scroll up and read each file name.

I often redirect the output from 'ls -1' like this:

ls -1 > res

Then you can edit the 'res' file to see the list of files:

nano res

Doing this tends to leave a plethora of 'res' files all over though, so 
remember to harvest them.

I could give you a recursive find command that would find all the files 
of a certain name, top down, and delete them, but find is incredibly 
powerful and deleting stuff with it is a bit dangerous.

When you have done scrolling up and down, you can just press return 
wherever the browsing cursor is on the screen and you are back at the 
prompt.

You could also ad an alias entry to your .bash_aliases file like this:

alias ls1="ls -1"

And then:

source .bash_aliases

Then the command 'ls1' does the same. And you can add other flags to it.

Mike


On 21/03/2022 21:16, Darrel Vickers wrote:

Hi Everyone,
My name is Darrel and I live in the US.
I have dabbled in programming, (coding) on and off my whole life. I currently 
write in  html, PHP, MySQL and the rest of the web stuff.
I know almost nothing about Linux, other than I prefer it as a web server and 
this is mostly how I have interacted with it.
A few years ago I needed to get a couple of measuring devices that had USB 
connections to talk to me and I did, with the help of this list and a 
Raspberry pi.
So that was the last time I used Linux at the command line level.
So now I  would like to get back into it. I want to learn a little python and 
think the PI is a good place to play.
Today I rewrote an SD card and with the help of this list I have my PI3B 
talking with orca both in the shell and the GUI.
Now, with this background stuff out of the way I have a couple of questions. 
Here are the first two.
As a totally blind user who is fluent with windows, and Mac OS and have both, 
is the PI the best place to try python.  I would like to because it is pure 
Linux.
Question 2, When I do anything in terminal like listing the directory, I hear 
the results immediately  but I can not seam to go back and read the output 
again. Is there a way to do this?


Thank You,
Darrel

Visit me and my friends at Woodworking for the Blind<htpp://ww4b.org/>


===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of 
the Foundation.

Mike Ray, list creator, January 2013



-- 
Michael A. Ray
Analyst/Programmer
Witley, Surrey, South-east UK

He/him

"Perfection is achieved, not when there is nothing more to add, but when 
there is nothing left to take away." -- A. de Saint-Exupery
=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: