Re: text editor in piCore

RobbH <RobbH.aulutb-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]> Mon, 28 Nov 2022 15:01:18 +0000
Newsgroups gmane.music.equipment.slimdevices.general
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
dmozell wrote: 
> I wanted to look at the contents of a few files in piCore to see how the
> Samba implementation works. I used ssh to get in and found the files I
> wanted (fstab, smb.conf). Nano was not present. Maybe there's another
> text editor. I was still able to see the contents by copying the files
> to the shared drive and then opening that in windows, but I'm guessing
> they just put in an alternate editor. Thanks

Nano can be installed. Check "Extensions" from the pCP main page.

I think the vi editor is pre-installed. It's a good editor to know, but
if you have never used it before, it is frustrating and
counter-intuitive. Fortunately, plenty of guides to vi are available
online.

Also, there is a text file viewer -- not an editor -- called less. I
think it is pre-installed on pCP. And it's much more intuitive than vi!



Usually running latest beta LMS nightly on Raspberry Pi OS with virtual
players (Squeezelite and Airplay bridge). Occasionally using SB Radio,
Boom or Classic.
------------------------------------------------------------------------
RobbH's Profile: http://forums.slimdevices.com/member.php?userid=67008
View this thread: http://forums.slimdevices.com/showthread.php?t=117137