March 8, 201016 yr Besides 'vi' in unRAID, is there an alternative builtin into the system that can be used? 'vi' is cumbersome and I remember some Linux distros have 'pico' or 'nano', but unRAID doesn't have them. 'vim" is great too, any knowledge of other text editors? thanks.
March 8, 201016 yr I do all my text edition with midnight commander. It's the easyest way : navigate through the files, select the right one and hit F4.
March 8, 201016 yr I remember some Linux distros have 'pico' or 'nano', but unRAID doesn't have them. You can get nano from here: ftp://slackware.osuosl.org/pub/slackware/slackware-current/slackware/ap/nano-2.2.3-i486-1.txz Then in your 'go' script add this line: installpkg /path_to_the_package/nano*.txz
March 9, 201016 yr Author Thanks 'purko' for the steps on installing nano. I've never tried 'mc' though I've heard of it, and it is better than nano, kind of like a two plane file browser with multiple functions. Thank you both 'purko" and 'jupilerman'. I do all my text edition with midnight commander. It's the easyest way : navigate through the files, select the right one and hit F4.
October 18, 201015 yr bumping this thread because it helped me install nano... using this post here Hi, I've compiled a little list of package installers for my personal use, and decide to share them here. 1) USB Automount for labeled drives: automount usb drives with labels under /mnt/disk/LABEL, included is NTFS-3G v. 2010.3.6; http://gfjardim.googlecode.com/files/usb_automount-0.1-i486-unRAID.txz 2) Nano Editor v. 2.2.4; http://gfjardim.googlecode.com/files/nano-2.2.4-i486-unRAID.txz 3) TAR v. 1.23; http://gfjardim.googlecode.com/files/tar-1.23-i486-unRAID.txz I was able to wget nano, I then put it in my go script. mc is nice, but for a quick edit or to make a file nano is the way to go. I couldn't figure out VI and for a noob like me it was way over my head at a noob level/ -=Jason=-
January 28, 20233 yr Nano does not show the line number, so how do I know what line I am on? At the bottom of nano shows "CTL /" to select go to line. But it doesn't work when I enter in line 448. Edited January 28, 20233 yr by Vetteman
May 16, 20242 yr On 1/29/2023 at 6:38 AM, Vetteman said: Nano does not show the line number, so how do I know what line I am on? At the bottom of nano shows "CTL /" to select go to line. But it doesn't work when I enter in line 448. ctrl c can show line number
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.