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.

^M in vi anyone else getting this problem

Featured Replies

I find the vi on unRAID really weird. It seems to work just like vim which i am used to but is differernt enough to be annoying. The main rason i post though is i find that vi seems to be adding ^M in as line returns.

 

Anyone else seeing this?

I find the vi on unRAID really weird. It seems to work just like vim which i am used to but is differernt enough to be annoying. The main rason i post though is i find that vi seems to be adding ^M in as line returns.

 

Anyone else seeing this?

no

I think I've seen that before when I edited a script on my windows machine and dropped it back in unRAID.  I fixed that by using Notepad++ which can save the file in UNIX format (Select between Windows/UNIX/Mac in the format menu).  If you mean it is simply adding ^M as you edit within vi, I haven't seen that.

  • Author

yup in vi no where near windows.

 

in fact i just uploaded the go script from the 4.3.3 zip file as a test. It is full of windows ^M carriage returns. No one else sees this... weird.

yup in vi no where near windows.

 

in fact i just uploaded the go script from the 4.3.3 zip file as a test. It is full of windows ^M carriage returns. No one else sees this... weird.

They are there in the original "go" script, vi is not adding them, just showing you they are there.  Tom did that to make it easier for users to edit the script in windows notepad.

 

The "go" script is passed through the "fromdos" filter to remove the CTL-M's before being interpreted as /var/tmp/go in /etc/rc.d/rc.local.

rc.local:# Invoke the 'go' script

rc.local:if [ -f /boot/config/go ]; then

rc.local:  fromdos </boot/config/go >/var/tmp/go

rc.local:  chmod +x /var/tmp/go

rc.local:  /var/tmp/go

 

  • Author

thanks joe that explains alot.

That explains the issue i've been having as well (using windows for script editing and seeing all kinds of wierdness when it gets to the box)

 

I'll get notepad++ tonight!

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.