Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Long lines wrap poorly in SSH

Featured Replies

This doesn't happen in any other *nix machines I use except for UnRAID.

 

When in an SSH session and I reach the end of the line, instead of line-wrapping to the next line, it jumps forward, much like when you're using nano and cursor to the edge of a long line.

I can't figure out how to change this behavior.  I often will SSH into the machine to move large files around or do other tasks more easily done with the command line.  Because of the file structure I use, I often have paths that are rather long (example: /mnt/user/Video/TV/Star\ Trek\ The\ Next\ Generation\Season\ 01/Star\ Trek\ TNG\ S01E01-Encounter\ at\ Farpoint\ Part\ 1.avi) 

Once I get past the "edge" of the terminal, the line jumps forward and I can't see what I've already typed (to check for errors) and I can't back up (with cursors or backspace) past the point of the "jump."

Can anyone direct me to the setting that will make the terminal session behave like all my other *nix (OSX, Mint, Ubuntu, Raspbian) terminal sessions?

Edited by 2twisty

  • Community Expert

What are you using for a terminal emulator?  With PuTTY, I have to make the terminal window wider on my Windows 7 computer to get rid of 'wrap' issues.

  • Author

I am using Linux Mint.  I open an xTerm and use the command line SSH app.  The problem can't be in the terminal app I'm using since I don't get this behavior with any other *nix system I've connected to.  Only unRAID.

 

  • Community Expert

Apparently, there is a version of PuTTY for Linux.  You can find it by googling "PuTTY for linux".  Looking at a couple of items listed, I noticed that one said that PuTTY had several features which xTerm does not support.  You might want to try PuTTY.  (It has been a long time (try 30 years) since I was involved with terminal emulation problems but I seem to remember, you had to setup whatever Shell program (in unRAID's case-- BASH) to tell it what terminal emulation you were going to be using. Or do the converse and setup the emulator to the emulation that the shell was expecting.)

  • 3 weeks later...

I'm having this same issue, putty on Windows 10, also happens with Windows 7.

  • Community Expert
57 minutes ago, chaosratt said:

I'm having this same issue, putty on Windows 10, also happens with Windows 7.

Did you try making the window wider.  You might have to re-run the command to see if that fixes the issue. 

THe line wraps about halfway across the window, regardless of how wide it is. It also wraps *onto the same line* not the line under it, which causes the command to overwrite itself. For example, running a simple mv command with full pathing is impossible, same goes for some long one-off docker commands.

  • Community Expert

Have you changed the settings?  See screen capture.  Don't be afraid to play around a bit.

Capture.JPG

It's set to defaults, which work perfectly fine on many other linux servers and VMs, just Unraid that has the issue. The settings look exactly the same as your pic, except the columns and rows change to match the window size. its almost as if something server-side is not registering or acknowledging the new size.

  • Community Expert

You do realize that you can change the settings and save that new configuration as a 'Saved setting'.  If you have the IP address included in that Saved session, it will automatically bring up the terminal window as soon as you click the 'Open' button.  You can have one for every device/server/VM that you need to log into.   It has been a long time since I have had to play around with the settings so I am no expert on them.

I'm not sure what the point would be. I use keys to log into all my devices, and nothing else exhibits this issue with the default putty settings.

this has always happened to me in terminal on osx. i always thought it was the normal.

Intermittently I see it in Putty.  When it does do it, I make a new connection and maximize the window before logging in.

  • 1 year later...

I'm surprised no one has an answer to this issue. I guess not that many use ssh on unraid. This is a problem with only unraid and I am also searching for a solution. Ignore the guy above who is fixated on putty. That will not resolve this issue witch is an unraid terminal issue only. It is server side.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.