pwman

Changes On Branch tweaks
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Changes In Branch tweaks Excluding Merge-Ins

This is equivalent to a diff from 91957153ef to 8ed8a2d99f

2017-08-19
15:04
Add ruler below password to aid visual selection of individual chars

Been meaning to do this for AGES and I just never got around to it (I
always assume doing anything in C is going to be hard and it's just not
always the case). Anyway, did today.

This just adds a ruler/counter below the password field like so:

Password: djdhhfhfkjhfuwhuifbvcnotrealmdsnwehbweha
1234567890123456789012345678901234567890

Which is a huge help for logins that say something along the lines of
"Enter character 15, 23 and 31".

God knows why I still use this password manager. Securty through
obscurity I guess. Leaf check-in: 8ed8a2d99f user: base@atomicules.co.uk tags: trunk, tweaks

2014-05-15
22:23
Merge branch 'manualheaven' into tweaks Leaf check-in: 91957153ef user: base@atomicules.co.uk tags: origin/tweaks, trunk
22:18
Remove file that isn't used anyway

Just never knew that until moved away from autohell Leaf check-in: 29163ef9b2 user: base@atomicules.co.uk tags: manualheaven, trunk

2014-05-13
20:40
Avoid getting stuck in a loop when moving items

I have a habit of hitting m instead of M and then getting stuck in a
loop of "Sublist does not exist, try again" because there is no sublist
I can move to. Although the code is meant to allow you to break out of
this by pressing return (the answer[0] bit) it doesn't work for me
(perhaps because of the changes I made on ui_statusline_ask_str that
restore values on return?).

So instead of running it in a loop, just run it once on keypress - it's
not exactly a hassle to run it again if I do actually want to move an
item and type it wrong. check-in: 84a89d1e8e user: base@atomicules.co.uk tags: origin/tweaks, trunk


Changes to actions.c.

209
210
211
212
213
214
215








216
217
218
219
220
221
222
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230







+
+
+
+
+
+
+
+








	/* loop through fields */
	for(i = 0; i < num_fields; i++){
		h += 2;
		if(fields[i].type == STRING){
			mvwprintw(dialog_win, h, 3,
				"%d - %s %s", (i+1), fields[i].name, (char*)fields[i].value);
			if(fields[i].name == "Password:\t"){
				/* Print out a guide beneath password to help with picking individual characters
				 * I could have changed the string format, but for ease of horizontal alignment
				 * was easy to do as per password and then replace characters with spaces
				 */
				mvwprintw(dialog_win, h+1, 3,
					"%s   %s %s", " ", "         \t", "1234567890123456789012345678901234567890");
			}
		} else if(fields[i].type == INT){
			mvwprintw(dialog_win, h, 3,
				"%d - %s %d", (i+1), fields[i].name, *((int*)fields[i].value) );
		} else if(fields[i].type == INFORMATION){
			mvwprintw(dialog_win, h, 3,
				"%d - %s", (i+1), fields[i].name);
		}