Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Notepad++ and Ctrl-Z

41 views
Skip to first unread message

micky

unread,
Feb 13, 2017, 3:55:43 PM2/13/17
to

This relates to PC's. If there is something similar for phones,
especially Android phones, please let me know. Also, I'll publicize it
if you want. Let me know.


I keep notes on Notepad++ about things I want to talk about on the phone
with a friend, and I usually erase the topic or quote after we talk
about it.

Today I erased one but needed it later. But I was able to press
cntl-Z 18 times and each time it restored something I had deleted. I
knew it would work once or twice, but 18 and counting. Wow.

A little after that it either didn't keep a record or the record showed
not deletions but additions, and Ctrl-z reversed them, which I didn't
want. The text I wanted was number 11, but I kept going to see how far
it would go.

Ctrl-Z has far broader application than I would have expected. It works
in the search box of Firefox for example. Typically, not being listed
in a dropdown menu does not mean that a shortcut key that works in other
programs will not work they are not list

Mickey M M from Randallstown

Big Al

unread,
Feb 13, 2017, 4:31:12 PM2/13/17
to
This should be no surprise. If you are closing and opening notepad++ and
able to ctl-z a restore, then that IS an amazing feat.

There are a large number of shortcut keys that are pretty much universal
on apps/programs. Ctl-V paste, Ctl-C copy are two I find works oh so
many places.

Ctl-Z is no exception. Try it in a word processor.
Ctl-P is usually print.

I know there is probably a website with a list of these, but I'll leave
you and Google or Bing etc up to that task.

Shadow

unread,
Feb 13, 2017, 7:35:59 PM2/13/17
to
On Mon, 13 Feb 2017 15:55:34 -0500, micky <NONONO...@bigfoot.com>
wrote:

>
>This relates to PC's. If there is something similar for phones,
>especially Android phones, please let me know. Also, I'll publicize it
>if you want. Let me know.
>
>
>I keep notes on Notepad++ about things I want to talk about on the phone
>with a friend, and I usually erase the topic or quote after we talk
>about it.
>
>Today I erased one but needed it later. But I was able to press
>cntl-Z 18 times and each time it restored something I had deleted. I
>knew it would work once or twice, but 18 and counting. Wow.

I think Notepad++ deletes it's cache of changes when you close
it. If it didn't it would be a massive security risk.
Windows Word keeps umpteen backups, so you should always "save
as" before you mail a document. (and delete the original), or even
(safer) print it to a PDF.
We had a funny case here in Brazil, a very corrupt Judge
ordered that an extremely corrupt friend's name (Jose Serra, a
minister, the Judge was Sergio Moro) be "smudged" in all the documents
handed over to the lower courts and to the press.
Someone had the idea to do an "undo", and voila, the name was
visible again .....

Original censored version

https://img.buzzfeed.com/buzzfeed-static/static/2015-07/22/11/enhanced/webdr04/enhanced-20643-1437578813-1.png

Undo

https://img.buzzfeed.com/buzzfeed-static/static/2015-07/22/11/enhanced/webdr12/enhanced-8015-1437579035-17.png

NEVER send the original ... unless you are in Brazil. No one
was punished .... and the press hid it... Sergio Moro is still a
Judge, and Jose Serra is still a Minister.....
[]'s
--
Don't be evil - Google 2004
We have a new policy - Google 2012

micky

unread,
Feb 13, 2017, 10:11:58 PM2/13/17
to
In comp.mobile.android, on Mon, 13 Feb 2017 16:31:22 -0500, Big Al
<Bi...@invalid.com> wrote:

