How to display an 80 character line length on my Android phone

Advert

How to display an 80 character line length on my Android phone

Home Forums The Tea Room How to display an 80 character line length on my Android phone

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #600572
    Greensands
    Participant
      @greensands

      .Hi – I know that this may be somewhat off topic but from past experience I know that there will be members on the forum who may be able to help me on this one. I would like to be able to use my Android phone to display some computer code using an 80 character line length in place of the 40 character line as set at present. Can anyone please advise me on how this can be done.

      Advert
      #36869
      Greensands
      Participant
        @greensands
        #600607
        Michael Gilligan
        Participant
          @michaelgilligan61133

          I don’t know the answer, but I’m responding just to bump your request back up the list.

          My first thought was: it must depend upon whether your screen resolution will support any legible font at 80 characters per line … but your question may be more subtle than that.

          MichaelG.

          #600613
          Paul Lousick
          Participant
            @paullousick59116

            This is not a model engineering question and it would be better to try a search on Google for an answer.

            Like this one: **LINK**

            #600619
            Michael Gilligan
            Participant
              @michaelgilligan61133

              Sorry, Paul … your link appears to be almost totally irrelevant to the question

              MichaelG.

              #600624
              Greensands
              Participant
                @greensands

                The post was made in the interests of being able to develop my wokkshop CAM procedures whilst enjoying a few days away from home.

                #600625
                Gerard O’Toole
                Participant
                  @gerardotoole60348

                  The answer will depend on what App you are using to display the code

                  My android phone has an App, Notepad, which allows me to adjust the font size by 'clicking' on the characters/line and then selecting Font, and a slider allows me to adjust the size.

                  Can you give us a little more information on the App you are using ?

                  Edited By Gerard O’Toole on 05/06/2022 07:54:41

                  #600632
                  Greensands
                  Participant
                    @greensands

                    .Hi Gerard – To avoid ruffling any feathers I will send you a pm to answer your query.

                    #600768
                    Gerard O’Toole
                    Participant
                      @gerardotoole60348

                      Reg, PM replied to Gerard

                      #600780
                      Oldiron
                      Participant
                        @oldiron
                        Posted by Greensands on 05/06/2022 08:35:03:

                        .Hi Gerard – To avoid ruffling any feathers I will send you a pm to answer your query.

                        Dont worry abouit ruffled feathers. I would be interested in the answer. The Tea Room is for questions & answers on any topic and is not limited to engineering or modelling topics.

                        regards

                        #600795
                        Gerard O’Toole
                        Participant
                          @gerardotoole60348
                          Posted by Oldiron on 06/06/2022 10:13:18:

                          Posted by Greensands on 05/06/2022 08:35:03:

                          .Hi Gerard – To avoid ruffling any feathers I will send you a pm to answer your query.

                          Dont worry abouit ruffled feathers. I would be interested in the answer. The Tea Room is for questions & answers on any topic and is not limited to engineering or modelling topics.

                          regards

                          Sure. , My reply was as follows:-

                          I don't see any way of specifying exactly 80 characters. On my phone the character size changes in about 6 steps so i can approximate 80 characters but only when the phone is in held landscape mode. i.e. left to right and not holding it upright

                          I'm afraid i cannot find anyway of specifying exactly 80 characters in notepad

                          The setting remains set to the last setting I use, i.e. approx 80 if i set it that size.

                          If you could save your text in a pdf file with 80 character line length then that should display as 80 characters but perhaps pdf doesn't suit your needs.

                          Sorry cannot be of more help

                          #600945
                          Ed Duffner
                          Participant
                            @edduffner79357

                            Hi Greensands, which program, with the 40 char wide limit, are you currently using to view the code?

                            Ed.

                            #600963
                            Russell Eberhardt
                            Participant
                              @russelleberhardt48058

                              Have a look at "Code Editor – Compiler & IDE" in Google Play. Be careful though as it requires permissions to edit any file in your device!

                              Russell

                              #600964
                              Oldiron
                              Participant
                                @oldiron
                                Posted by Gerard O'Toole on 06/06/2022 12:44:56:

                                Posted by Oldiron on 06/06/2022 10:13:18:

                                Posted by Greensands on 05/06/2022 08:35:03:

                                .Hi Gerard – To avoid ruffling any feathers I will send you a pm to answer your query.

                                Dont worry abouit ruffled feathers. I would be interested in the answer. The Tea Room is for questions & answers on any topic and is not limited to engineering or modelling topics.

                                regards

                                Sure. , My reply was as follows:-

                                I don't see any way of specifying exactly 80 characters. On my phone the character size changes in about 6 steps so i can approximate 80 characters but only when the phone is in held landscape mode. i.e. left to right and not holding it upright

                                I'm afraid i cannot find anyway of specifying exactly 80 characters in notepad

                                The setting remains set to the last setting I use, i.e. approx 80 if i set it that size.

                                If you could save your text in a pdf file with 80 character line length then that should display as 80 characters but perhaps pdf doesn't suit your needs.

                                Sorry cannot be of more help

                                Thankyou Greensands.

                                regards

                                Edited By Oldiron on 07/06/2022 16:46:43

                                #600974
                                SillyOldDuffer
                                Moderator
                                  @sillyoldduffer

                                  Judging by this review of 7 code editors that run on Android phones, none of them do what Greensand's wants. All the screen shots show text being chopped off at about 40 characters, making it necessary to scroll the screen. May be a limitation of the display. This example is typical:

                                  Never done any Android development myself, but I believe most Android code is developed on a PC, either windows or Linux and mainly debugged on a emulator. Only in the last stage does the program get to run on a phone. Many advantages in developing on a PC, not least they have big screens!

                                  Dave

                                  #600997
                                  Russell Eberhardt
                                  Participant
                                    @russelleberhardt48058

                                    Posted by SillyOldDuffer on 07/06/2022 17:38:11:

                                    Many advantages in developing on a PC, not least they have big screens!

                                    Dave

                                    Yes, my phone will display an 80 character line but I need a magnifying glass to read it. My favorite editor for code is gedit running on Linux. It includes syntax checking for most common programming languages.

                                    Russell

                                    #601163
                                    Bazyle
                                    Participant
                                      @bazyle

                                      What happens to SOD's example if you rotate the display 90 degrees?

                                      #601347
                                      SillyOldDuffer
                                      Moderator
                                        @sillyoldduffer
                                        Posted by Russell Eberhardt on 07/06/2022 20:05:48:

                                        Posted by SillyOldDuffer on 07/06/2022 17:38:11:

                                        Many advantages in developing on a PC, not least they have big screens!

                                        Dave

                                        … My favorite editor for code is gedit running on Linux. It includes syntax checking for most common programming languages.

                                        Russell

                                        I like gedit too, but kate is better if you want to manage multiple files in one project. Recently I started using geany, not sure why but I subconsciously prefer it to kate. For single files I almost always use gedit.

                                        In the good old days programmers argued ferociously about emacs versus vi. A religious debate that sometimes ended in an actual punch up! Both powerful rather than easy to use. I never got on with emacs, even though everyone agreed vi is short for 'vile'.

                                        vi's latest incarnation is vim, quite hard to learn, but for certain rare types of edit it kicks the euphemism out of GUI editors.

                                        Dave

                                      Viewing 18 posts - 1 through 18 (of 18 total)
                                      • Please log in to reply to this topic. Registering is free and easy using the links on the menu at the top of this page.

                                      Advert

                                      Latest Replies

                                      Home Forums The Tea Room Topics

                                      Viewing 25 topics - 1 through 25 (of 25 total)
                                      Viewing 25 topics - 1 through 25 (of 25 total)

                                      View full reply list.

                                      Advert

                                      Newsletter Sign-up