Subj : Nano To : Mike Powell From : Barry Martin Date : Wed Sep 11 2024 07:35:00 Hi Mike! > > Ctrl_Z might be useful: in LibreOffice it will clear the last 'section' > > entered, though sometmes I'm not sure what it considers a section so may > > have to Ctrl_Z more than once. > EV> CTRL-Z is called Undo. > That'll work! Nano, a terminal editor in Linux, uses ^K to Kill a line > and ^U to paste it back in, or Undo. ...With the BBS stuff on Virtual > Windows I use SEdit for the word processor and ^Y is the line killer and > ^U is Undo. -- Have to be careful to remember where one is!! MP> Can you use that key sequence to effectively cut and paste the MP> text elsewhere, or does the ^U always put it back in the place MP> where it was killed from? From my limited experience it's always the line the cursor is on. The thing to watch is sometimes there seem to be two cursors: thea real one and the one where I think I am because I moved some place. Not sure how to explain it but I've managed to do the I thought I was here thing. To move a line I've ^K (kills/deletes the whole line), then move to desired location and ^U to insert there. I've also done a ^K^U^U sequence: kills the line, replaces it and then places it immediately underneath (the result is two duplicate lines). For me handy when playing with stuff like fstab and scripts where I want a copy of the original line (for comparison, history) and modify the new one. Example: # RAM drive of 50 MB # tmpfs /mnt/ramdisk tmpfs rw,size=50M 0 0 tmpfs /mnt/ramdisk tmpfs rw,size=5G 0 0 50 Mb wprked but not large enough. G option should work - yup! If didn't easy enough to go back. MP> I used to know nano pretty well when it was the default editor MP> for email and news postings on my old shell account ~30 years MP> ago. I am trying to relearn it now. ;) It should come back like riding a bike: scraped kneeds and all! Expand the Terminal screen to larger/full size: there are a whole bunch of other options! ^W "Where" -- how-come not ^F for "Find"? I sort of use Where's Waldo to remind me of W For line numbering it's something like ALT_Shift_# (or 3) -- I don't use it that often. Have found sometimes the line numbers in an error message don't line up. 'Error line 30' might not be close, but could be because I tend to use a lot of comments, separators (series of ##########), and blank lines -- just to make it more readable. ¯ ® ¯ BarryMartin3@MyMetronet.NET ® ¯ ® .... Awkward moments: don't know if have free time or forgot to do something. --- MultiMail/Win32 v0.47 þ wcECHO 4.2 ÷ ILink: The Safe BBS þ Bettendorf, IA --- QScan/PCB v1.20a / 01-0462 * Origin: ILink: CFBBS | cfbbs.no-ip.com | 856-933-7096 (454:1/1) .