WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Fun with TC POPUP gui  (Read 162 times)

Offline PDP-8

  • Sr. Member
  • ****
  • Posts: 469
Fun with TC POPUP gui
« on: August 07, 2019, 03:52:17 AM »
I was reading bmarkus talking about popups from about 10 years ago ... and just now noticed how cool these lightweight notifications are!

The usual:
Code: [Select]
popup Hello World!
Hijinks:
Code: [Select]
popup About To Erase Boot Drive Y/N ?with only the close button available.... :)

But I see it also works with backticks!

Code: [Select]
popup You have `calc 2*5` minutes left!
popup I really like using TinyCore `version`

Anyway, you get the drift.  I can see using these with backgrounded scripts that merely need to notify me when say a compile is finished, or perhaps with cron jobs etc etc.

Looks like a neat alternative to always having another terminal open and glancing over at it all the time.

Shame on you veteran users and devs from keeping this totally cool secret from me! :)
That's a UNIX book! - cool  -- Garth

Online Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 6699
Re: Fun with TC POPUP gui
« Reply #1 on: August 07, 2019, 05:56:50 AM »
Hi PDP-8
... Shame on you veteran users and devs from keeping this totally cool secret from me! :)
You know she has a sister called  popask,  right?

Offline NewUser

  • Jr. Member
  • **
  • Posts: 77
Re: Fun with TC POPUP gui
« Reply #2 on: August 07, 2019, 09:28:54 PM »
Is popup usable to another TCL computer, like net send in the old Windows days?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10011
Re: Fun with TC POPUP gui
« Reply #3 on: August 08, 2019, 12:03:15 AM »
It is a local command, but you can use ssh (or remote X11).
The only barriers that can stop you are the ones you create yourself.

Offline PDP-8

  • Sr. Member
  • ****
  • Posts: 469
Re: Fun with TC POPUP gui
« Reply #4 on: August 08, 2019, 01:42:45 AM »
WOW!  I dig it - maybe I'm easily amused, but I can put this to use.

However, I need to file a bug report.  If you don't use the mouse to click, but instead use a tab / return key, it will send a different value if you hit the space key!

For now, stick to mouse clicks.
That's a UNIX book! - cool  -- Garth