>On 02/13/2017 03:55 PM, micky wrote:
>>
>> This relates to PC's. If there is something similar for phones,
>> especially Android phones, please let me know. Also, I'll publicize it
>> if you want. Let me know.
>>
>>
>> I keep notes on Notepad++ about things I want to talk about on the phone
>> with a friend, and I usually erase the topic or quote after we talk
>> about it.
>>
>> Today I erased one but needed it later. But I was able to press
>> cntl-Z 18 times and each time it restored something I had deleted. I
>> knew it would work once or twice, but 18 and counting. Wow.
>>
>> A little after that it either didn't keep a record or the record showed
>> not deletions but additions, and Ctrl-z reversed them, which I didn't
>> want. The text I wanted was number 11, but I kept going to see how far
>> it would go.
>>
>> Ctrl-Z has far broader application than I would have expected. It works
>> in the search box of Firefox for example. Typically, not being listed
>> in a dropdown menu does not mean that a shortcut key that works in other
>> programs will not work they are not list
>>
>> Mickey M M from Randallstown
>>
>This should be no surprise.

So are you saying I'm stupid for being surpised? I think you have
internet disease where you must mock anyone you can who posts.

This assumes you're not like this in RL and something about the net
causes it.

If you want to comment on windows, or other software, do it, but ask
yourself why you chose to comment on me.

> If you are closing and opening notepad++ and
>able to ctl-z a restore, then that IS an amazing feat.

I thought the point was clear, not that it worked but hat it worked to
18 levels.
>
>There are a large number of shortcut keys that are pretty much universal

Yes, I know, and I know everything else you included here. Most people
know, but ctrl-z is in my experience neglected, And I would bet that
even many people who use it would not even try to get something back
that was deleted even 10 steps ago.

Poutnik

unread,
Feb 14, 2017, 1:08:25 AM2/14/17
to
Dne 14/02/2017 v 01:35 Shadow napsal(a):

>
> I think Notepad++ deletes it's cache of changes when you close
> it. If it didn't it would be a massive security risk.

It keeps content of unsaved changes,
even new, not yet saved documents,
but the undo buffer is gone.


--
Poutnik ( The Pilgrim, Der Wanderer )

A wise man guards words he says,
as they say about him more,
than he says about the subject.

Chris

unread,
Feb 14, 2017, 3:43:08 AM2/14/17
to
micky <NONONO...@bigfoot.com> wrote:
> In comp.mobile.android, on Mon, 13 Feb 2017 16:31:22 -0500, Big Al
> <Bi...@invalid.com> wrote:
>
>> On 02/13/2017 03:55 PM, micky wrote:
>>>
>>> This relates to PC's. If there is something similar for phones,
>>> especially Android phones, please let me know.

If you plug a keyboard into an Android device I wouldn't be surprised if
ctrl-z worked.

>>>
>>> Today I erased one but needed it later. But I was able to press
>>> cntl-Z 18 times and each time it restored something I had deleted. I
>>> knew it would work once or twice, but 18 and counting. Wow.
>>>
>>> A little after that it either didn't keep a record or the record showed
>>> not deletions but additions, and Ctrl-z reversed them, which I didn't
>>> want. The text I wanted was number 11, but I kept going to see how far
>>> it would go.
>>>
>>> Ctrl-Z has far broader application than I would have expected. It works
>>> in the search box of Firefox for example. Typically, not being listed
>>> in a dropdown menu does not mean that a shortcut key that works in other
>>> programs will not work they are not list
>>>
>>> Mickey M M from Randallstown
>>>
>> This should be no surprise.
>
> So are you saying I'm stupid for being surpised? I think you have
> internet disease where you must mock anyone you can who posts.

Why are you being so thin-skinned? No-one called you stupid.

It's no surprise because ctrl-z is ubiquitous and has been for decades.

> This assumes you're not like this in RL and something about the net
> causes it.
>
> If you want to comment on windows, or other software, do it, but ask
> yourself why you chose to comment on me.
>
>> If you are closing and opening notepad++ and
>> able to ctl-z a restore, then that IS an amazing feat.
>
> I thought the point was clear, not that it worked but hat it worked to
> 18 levels.

Most desktop applications have an edit history and you can scroll back
through it with repeated undos. For example, I think word remembers 100
steps.

>> There are a large number of shortcut keys that are pretty much universal
>
> Yes, I know, and I know everything else you included here. Most people
> know, but ctrl-z is in my experience neglected, And I would bet that
> even many people who use it would not even try to get something back
> that was deleted even 10 steps ago.

Why not? It's perfectly natural to expect repeated undos to work.

Paul

