I've once again thought up a different common structure for website pages, I hope this one sticks longer than the ones before, but this limits duplication of data somewhat and keeps maintenance costs of these pages fairly low.
1.7 KiB
baps1
<script src="/keyjs.js" type="text/javascript"></script> <script type="text/javascript"> keyjs_initialize({ "u": [ "keyjs_goto", "../index.html" ], "h": [ "keyjs_goto", "http://ryuslash.org" ] }); </script>
What does it do?
baps1 offers a, hopefully, efficient and easy way to add certain data to your PS1 (prompt).
Language | C |
License | GPLv3 |
Why was it written?
A friend of mine wanted a better way to get some functionality into his PS1 that he was using a PHP script for, I knew how to do that in C and thought it would be a fun project and good learning experience, so here we are.
Who is it for?
Anyone who likes to have the data this project provides in their PS1.
Data
Version | 0 (development only) |
Language | C |
License |
Features
- Show the PTY or TTY you are using.
- How long ago the last call to baps1 was on that terminal, which should also indicate how long ago your PS1 was printed last.
Dependencies
Apart from the usual build tools (make, gcc) I know of none, though I do have a preference for GNU programs/libraries, so there might be some GNU-only code in there.