Is it possible to make nano wrap on $ on very long lines?
I regularly have to check log file and then copy and paste the contents into an email for example (I want to use mouse select - Ctrl U does work but it is cumbersome especially with lots of lines) but all I can copy and paste is what is visible on the screen which means that often the most important parts of lines in the exim log, for example, are left behind.
I have commented out the line "set nowrap" and uncommented set fill -8 in /etc/nanorc to no avail. I also tried starting nano with
nano -Ws$ file.log
and also
nano -r60 file.log
but it makes no difference and the lines with $ still take up more than I can see and therefore copy. Can it be made to wrap on the $? If not, is there another easier way of working with log files from the command line?
Thanks