0be2c39501
Improve some error messages, handle source command output through local out/err, that way output can be copied with pb source ....
Oleksandr Kozachuk
2022-12-18 13:38:39 +01:00
602cac9500
Differentiate in printer between error print and output print.
Oleksandr Kozachuk
2022-12-18 13:21:09 +01:00
1234c79db1
Basic support of remembering correct passwords is implemented.
Oleksandr Kozachuk
2022-12-17 21:29:59 +01:00
573567928c
Add command unpass to forget saved password for a specific name.
Oleksandr Kozachuk
2022-12-17 20:13:02 +01:00
5ef5ef20ec
Allow set the path to history and init file with env variables: LESSKEY_HISTORY and LESSKEY_INIT.
Oleksandr Kozachuk
2022-12-17 20:05:57 +01:00
982e3c3de3
Expand file name on source (tilde and environment variables).
Oleksandr Kozachuk
2022-12-17 19:28:35 +01:00
e05d98b2ba
Add source command and prepare to expand the file names in source command.
Oleksandr Kozachuk
2022-12-17 15:58:41 +01:00
9347bc3972
Implement possibility to copy output of commands to paste buffers.
Oleksandr Kozachuk
2022-12-17 14:54:16 +01:00
6286ce4238
Extent ls to match name and comment extra, it simplify search like: ls ^fld1
Oleksandr Kozachuk
2022-12-17 11:48:33 +01:00
a55e883eda
Move LKEval::news to test section, to avoid unused warning.
Oleksandr Kozachuk
2022-12-16 20:55:23 +01:00
72cb38929b
Now it is possible to use row number from last ls output, instead of the name to reffer passwords.
Oleksandr Kozachuk
2022-12-12 13:26:50 +01:00
a4a9c2afd0
Refactor ls command, to use password structure for sorting, also required for ls cache.
Oleksandr Kozachuk
2022-12-12 12:58:26 +01:00
5ad06ecf5b
Start counter on ls with 1 and fix the tests.
Oleksandr Kozachuk
2022-12-12 12:44:09 +01:00
15bb09822a
Fix sorting in l command.
Oleksandr Kozachuk
2022-12-12 12:34:26 +01:00
ac01307421
Refactor ls command, to move the code to a separate function and display the line number in 36 radix, as preparation to remember the output. Sort currently not work any more.
Oleksandr Kozachuk
2022-12-11 16:23:22 +01:00
f4e20f821c
Add ls hashmap to LK state, to remember displayed rows, to refer them later.
Oleksandr Kozachuk
2022-12-11 16:22:04 +01:00
c8080b9856
Add Radix structure to convert number to any radix up to 36.
Oleksandr Kozachuk
2022-12-11 16:21:17 +01:00
dd85460b69
Add possibility to add password name with default just in one short command: a <name>
Oleksandr Kozachuk
2022-12-11 15:46:56 +01:00
ad920e8f05
Add support for the camel case mode, instead of regular mode.
Oleksandr Kozachuk
2022-12-11 15:20:52 +01:00
681ce3db23
Implement password encoding with given secret.
Oleksandr Kozachuk
2022-12-11 15:00:04 +01:00
c06c7aa9e6
Add to_hex and to_b64 methods to SKey.
Oleksandr Kozachuk
2022-12-11 12:15:31 +01:00
2454d91a0e
Add htop to the replit environment.
Kiyomichi Kosaka
2022-12-11 10:05:47 +00:00
a944b6e389
Remove dependency on password structure in skey module.
ok210
2022-12-11 10:04:49 +00:00
a6be3a5cfc
Fix skey, the tests are working now.
Oleksandr Kozachuk
2022-12-10 20:37:19 +01:00
2ad8d25d2e
Small fixes in tests.
Oleksandr Kozachuk
2022-12-10 16:26:45 +01:00
8c3536da16
Add first implementation of skey.
Oleksandr Kozachuk
2022-12-10 16:04:09 +01:00