Releases: google/textfsm
Releases · google/textfsm
Updated Terminal Pager
Fixed multiple issues with textual Pager:
- First line of output was not being displayed (off by one error).
- SetLines was being ignored. Page size was fixed to terminal size.
- Only every 2nd 'enter' key was registered by tty.read, switched to using 'n' key instead.
- Prompt string did not truncate on narrow terminals
- Added paging support for MS Windows terminals
- Pager no longer exits automatically at end of buffer
- Fixes day-one issue of non displaying empty lines
- Correctly handles files smaller than the terminal
Update Terminal functions
Makes use of shutil library for terminal operations.
Maintenance Release
Fix to mismatched parenthesis.
Maintenance release
Minor string handling change for windows platforms
Minor fixes
Value parse (#68) * Fix parsing of value string to allow mismatched parenthesis inside [] brackets. * Improve readability of value parse fix. * Added additional test. * Soft fail when fcntl is missing, fallback to default screen size.
Python v2 and v3 compatible
Python v3 (#55) * Per 'http://python-future.org/automatic_conversion.html' py2 & py3 compatibility. * Make sure test fails if there is more than one list entry. * Fix deprecated warning for invalid escapes. * Support utf-8 in template files * Add utf-8 characters to a test example * Unicode example in template input. * Switch to utf-8 strings and remove unnecessary conversions. * Remove legacy lint checks * Migrate StringIO and remove unneeded import six. * Remove unnecessary explicit unicast declaration. * oll back changes to 'open'. * Cosmetic linting. * Package 'future' needed for importing builtins. [aliases] test=pytest * Add tests and testdata to distribution. * Use correct install_requires stanza for dependencies. * Include testdata files in binarty dist for tyesting.
Update to Installation
No changes, only updates to installation requirements.
Nested List Values
Support nested List values
e.g.
Value List foo ((?P\w+):\s+(?P\d+)\s+(?P\w{2})\s*)\n
Add input line numbers to error messages.