unread,
Feb 14, 2017, 4:59:42 AM2/14/17
to
Chris wrote:

>
> It's no surprise because ctrl-z is ubiquitous and has been for decades.

Ctrl-z had a usage before Microsoft came along.

Ctrl-z had a usage before I started using computers.

Previous usage: Current usage:

crtl-z suspend process undo
ctrl-c kill process copy
ctrl-v paste

The Windows 10 Bash shell will accept the definitions
listed in the Previous usage. Bash isn't that old, but the
things Bash is modeled after (/bin/sh and friends),
predate my computer usage.

And I'm sure one of the older-timers will be able to
recount a usage when the computer used vacuum tubes.

And there was likely a time when the keyboard didn't
even have a control key. (Baudot maybe.)

It looks like the teletype had a control key. I actually
had to take a course in university, using one of these
pigs. These were invented, to teach humans the
meaning of patience :-) Some of the students hated
these so much, they would shove the Shift keys
down below the console. (I think these things might
have been on levers, so they could be bent. The amount
of force required to do this, boggles the imagination.)
The repairman hated this :-) I can just imagine the
man at the parts counter "you need to buy two shift
levers ? whatever for ?"

https://en.wikipedia.org/wiki/File:TTY33ASR.jpg

Paul

Kerr Mudd-John

unread,
Feb 14, 2017, 5:51:25 AM2/14/17
to
Chickachicka chicka!

(FU to afc)

--
Bah, and indeed, Humbug

Daniel James

unread,
Feb 14, 2017, 9:14:11 AM2/14/17
to
In article <rb54ac9p3vlenupcm...@4ax.com>, Micky wrote:
> If there is something similar for phones,
> especially Android phones, please let me know.

You're talking about the "Undo" operation -- and particularly what is
known as "multi-level undo". That's certainly a feature supported by
some Android *apps*, though I'm not sure how far it is supported by the
system itself.

Google Docs supports Undo on Android, for example. There are "Undo" and
"Redo" icons on the toolbar (and, yes, Ctrl+Z and Shift+Ctrl+Z
shortcuts work if your device has a keyboard).

--
Cheers,
Daniel.



Carlos E. R.

unread,
Feb 14, 2017, 9:45:44 AM2/14/17
to
On 2017-02-14 15:14, Daniel James wrote:
> In article <rb54ac9p3vlenupcm...@4ax.com>, Micky wrote:
>> If there is something similar for phones,
>> especially Android phones, please let me know.
>
> You're talking about the "Undo" operation -- and particularly what is
> known as "multi-level undo". That's certainly a feature supported by
> some Android *apps*, though I'm not sure how far it is supported by the
> system itself.

It is always application dependent. Not system.

--
Cheers,
Carlos E.R.

Rene Lamontagne

unread,
Feb 14, 2017, 10:13:34 AM2/14/17
to
Yep, I date back to using an Interdata 7/16 Mini computer with real core
memory and 16 Hex switches to key in the bootstrap loader so that it
could then load the actual program from paper tape on an ASR33 Teletype.
The whole shebang fed a Ferranti Packard flip disk outdoor sign through
a pair of 300 baud modems for advertizing.
This was in 1975.

Rene



Frank Slootweg

unread,
Feb 14, 2017, 11:42:13 AM2/14/17
to
Rene Lamontagne <rla...@shaw.ca> wrote:
[...]
> Yep, I date back to using an Interdata 7/16 Mini computer with real core
> memory and 16 Hex switches to key in the bootstrap loader so that it
> could then load the actual program from paper tape on an ASR33 Teletype.
> The whole shebang fed a Ferranti Packard flip disk outdoor sign through
> a pair of 300 baud modems for advertizing.
> This was in 1975.

So what you're saying is that you're a rookie! That's OK! Plenty of
time to learn! :-)

--
Frank '"Hex"? What the heck is *that*!"' Slootweg, early 1968.

Rene Lamontagne

