January 28, 201016 yr 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.
January 28, 201016 yr 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! 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
January 28, 201016 yr 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.
January 28, 201016 yr 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.
January 28, 201016 yr 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.
January 29, 201016 yr 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.
January 29, 201016 yr 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.
January 29, 201016 yr 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.
August 2, 201015 yr 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.
September 29, 201015 yr 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.