[nfbcs] 2 questions: most accessible text editor/compiler and formatting C++ code

Louis Maher ljmaher at swbell.net
Fri Sep 6 23:00:26 UTC 2013


Hello Jim,

Visual Studio will offer you a choice of line endings.  If you mess up,
remember the old, but still present, dos2linux utility.


Regards
Louis Maher
713-444-7838
ljmaher at swbell.net


-----Original Message-----
From: nfbcs [mailto:nfbcs-bounces at nfbnet.org] On Behalf Of Jim Barbour
Sent: Friday, September 06, 2013 5:35 PM
To: NFB in Computer Science Mailing List
Subject: Re: [nfbcs] 2 questions: most accessible text editor/compiler and
formatting C++ code

Carful about the CR/LF problem.

Windows machines terminate lines with a carriage return, line feed pair of
characters.  UNIX, including Linux, just uses the line feed characters.

Having lines that end in carriage return/line feed can confuse linux
programs.

Jim

On Fri, Sep 06, 2013 at 05:26:11PM -0500, Louis Maher wrote:
> Folks,
> 
> If your Linux System Has Samba, then you can handle files with Windows 
> Explorer, and edit files with Visual Studio. This works well for Linux.
> 
> Regards
> Louis Maher
> 713-444-7838
> ljmaher at swbell.net
> 
> -----Original Message-----
> From: nfbcs [mailto:nfbcs-bounces at nfbnet.org] On Behalf Of Rasmussen, 
> Lloyd
> Sent: Friday, September 06, 2013 1:47 PM
> To: NFB in Computer Science Mailing List
> Subject: Re: [nfbcs] 2 questions: most accessible text editor/compiler 
> and formatting C++ code
> 
> You might want to look into Ed Sharp, an editor written by Jamal 
> Mazrui, which has many functions.  I think you can find it at
>   www.empowermentzone.com/edsetup.exe
> .  If I didn't give the correct address, go to
>   www.nonvisualdevelopment.org
> and look around.  
> 
> Many blind programmers, especially if they are using braille displays, 
> use two spaces as the standard indent amount.  JAWS and Ed Sharp can 
> announce indent levels, and there is also a musical sound scheme for 
> use with JAWS for indicating indent level.
> 
> I have recently been looking at some log files with the UltraEdit text 
> editor.  I set Window-Eyes so that, when pressing down-arrow, speech 
> only reads from the cursor to the right.  By setting the cursor to the 
> correct column, I can hear event names, then look at the left side of 
> the braille display to see at what time they occurred, if I am 
> curious.  There are many ways to increase efficiency, but I don't 
> think two braille displays would be one of them.
> 
> Lloyd Rasmussen, Senior Project Engineer National Library Service for 
> the Blind and Physically Handicapped
> Library of Congress   202-707-0535
> http://www.loc.gov/nls
> The preceding opinions are my own and do not necessarily reflect those 
> of the Library of Congress, NLS.
> 
> 
> 
> -----Original Message-----
> From: nfbcs [mailto:nfbcs-bounces at nfbnet.org] On Behalf Of Tara Annis
> Sent: Thursday, September 05, 2013 12:00 PM
> To: nfbcs at nfbnet.org
> Subject: [nfbcs] 2 questions: most accessible text editor/compiler and 
> formatting C++ code
> 
> Hi everyone,
> 
> Have you all found a text editor and/or compiler  that works well with
JAWS.
> I'm currently using VIM that works okay, but  I thought there might be 
> something more Windows based  like Microsoft  Visual (think that's the 
> name).  I've  been using notepad and then cut/pasting the code into 
> the compiler.
> I don't like having to use the HJKL keys to move up/down in VIM since 
> it seems to mess up  JAWS. I'm currently writing C++ code, but  will 
> be moving on to C, JAVA,  and PERL.
>   
> A second question: when writing C++ code, how do you all format it, 
> specifically the blocks of code nested in other blocks?  For example,
when
> you are writing a series of if else statements.    How many spaces do  you
> indent this portion of the code?  Also, do you indent the opening and 
> closing braces or just the code between them?  I can explain in  more 
> depth if needed.
> Any help will be greatly appreciated.
> Tara
> 
> 
> _______________________________________________
> 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/lras%40loc.gov
> 
> _______________________________________________
> 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/ljmaher%40swbell.ne
> t
> 
> 
> _______________________________________________
> 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/ljmaher%40swbell.net





More information about the NFBCS mailing list