Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: Misalf on January 18, 2015, 09:18:15 AM

Title: TC 6.0 dialog.tcz Calendar doesn't seem to work
Post by: Misalf on January 18, 2015, 09:18:15 AM
This used to work on TC 5.x:
Code: [Select]
xterm +sb -title "Calendar" --geometry 36x17--1-20 -e dialog --no-cancel --ok-label " CLOSE " --no-shadow --calendar "" -1 16
It doesn't on 6.0. No error message is shown.
Title: Re: TC 6.0 dialog.tcz Calendar doesn't seem to work
Post by: patrikg on January 18, 2015, 03:13:58 PM
On my ubuntu this line works
You also need dialog installed.
I have to change the geometry to correct size. Oversize it first like 80x25, and then decrease to correct size.
And your "-1 16" at the end I don't know that stands for.
Code: (bash) [Select]
xterm +sb -title "Calendar" -geometry 40x19 -e dialog --no-cancel --ok-label " CLOSE " --no-shadow --calendar "" 0 0
Title: Re: TC 6.0 dialog.tcz Calendar doesn't seem to work
Post by: Misalf on January 18, 2015, 07:26:29 PM
Code: [Select]
dialog --calendar "Calender" -1 16

dialog --help
Code: [Select]
...
  --calendar     <text> <height> <width> <day> <month> <year>
...
Auto-size with height and width = 0. Maximize with height and width = -1.
Global-auto-size if also menu_height/list_height = 0.
tc@box:$
<day> <month> <year>  are optional but doesn't work with those values set either.