Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 24 Oct 2014, 19:17
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
st - Simple Terminal <10kb pet
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: 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
st-0.0.pet
Description 
pet

 Download 
Filename  st-0.0.pet 
Filesize  9.19 KB 
Downloaded  380 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: 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
View user's profile Send_private_message Visit_website 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: Thu 29 Jul 2010, 14:26    Post_subject:  

technosaurus

idea 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

_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9203
Location: Stratford, Ontario

PostPosted: 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
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: 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

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: 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
st-0.2-i486.pet
Description 
pet

 Download 
Filename  st-0.2-i486.pet 
Filesize  14.67 KB 
Downloaded  190 Time(s) 
st.c.gz
Description 
gz

 Download 
Filename  st.c.gz 
Filesize  15.14 KB 
Downloaded  183 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11121
Location: Arizona USA

PostPosted: 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
View user's profile Send_private_message 
technosaurus


Joined: 18 May 2008
Posts: 4353

PostPosted: 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 ...
tabbed-0.3-i486.pet
Description 
pet

 Download 
Filename  tabbed-0.3-i486.pet 
Filesize  8.19 KB 
Downloaded  174 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0641s ][ Queries: 12 (0.0112s) ][ GZIP on ]