[sf-lug] NEED INFO ABOUT BOOT SECTOR, SPACE LIMITS

Alex Kleider akleider at sonic.net
Mon Jul 31 09:04:00 PDT 2017


On 2017-07-30 23:34, Rick Moen wrote:

> For terminal commands, what's a great deal better is a transcript,
> preferably pruned of any irrelevant chunks.  To record one, use
> 'script'.  Here's how it works:


Not being familiar with 'script' I gave it a try with the following 
results:

Script started on Mon 31 Jul 2017 08:53:19 AM PDT
^[[?25h^[[0G^[[K^[[?25h^[[0G^[[K^[]0;alex at X301n3:
~/Py/TDD/Percival/superlists/lists^Galex at X301n3:~/Py/TDD/Percival/superlists/lists$
python3^M
Python 3.4.3 (default, Nov 17 2016, 01:11:57) ^M
[GCC 4.8.4] on linux^M
Type "help", "copyright", "credits" or "license" for more
information.^M
>>> import math^M
>>> p^H^[[Kmath.pi^M
3.141592653589793^M
>>> exit()^M
^[]0;alex at X301n3:
~/Py/TDD/Percival/superlists/lists^Galex at X301n3:~/Py/TDD/Percival/superlists/lists$
exit^M
exit^M

Script done on Mon 31 Jul 2017 08:53:53 AM PDT

My question is why all the '^M's and '^['s?  (..representing control 
characters I assume.) The output would be better off without them, me 
thinks.

alex



More information about the sf-lug mailing list