Author |
Message |
technosaurus

Joined: 18 May 2008 Posts: 4785 Location: Kingwood, TX
|
Posted: Sun 18 Jul 2010, 02:33 Post subject:
st - Simple Terminal <10kb pet |
|
st is a simple terminal (maybe too simple) with only X11 as a dependency
hardcoded for 6x13 and 6x13B font
Description |
|

Download |
Filename |
st-0.0.pet |
Filesize |
9.19 KB |
Downloaded |
440 Time(s) |
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Thu 29 Jul 2010, 14:14 Post subject:
|
|
At the moment I'm including a copy of Rxvt on my USB installer, since surprisingly you can't count on most modern Linux distros having a simple terminal installed that works as expected.
Can this be linked statically so it's sure to work on every Linux with X?
|
Back to top
|
|
 |
big_bass
Joined: 13 Aug 2007 Posts: 1742
|
Posted: Thu 29 Jul 2010, 14:26 Post subject:
|
|
technosaurus
idea
maybe it could be useful as a terminal here
since you could
have it run from any folder since it doesnt need to be in the path
nice
Joe
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 11887 Location: Stratford, Ontario
|
Posted: Thu 29 Jul 2010, 16:28 Post subject:
|
|
Well... I did a few quick tests with st and it's really not ready for prime-time. But YMMV.
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4785 Location: Kingwood, TX
|
Posted: Thu 29 Jul 2010, 16:41 Post subject:
|
|
It is supposed to be the default terminal of stali (short for static linux), but development of stali appears to have stopped. Unfortunately st relies on a specific font existing or it fails (its name is hardcoded, but the font itself is not "linked in")... Doesn't jwm link in a failsafe font?
That is the primary barrier AFAIK, but maybe there is a font that exists on all X versions. (the one that the devs used didn't exist in puppy, so I patched it)
I don't know if using /usr/X11R7 instead of /usr should affect things but X has a lot of parameters that should be loaded at runtime or using a config file, instead many are hardcoded.
Edit: BTW I compiled a really small version of rxvt for the pup'ngo thread that also only requires libX11
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4785 Location: Kingwood, TX
|
Posted: Wed 08 Feb 2012, 22:03 Post subject:
|
|
updated to 0.2
I modified source to use puppy fonts and hard-coded to use ash for the SHELL and st-256color for TERM (because puppy's /etc/profile clobbers any environment variables that you set for them, so you have to do workarounds to use anything other than the default)
... think of this as your light weight terminal to check for bashisms in your code
I have included my modified source as a single c file, to compile: Code: | gcc -std=c99 -Os -I/usr/X11/include -o st st.c -L/usr/X11/lib -lX11 -lutil |
Description |
|

Download |
Filename |
st-0.2-i486.pet |
Filesize |
14.67 KB |
Downloaded |
249 Time(s) |
Description |
|

Download |
Filename |
st.c.gz |
Filesize |
15.14 KB |
Downloaded |
239 Time(s) |
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 12813 Location: Arizona USA
|
Posted: Thu 09 Feb 2012, 00:49 Post subject:
|
|
It seems to work in Racy 5.2.1.90 but all I did was enter "tree --help" (I have tree installed) to see what would happen. The window was small when I did this, and I found no way to scroll up or down. Also, the characters are a bit small and white characters on a black background are much harder for me to read than the other way around.
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4785 Location: Kingwood, TX
|
Posted: Thu 09 Feb 2012, 12:06 Post subject:
|
|
then you may like this pet of tabbed
tabbed lets you embed other programs inside and gives you a tabbed interface that to navigate between them.
it only shows the tab window on the tray (not the other embedded programs), so its a nice way to remove some clutter
the short list of apps I have found (not including the webkit-based surf browser) are in the included tabs script
its usage:
tabs rxvt urxvt xterm gmplayer ...
Description |
|

Download |
Filename |
tabbed-0.3-i486.pet |
Filesize |
8.19 KB |
Downloaded |
229 Time(s) |
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
|