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.

Can't edit files?

Featured Replies

I am a newb here, with linux and unraid... so be gentle ;-)

 

I am trying to install avahi and eventually add my unraid server as an afp mount. I am trying to do this for several reasons... speed increase, stability increase, time machine.

 

I have been following the instructions in this thread: http://lime-technology.com/forum/index.php?topic=4173.0

 

I am trying to simply create a file via vi from step 2 and I get this message:

 

vi: xterm-color: unknown terminal type

 

... tried pico, nano, emacs, etc... nothing is working..

 

Is it necessary to install these on the machine? I am connecting via telnet in Terminal on OSX 10.5.

 

Thanks in advance.

 

 

I am a newb here, with linux and unraid...

 

vi: xterm-color: unknown terminal type

 

... tried pico, nano, emacs, etc... nothing is working..

 

A "newb" who uses vi and emacs??

You, my friend, are top contender for the "newb of the year" award!  ;D 

 

By the way, how exactly did you try nano?

 

If by that you mean you couldn't, because it wasn't there, then here's how you can remedy that:

In your terminal window type these lines:

wget ftp://slackware.osuosl.org/pub/slackware/slackware-12.2/slackware/ap/nano-2.0.9-i486-1.tgz
installpkg  nano*.tgz
nano --help

 

Purko

 

 

I am a newb here, with linux and unraid... so be gentle ;-)

 

I am trying to install avahi and eventually add my unraid server as an afp mount. I am trying to do this for several reasons... speed increase, stability increase, time machine.

 

I have been following the instructions in this thread: http://lime-technology.com/forum/index.php?topic=4173.0

 

I am trying to simply create a file via vi from step 2 and I get this message:

 

vi: xterm-color: unknown terminal type

 

... tried pico, nano, emacs, etc... nothing is working..

 

Is it necessary to install these on the machine? I am connecting via telnet in Terminal on OSX 10.5.

 

Thanks in advance.

 

 

 

If you get this message on your mac it is because you are using "normal" Terminal to do the telnet.  If you have installed X11 on your mac (it is an optional install I think; can't remember for sure as I always install it anyway) you can then launch X11 and use the Terminal application in that environment.  vi and the like will work from there just fine.  I almost always try to use the X11 Terminal to telnet/ssh into my unRAID machine as it allows for vi and stuff to work.

From your error message, it looks to me as if the terminal type of "xterm-color" is not defined in unRAID.

 

Instead of it, just set the terminal type to "xterm" and try again

 

Once you log in type:

TERM=xterm

export TERM

 

Then try "vi" again.

 

Joe L.

  • Author

Thank you for all your suggestions. I will try each one tonight. I hadn't thought of trying X11 Terminal. Also thanks purko, yes I mean that exactly... it wasn't there. I like nano as it is very straightforward, and thanks for the sample on how to install it.  :)

  • Author

Got it working now! I installed nano and still got the xterm error... so I did as recommended and it worked perfectly. Thanks again. :D

And by the time you get to the end of that guide, you'll figure out that you didn't really need nano.

Because, you'll discover, the guy tells you to store that file on your flash key. (/boot/...)

And since the flash key gets exported over Samba, you could have edited it from any computer.

 

 

  • Author

D'oh!

 

And by the time you get to the end of that guide, you'll figure out that you didn't really need nano.

Because, you'll discover, the guy tells you to store that file on your flash key. (/boot/...)

And since the flash key gets exported over Samba, you could have edited it from any computer.

 

 

  • 6 months later...

I hate to resurrect a dead thread like this, but I do have one question.  I prefer to use nano as well when editing files via telnet and using the:

 

TERM=xterm

export TERM

 

works, is there a way to set it up so that I do not have to type that in every time I telnet to unRAID?  This is through the telnet command in the terminal on a mac.  Thanks.

  • 1 month later...

Yet another revitalisation of an old thread, for which I apologize.

And since the flash key gets exported over Samba, you could have edited it from any computer

For many files this is true, of course. Unfortunately I cannot reach the files in e.g. /etc/netatalk from OSX's browser. Probably I'm missing a very obvious point here, but I would be very grateful for pointers how to also edit files stored in that location without using Terminal.

 

Thanks a lot!

 

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.