unread,
Feb 14, 2017, 12:15:25 PM2/14/17
to
On 2/14/2017 10:42 AM, Frank Slootweg wrote:
> Rene Lamontagne <rla...@shaw.ca> wrote:
> [...]
>> Yep, I date back to using an Interdata 7/16 Mini computer with real core
>> memory and 16 Hex switches to key in the bootstrap loader so that it
>> could then load the actual program from paper tape on an ASR33 Teletype.
>> The whole shebang fed a Ferranti Packard flip disk outdoor sign through
>> a pair of 300 baud modems for advertizing.
>> This was in 1975.
>
> So what you're saying is that you're a rookie! That's OK! Plenty of
> time to learn! :-)
>

Yup, still learning every day :-)


Rene

Chris

unread,
Feb 14, 2017, 1:29:04 PM2/14/17
to
Paul <nos...@needed.invalid> wrote:
> Chris wrote:
>
>>
>> It's no surprise because ctrl-z is ubiquitous and has been for decades.
>
> Ctrl-z had a usage before Microsoft came along.
>
> Ctrl-z had a usage before I started using computers.
>
> Previous usage: Current usage:
>
> crtl-z suspend process undo
> ctrl-c kill process copy
> ctrl-v paste

Agree. Indeed in linux and OSX both usages coexist. 'previous' in terminal
windows and 'current' in desktop applications (replace ctrl with cmd in OSX
applications obviously)

> The Windows 10 Bash shell will accept the definitions
> listed in the Previous usage. Bash isn't that old, but the
> things Bash is modeled after (/bin/sh and friends),
> predate my computer usage.

Thus bringing Windows up to the same level as linux and OSX ;)


Big Al

unread,
Feb 14, 2017, 3:30:36 PM2/14/17
to
On 02/13/2017 10:11 PM, micky wrote:
> So are you saying I'm stupid for being surpised? I think you have
> internet disease where you must mock anyone you can who posts.
None of the above. Sorry you took it wrong. You are reading between
the lines too much.

tlvp

unread,
Feb 15, 2017, 3:25:16 AM2/15/17
to
On Tue, 14 Feb 2017 08:41:16 -0000 (UTC), Chris wrote:

> It's no surprise because ctrl-z is ubiquitous and has been for decades.

And used to be all about ending a transmission or closing a file.
Just as ctrl-c is for aborting the run of a DOS command. And ctrl-v is for
introducing a literal ctrl-character into a DOS Edit session. Surprised?

Cheers, -- tlvp
--
Avant de repondre, jeter la poubelle, SVP.

Daniel James

unread,
Feb 15, 2017, 11:20:10 AM2/15/17
to
In article <rmhbnd-...@minas-tirith.valinor>, Carlos E. R. wrote:
>> [Undo is] certainly a feature supported by some Android *apps*,
>> though I'm not sure how far it is supported by the system itself.
>
> It is always application dependent. Not system.

Not *always*. In Windows, an edit control is part of the Windows
"system" and supports one level of undo all by itself, but if an app
wants to support multiple levels then it will have to implement its own
undo/redo framework.

I'm not aware of anything in Android itself that gives any support to
even one level of undo functionality at system level, though.

--
Cheers,
Daniel.



Chris

unread,
Feb 15, 2017, 1:01:07 PM2/15/17
to
tlvp <mPiOsUcB...@att.net> wrote:
> On Tue, 14 Feb 2017 08:41:16 -0000 (UTC), Chris wrote:
>
>> It's no surprise because ctrl-z is ubiquitous and has been for decades.
>
> And used to be all about ending a transmission or closing a file.

Er, I know it as 'suspend'.

However, the 'modern' usage in (windows) gui programs which the op is
referring to is not new nor particularly surprising.

> Just as ctrl-c is for aborting the run of a DOS command. And ctrl-v is for
> introducing a literal ctrl-character into a DOS Edit session. Surprised?

Yes. Didn't realise they work in DOS. I know their functionally in *nix
systems.


micky

unread,
Feb 16, 2017, 2:58:07 AM2/16/17
to
In alt.comp.os.windows-10, on Tue, 14 Feb 2017 15:30:46 -0500, Big Al
Thank you. Accepted.

Wasted a day trying to write a longer, better ansewr. ;-(
0 new messages