July 21, 201114 yr Was reading this and got Nano installed http://lime-technology.com/forum/index.php?topic=5558.0 I've got this in my GO script installpkg /boot/packages/nano-2.2.4-i486-1.txz but when I go to launch Nano while SSH'd in using Terminal on Mac, I get the following error: Error opening terminal: xterm-color. Reading up on this error, I thought Lion would fix it since it now supported 256 color term but nope: Error opening terminal: xterm-256color. This has to be a small setting I'm missing as it works on the box directly. Anyone know? Thanks.
August 8, 201114 yr After you ssh into your UnRAID box, type: export TERM=xterm Then you should be able to run nano.
August 8, 201114 yr After you ssh into your UnRAID box, type: export TERM=xterm Then you should be able to run nano. or, on your mac, set "terminal" to emulate "xterm" instead of xterm-color/
August 8, 201114 yr Author After you ssh into your UnRAID box, type: export TERM=xterm Then you should be able to run nano. Thx this worked! Joe L. - setting it to just xterm came up with the same error but I may have had to restart Terminal (which I can't do right now, preclearing a drive)
August 9, 201114 yr After you ssh into your UnRAID box, type: export TERM=xterm Then you should be able to run nano. or, on your mac, set "terminal" to emulate "xterm" instead of xterm-color/ I use terminal to connect to a number of different systems and don't like have my terminal emulation type defined in my Mac's Terminal.app preferences. Rather, I prefer to setup my terminal emulation on the system that I'm logging into. For UnRAID, I created a script called 'create_bash_profile.sh' which includes the following: ############################################################################## # set the terminal type for any future login by the root user echo "export TERM=xterm" >> /root/.bash_profile ############################################################################## I then added that script to my go config file: ############################################################################## # Run my scripts /boot/scripts/create_bash_profile.sh ############################################################################## Now, any time I reboot my system (or run my go script), a .bash_profile is created for the root user. Whenever I log in as the root user the .bash_profile script is run and sets up my terminal emulation type. yeah. Of course, you can add other useful things in the script as well.
August 10, 201114 yr Mac users, I highly recommend using this free terminal replacement: http://www.iterm2.com
August 11, 201114 yr Author Mac users, I highly recommend using this free terminal replacement: http://www.iterm2.com Excellent. Never saw that before, gonna check it out. Thx.
September 6, 201114 yr If you still want to use the Mac Terminal, you can more simply go to Preferences->Settings->Advanced and change "Declare Terminal as: " to xterm, so you don't have to type "export TERM=xterm" each time you login.
September 12, 201114 yr All you need to do is install ncurses, now doing this on all my linux builds.
Archived
This topic is now archived and is closed to further replies.