[NFBCS] Jaws and shell scripts

charles.vanek at gmail.com charles.vanek at gmail.com
Wed Jun 10 03:03:20 UTC 2020


Tracy,
Curious.  Is your goal to learn Bash solely?  If so, have you looked at installing Windows Subsystem for Linux and then downloading Ubuntu from the Microsoft Store?

Essentially you can in 15 minutes have a Ubuntu Linux terminal up and running on Windows 10.  The terminal isn't fully JAWS accessible, but when you execute a Bash or any shell script JAWS will automatically read its output.
Here's the nice thing.  Ubuntu on Windows this way automatically mounts your Windows C: Drive into Linux.  Thus you can easily use your favorite Windows Text editor like even NotePad to create your shell script.  Then flip to your terminal and execute it and get the output.   The C: Drive in Ubuntu for Windows Subsystem for Linux will be in /mnt/c/  So if for example you save your shell script in C:\Users\Tracy\Documents\  it will be in your terminal at /mnt/c/Users/Tracy/Documents/ 

The learning curve for Linux editors can be high, but very valuable to learn.  My suggestion though would be to tackle the Bash scripting in an editor you know if that's your ultimate goal to start.  Learn the VI class of editors a different time.

Side tip.  If you want to connect to Ubuntu as part of Windows Subsystem for Linux with PuTTY or SecureCRT just open up Ubuntu from the start menu, then start up SSH with 'sudo service ssh start' which will get the SSH listener in Linux running.  Then you can connect via any SSH client locally, the IP of Ubuntu will be 127.0.0.1 (i.e. localhost).

Happy coding Tracy!

Best,
Charles

-----Original Message-----
From: NFBCS <nfbcs-bounces at nfbnet.org> On Behalf Of Jim Barbour via NFBCS
Sent: Tuesday, June 9, 2020 11:52 AM
To: NFB in Computer Science Mailing List <nfbcs at nfbnet.org>
Cc: Jim Barbour <jbar at barcore.com>; Tracy Carcione <carcione at access.net>
Subject: Re: [NFBCS] Jaws and shell scripts

Hello,

First of all, I assume you’re talking about bash scripting.  

I do not have a lot of experience working with windows shells and jars, because when I work on Linux I work on it directly. However, I see lots of other advice on here about that piece of the equation.

It is likely that you will not use the VI editor directly, but rather one of its successors such as VIM. 

You could also try using the Emacs editor, ignoring Emacs speak for the time being, which is another full screen editor you can run in the terminal.  

Finally, you can use a line based editor such as EX.  EX comes up at a prompt, and lets you insert text, do string replacements, Delete text, etc. I think it can often be a nicer accessibility experience Then using a full screen editor.

Happy to answer my questions, hope this helps,

Jim

Written while on the move,, 

> On Jun 9, 2020, at 8:34 AM, Louis Maher via NFBCS <nfbcs at nfbnet.org> wrote:
> 
> Hello Tracy,
> 
> Again, based on old knowledge, there is a Linux program, called Samba, which can map Linux drives to a Windows machine.  This would let you access Linux directories as if you were using the Windows File explorer.  In this case, you can edit Linux files with things like Visual Studio.
> 
> 
> Regards
> Louis Maher
> Phone: 713-444-7838
> E-mail ljmaher03 at outlook.com
> 
> -----Original Message-----
> From: Louis Maher
> Sent: Tuesday, June 9, 2020 10:10 AM
> To: NFB in Computer Science Mailing List <nfbcs at nfbnet.org>
> Cc: Tracy Carcione <carcione at access.net>
> Subject: RE: [NFBCS] Jaws and shell scripts
> 
> Hello Tracy,
> 
> While I have not programmed since 2015, The SSH windows client SecureCRT "https://www.vandyke.com/products/securecrt/", works well with JAWS.  This will give you VT100 access to Linux.  Using the Linux "screen" program, you can make as many sessions as you wish.  VI is a text editor and works well with SecureCRT which works with JAWS.  Note that you will have to experiment with the Linux cursor to get it to blink as fast as possible so that JAWS can find it.  You may also have to experiment with the shape of the Linux cursor so that JAWS can find it.
> 
> In 2015, JAWS had trouble finding the Putty cursor.  I believe that Vispero is now interested in Putty.  You can ask Vispero about this.
> 
> 
> 
> Regards
> Louis Maher
> Phone: 713-444-7838
> E-mail ljmaher03 at outlook.com
> 
> -----Original Message-----
> From: NFBCS <nfbcs-bounces at nfbnet.org> On Behalf Of Tracy Carcione via 
> NFBCS
> Sent: Tuesday, June 9, 2020 9:53 AM
> To: 'NFB in Computer Science Mailing List' <nfbcs at nfbnet.org>
> Cc: Tracy Carcione <carcione at access.net>
> Subject: [NFBCS] Jaws and shell scripts
> 
> I'm talking with my boss about ways to get out of the backwater we're being swept into.  One possibility is to learn how to write scripts that run on a server to move files around.  He says he uses Bass shell scripting and VI editor for the work.  He also says he uses Putty, which I remember is a kind of terminal emulator and has Jaws scripts.
> 
> Do VI editor and Bass shell script work with Jaws, if anyone knows?
> 
> Thanks.
> 
> Tracy
> 
> 
> 
> _______________________________________________
> NFBCS mailing list
> NFBCS at nfbnet.org
> https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnfbne
> t.org%2Fmailman%2Flistinfo%2Fnfbcs_nfbnet.org&data=02%7C01%7C%7C6f
> cd9b8b7bab4f1c694808d80c8554b5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%
> 7C0%7C637273114067550689&sdata=R3W04marj0Ybx79u4hTRAUROWseketkhiFS
> lGjJuGkY%3D&reserved=0 To unsubscribe, change your list options or 
> get your account info for NFBCS:
> https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnfbne
> t.org%2Fmailman%2Foptions%2Fnfbcs_nfbnet.org%2Fljmaher03%2540outlook.c
> om&data=02%7C01%7C%7C6fcd9b8b7bab4f1c694808d80c8554b5%7C84df9e7fe9
> f640afb435aaaaaaaaaaaa%7C1%7C0%7C637273114067560682&sdata=9lXP83DX
> 0Q4YPUbCA%2Fc38p8GVCyGXOnXbF4nBTtzIQc%3D&reserved=0
> 
> _______________________________________________
> NFBCS mailing list
> NFBCS at nfbnet.org
> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
> To unsubscribe, change your list options or get your account info for NFBCS:
> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/jbar%40barcore.com
> 
_______________________________________________
NFBCS mailing list
NFBCS at nfbnet.org
http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
To unsubscribe, change your list options or get your account info for NFBCS:
http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/charles.vanek%40gmail.com





More information about the NFBCS mailing list