The time now is Thu 23 May 2013, 06:26
All times are UTC - 4 |
|
Page 40 of 50 [737 Posts] |
Goto page: Previous 1, 2, 3, ..., 38, 39, 40, 41, 42, ..., 48, 49, 50 Next |
| Author |
Message |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sat 25 Feb 2012, 13:38 Post subject:
|
|
for the ultra-minimalist window managers, I already posted mcwm (though it is a bit outdated now), its by far the lightest when statically compiled due to using xcb instead of X11 (X11 doesn't statically link well though tinyx11 gets us a bit closer)... and it has an ISC license ... some others xcb window managers are i3, uuwm, uwm (based on jwm) there is even a composite manager called unagi
Edit:
several pages back we were trying to find a way to use a running instance of a multicall binary to run new "applets" rather than spawning a whole new instance (the way ROX-Filer does) I think we had everything except the mechanism to get new args into the running process. ---Solved (I think, see the notes on apipe).
| Code: | #include <stdio.h>
void argsfromstdin(void){ /* TODO accept a function pointer to run ac, av */
char s[255], av[255][255];
unsigned char i=0, pos=0, ac=0;
enum quotes_t{QUOTED=0,UNQUOTED}quotes=UNQUOTED;
//open a file ./apipe and store its file descriptor in variable apipe
//use mkfifo /tmp/apipe to create it ... or you can use stdin
//FILE * apipe = fopen("/tmp/apipe","r");;
fgets(s,255,stdin);
while (i<strlen(s)) {
/* '!'=33, 'ÿ'=-1, '¡'=-95 outside of these are non-printables */
if ( quotes && ((s[i] < 33) && (s[i] > -1) || (s[i] < -95))){
av[ac][pos] = '\0';
if (av[ac][0] != '\0') ac++;
pos = 0;
}else{
if (s[i]=='"'){ /* support quoted strings */
if (pos==0){
quotes=QUOTED;
}else{ /* support \" within strings */
if (s[i-1]=='\\'){
av[ac][pos-1] = '"';
}else{ /* end of quoted string */
quotes=UNQUOTED;
}
}
}else{ /* printable ascii characters */
av[ac][pos] = s[i];
pos++;
}
}
i++;
}
/* TODO accept a function pointer to run ac, av */
#ifdef DEBUG
#include <string.h>
#define write1(s) write(1, s, strlen(s))
while (ac-->0) {write1(av[ac]);write1("\n");}
#endif
}
int main(int argc, char *argv[]){
argsfromstdin();
} |
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
goingnuts
Joined: 07 Dec 2008 Posts: 626
|
Posted: Sun 04 Mar 2012, 04:43 Post subject:
|
|
technosaurus: Had not seen your update - would be cool if it works!
The latest post about window managers reminded me that I had a static build of conky lying around.
Also found that gxine-0.2.1 is gtk1..now I only need to get a static uclibc xinelib build...
| Description |
|
| Filesize |
6.7 KB |
| Viewed |
1186 Time(s) |

|
| Description |
static build conky
|

Download |
| Filename |
conky-1.3.0-486.tar.gz |
| Filesize |
93.5 KB |
| Downloaded |
119 Time(s) |
|
|
Back to top
|
|
 |
PANZERKOPF
Joined: 16 Dec 2009 Posts: 249 Location: Earth
|
Posted: Wed 14 Mar 2012, 12:44 Post subject:
|
|
About GetGUI:
I modified somewhat, now it can recognize Dialog/Xdialog syntax and following
options:
--title
--backtitle
--ok-label
--yes-label
--cancel-label
--no-label
--no-cancel
--default-item
--password
--msgbox
--inputbox
--yesno
--menu
--menubox
--radiolist
--checklist
--combobox
--fselect
Getgui's native options are not broken (I hope). Some default values are changed for my own needs (default fonts, button color etc..).
Also, a program name is changed to "xgetgui" to avoid copiright conflicts.
| Description |
|

Download |
| Filename |
xgetgui-0.1a.tar.gz |
| Filesize |
151.28 KB |
| Downloaded |
106 Time(s) |
_________________ SUUM CUIQUE.
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Wed 14 Mar 2012, 16:49 Post subject:
|
|
| PANZERKOPF wrote: | About GetGUI:
I modified somewhat, now it can recognize Dialog/Xdialog syntax and
...
Getgui's native options are not broken (I hope). Some default values are changed for my own needs (default fonts, button color etc..).
Also, a program name is changed to "xgetgui" to avoid copiright conflicts. | I went through and fixed most of the syntactical build errors, and tweaked the font and border settings so it isn't so fugly. Still needs a lot of cleanup though ... mainly how the functions and variables are declared... also made a build script.
Edit @PANZERKOPF, btw most of the fixes were not your code - just legacy stuff and from ripping chunks out of ploticus ... also I added the list of widgets to the --help (though I didn't put any order to them or descriptions or formatting)
| Description |
|

Download |
| Filename |
xgetgui-T.tar.gz |
| Filesize |
153.31 KB |
| Downloaded |
104 Time(s) |
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
goingnuts
Joined: 07 Dec 2008 Posts: 626
|
Posted: Fri 16 Mar 2012, 15:13 Post subject:
|
|
PANZERKOPF: Really nice! If only we could add scrolling to the menu and file select windows it would be close to perfect. I did try to contact the developer about this but never got any contact...
|
|
Back to top
|
|
 |
PANZERKOPF
Joined: 16 Dec 2009 Posts: 249 Location: Earth
|
Posted: Sat 17 Mar 2012, 08:36 Post subject:
|
|
| technosaurus wrote: | I went through and fixed most of the syntactical build errors, and tweaked the font and border settings so it isn't so fugly. Still needs a lot of cleanup though ... mainly how the functions and variables are declared... also made a build script.
Edit @PANZERKOPF, btw most of the fixes were not your code - just legacy stuff and from ripping chunks out of ploticus ... also I added the list of widgets to the --help (though I didn't put any order to them or descriptions or formatting) |
Thanks!
| goingnuts wrote: | | PANZERKOPF: If only we could add scrolling to the menu and file select windows it would be close to perfect. |
I agree but seems this is not possible without completely rewriting an internal toolkit.
Unfortunately I have poor experience with X toolkits
P.S.
Another crazy idea about GTK1:
It is possible to make it UTF compliant or that is same as reinventing a wheel?
This idea was born when I found a clone of Athena Widget: Xaw3Dxft.
It supports UTF and Xft so If someone can improve Athena, why another one can't improve gtk1?
| Description |
|

Download |
| Filename |
Xaw3dxft.tar.gz |
| Filesize |
292.09 KB |
| Downloaded |
99 Time(s) |
_________________ SUUM CUIQUE.
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sat 17 Mar 2012, 15:55 Post subject:
|
|
| PANZERKOPF wrote: | ...
Another crazy idea about GTK1:
It is possible to make it UTF compliant or that is same as reinventing a wheel?
This idea was born when I found a clone of Athena Widget: Xaw3Dxft.
It supports UTF and Xft so If someone can improve Athena, why another one can't improve gtk1? |
Gtk-xcb fits the bill (the one on sourceforge, not the one in gtk's git tree). It was forked right before the cairo dependency and uses xcb as the backend (will need updated for newer versions though). Ideally I would like to update it to work with pango-1.24.5 and latest xcb libs, and add maybe some widgets/functions.
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
justauser
Joined: 09 Nov 2005 Posts: 28
|
Posted: Wed 04 Apr 2012, 08:03 Post subject:
Take a look at tinycore |
|
If you are looking for interesting ideas about a minimalist distribution take a look at tinycore
[url]
http://distro.ibiblio.org/tinycorelinux/welcome.html[/url]
[/url]
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9387 Location: SwedenEurope
|
Posted: Wed 04 Apr 2012, 09:59 Post subject:
Re: Take a look at tinycore |
|
I know too little but I would be surprised if these two ahve the same goal?
Goingnuts will know though.
_________________
I'm a noob so I use Google Search of Puppy Forum
|
|
Back to top
|
|
 |
goingnuts
Joined: 07 Dec 2008 Posts: 626
|
Posted: Wed 04 Apr 2012, 14:35 Post subject:
Re: Take a look at tinycore |
|
| justauser wrote: | | If you are looking for interesting ideas about a minimalist distribution take a look at tinycore |
Thanks...I haven't followed too close the development of TC since I made this special version of pUPnGO: pUPnGO_V412_080211.iso running TC as topping. TC definitely is an interesting distro...but sort of lost interests after spending a short time on their forum...
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Wed 04 Apr 2012, 20:31 Post subject:
|
|
Ditto on the toxic-caustic forum... That is what TC stands for right? I once had several hundred posts, but the constant mis-moderation convinced me it was as much of a lost cause as DSL (the main dev's former project), so I made sure to post all my relevant topics here (before removing all of my posts there). Tcl also stopped being simple a long time ago ... Puppy too, but I know puppy and like simple... so I try to make it simpler... Pupngo was already simpler, so I help out here when I can and the other more spotlight oriented devs cherry-pick from here and it slowly filters into mainline (not all, by any means... my init/xinit combo written in c is way oversimplified for a "standard" linux desktop but gets a basic gtk1 desktop in a 2mb kernel image). We test out these insane "impossible" ideas where experts would say it can't be done... It's a good thing we aren't "experts".
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1715 Location: Burghaslach, Germany
|
Posted: Fri 06 Apr 2012, 08:57 Post subject:
Re: Take a look at tinycore |
|
| justauser wrote: | If you are looking for interesting ideas about a minimalist distribution take a look at tinycore
[url]
http://distro.ibiblio.org/tinycorelinux/welcome.html[/url]
[/url] |
Did take a look back too ...
| Quote: | | i understand that not worth powder and shot |
quoted from
http://forum.tinycorelinux.net/index.php/topic,7169.msg71186.html#msg71186
|
|
Back to top
|
|
 |
greengeek
Joined: 20 Jul 2010 Posts: 1184 Location: New Zealand
|
Posted: Sat 07 Apr 2012, 16:26 Post subject:
|
|
| technosaurus wrote: | | other more spotlight oriented devs cherry-pick from here and it slowly filters into mainline (not all, by any means.... We test out these insane "impossible" ideas where experts would say it can't be done... It's a good thing we aren't "experts". |
It is fascinating watching what you guys have been doing. I am glad you are happy to be in the engine room, and that you have stuck with Puppy. It is so annoying when some projects get overtaken by "ego", but that isn't happening here. Watching these posts is like taking a peek into the inventors back shed. Thanks.
|
|
Back to top
|
|
 |
Aitch

Joined: 04 Apr 2007 Posts: 6825 Location: Chatham, Kent, UK
|
Posted: Sun 08 Apr 2012, 04:01 Post subject:
|
|
| Quote: | | Watching these posts is like taking a peek into the inventors back shed. Thanks. |
Aye to that...my sentiments entirely....great stuff, I'm an avid reader!
Aitch
|
|
Back to top
|
|
 |
goingnuts
Joined: 07 Dec 2008 Posts: 626
|
Posted: Sun 08 Apr 2012, 13:12 Post subject:
|
|
| Quote: | | Did take a look back too ... |
...They have "Hero Member"´s too - did not find any heroine there though
Ohh and that wbar - looks so cool - even began to build a static version - starting with imlib2 and then remembered why I did not succeed in the past: wbar is cc/c+ or whatever.
But found another Easter-time-killer: beaver - quite mature editor with some syntax highlight and more modern mouse response that the gtk-version of mp. Attached a static build of beaver - only had to disable a font-style-setting to avoid segfaults in the static build bin.
| Description |
running pupngo+beaver |
| Filesize |
42.83 KB |
| Viewed |
230 Time(s) |

|
| Description |
Static build of beaver-0.2.7
|

Download |
| Filename |
beaver-0.2.7_static.tar.gz |
| Filesize |
389.29 KB |
| Downloaded |
93 Time(s) |
|
|
Back to top
|
|
 |
|
|
Page 40 of 50 [737 Posts] |
Goto page: Previous 1, 2, 3, ..., 38, 39, 40, 41, 42, ..., 48, 49, 50 Next |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|