Announcement

Collapse
No announcement yet.

strange linebreak issue in Konsole

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    strange linebreak issue in Konsole

    Hi guys,

    recently I tried to improve my Konsole with some coloring (i.e. giving the prompt a different color to pick it out easier when there is lot of output) by modifying my .bashrc, but ever since I get a strange problem when I type anything in the konsole which is longer than my current width of the window. Then it just overwrites the first characters of the line instead of adding a linebreak and continuing on the new line. (see the attached screenshot)
    Any ideas on this?

    Cheers,
    cornelius
    Attached Files

    #2
    Re: strange linebreak issue in Konsole

    Nope, who knows what you did to your .bashrc. But I'm sure you kept a copy of the original If not, try mine (attached as a txt file). It also has the colour thingy enabled and a couple of other shortcuts which you can adapt/scrap. It should in any case get rid of your problem...
    Attached Files
    Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

    Comment


      #3
      Re: strange linebreak issue in Konsole

      I change the colour/transparency/background image in 8.10 by using Edit>Preferences>Appearance and Colours
      "A problem well stated is a problem half solved." --Charles F. Kettering
      "Sometimes the questions are complicated and the answers are simple."--Dr. Seuss

      Comment


        #4
        Re: strange linebreak issue in Konsole

        Yeah, but this is different, arochester. Have a look at your ~/.bashrc - it determines how your bash behaves and there is an option for coloured fonts (files are normal, directories blue and bash prompt green) and a whole lot of other stuff. I have for example added a number of aliases so instead of typing ls -la all the time I now do lla and get the same result.

        If you do decide to play around with it you will find that it can make life on the CLI a much more pleasant experience. To activate your new .bashrc type
        Code:
        source .bashrc
        Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

        Comment


          #5
          Re: strange linebreak issue in Konsole

          Jo, thanks toad, I will have a look into this tomorrow and keep you posted on the success. I have to admit, that I'm a bit confused about the influence of .bashrc vs. settings in Konsole (GUI-based) and the different type of shells (I have among others an entry "shell" and "linux console" in Konsole's "Session" menu. Is the first one GNU Bash? I mean, .bashrc should only have an effect on this, or am I mistaken? Where are the settings I make in Konsole's GUI stored and how do the correspond to .bashrc)

          Cheers and good night,
          cornelius

          Comment


            #6
            Re: strange linebreak issue in Konsole

            I hardly ever use konsole (prefer yakuake), so treat my comments with care, but afaik you determine how konsole looks. No more, no less. .bashrc on the other hand lets you dictate how the bash acts regardless of the programme you use to call it up (be it konsole, yakuake, etc.).
            Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

            Comment

            Working...
            X