[X] The "/iViaDataFountains/DataFountains-6.0.1.tar.gz" file could not be found or is not available. Please select another file.

Share

More
The Porn Shell Icon

The Porn Shell

prealpha

by thielman


The porn shell aka the pr0n shell aka the pourne-again shell.This shell is intended to be a humorous yet fully-functional shell that one could use for everyday tasks. One example: instead of killing a process, you can "bitchslap" a process. Also,


http://pr0nsh.sourceforge.net





Separate each tag with a space.

Release Date:

2003-06-13

Topics:

License:

Operating System:

Translations:

Intended Audience:

User Interface:

Programming Language:

C

Registered:

2003-03-15

Ratings and Reviews

Be the first to post a text review of The Porn Shell. Rate and review a project by clicking thumbs up or thumbs down in the right column.

Project Feed

  • Tracker artifact added

    lazlohol created the growing history file artifact

    posted by lazlohol 1870 days ago

  • Tracker comment added

    thielman commented on the ast.h artifact

    posted by thielman 2271 days ago

  • Tracker artifact added

    calston created the ast.h artifact

    posted by calston 2273 days ago

  • File released: /pr0nsh/pr0nsh-0.1/pr0nsh-0.1.tar.gz

    posted 2343 days ago

  • Code committed

    thielman committed patchset 35 of module pr0nsh to the The Porn Shell CVS repository, changing 3 files

    posted by thielman 2343 days ago

  • Code committed

    thielman committed patchset 34 of module pr0nsh to the The Porn Shell CVS repository, changing 21 files

    posted by thielman 2343 days ago

  • pr0nsh pr0nsh-0.1 file released: pr0nsh-0.1.tar.gz

    Version 0.1: New Features: history has more features supported: !str executes last command matching str at beginning of string !! executes last command aliases are not added to history duplicates are not added to history (may want var to control this) !porn gives the history of porn :) !str -foo will add -foo switch to whatever is executed builtin which now works correctly...shows builtins, and for aliases shows the alias and executes external which to find location of command it is aliased to kill builtin implemented which supports kill %d functionality where d is the jobid of a job in the background !$ supported - replaced with args of last command, or command if no arguments. Currently has a bug in that if a command is aliased, say ls='ls -la' then running ls will set !$ to -la but should set it to ls export VAR with no value will no remove VAR from symbol table unalias builtin implemented Bug Fixes: Tweaks: semi-colon now counts as end-of-line for parsing Version 0.0.9.4: New Features: Added the source command, and when the shell starts, it attempts to source $HOME/.pr0nshrc Bug Fixes: ~ expansion now is done in the lexer, so it works for all input, not just the cd command. As part of this, created a expandTilde() function which resides in shell/dir.c for lack of a better place single and double quote lexing is improved - it no longer returns the quotes as part of the string Tweaks: Version 0.0.9.3: Bug Fixes: fixed a bug with the "fg" command that caused segfaults fixed a bug with the RemoveJob routine that caused jobs to sometimes be left in the queue until it is called a second time. Blank lines don't get put in history anymore Fixed bug which would cause assertion failure when pressing CTRL-Z to stop a job that was originally started in the backgrounded, then brought to the foreground with fg. Sometimes gave invalid error message in fg and bg about non-existant jobid when it did exist. Tweaks: changed the output when running background jobs...in particular, running a sequence like "ls | cat" won't output the pid of ls. However, it is still way off from what bash does, but I don't think I care right now. adding asserts to many locations in code removing global variables, replacing with functions to access and change the value Decided to put miscellaneous variable access functions in top-level pr0nsh.c Created "new" functions, such as newAST, to return a newly initialized data structure, with all internal pointers set to NULL Version 0.0.9.2: Bug Fixes: parsing is better now - single and double quote parsing works a bit better Version 0.0.9.1: Main Features: Tweaks: Lots of reorganization. New builtins directory houses all the builtin commands. Started to create access functions so that data structures will not be directly manipulated by other functions. Still have a lot of work to do before this is done. Bug Fixes: pipes seem to work, but not well tested. There is a lot of random debugging crap to clean up but for now I am leaving it in Version 0.0.9: Main Features: pipes. Can execute cmd1 | cmd2 | cmd3 However, it is buggy right now and only works with the simplest of cases, and causes segfaults a lot. Does not seem to adversely affect non-piped commands, so I will check this in anyway as is. Version 0.08: Main Features: Error codes!!! So far what it does is set the variable $? to the error code returned from the last executed command, including built-in and external commands. Tweaks: Parses single and double quotes now setting a variable is now done with "export var val" alias syntax now: alias var=val (and can do alias var='foo bar') Instead of using output(fd,...) to output text from builtins, there are now outputout and outputerr functions. This way every file does not need to have extern BUILTIN_REDIR _global_redir; Bug Fixes: alias l=ls no longer goes into infinite loop Version 0.07: Main Features: Added support for CTRL-Z to stop foreground job Added fg and bg commands Tweaks: Now you call _exec_wait after starting a job to take care of all the associated waitpid stuff Bug Fixes: Version 0.06: Rudimentary process control. CTRL-Z and other signals not supported yet. All you can do now is append an & to a command and it will run in the background. The built-in "jobs" is also implemented, and supports the same -n switch as in bash. Version 0.05: Now uses abstract syntax tree for parsing Basic redirection works (< > >> 2> 2>> etc) All output by shell should now correctly go to stderr when it is an error, and all builtins should now be working with redirection as well. printf should never be used now, instead output(fd,char *format,...) Version 0.04: Fixed some memory allocation bugs using valgrind Beginning the annoying task of ridding my dependency on a garbage collector. Fixed bug when running "cd" with no arguments Added parser debugging feature. Set shell variable YYDEBUG=1 to enable Moved parsing code to parse subdirectory Using waitpid instead of wait in exec function Added error handling to signal catching Restructured error handling code a bit but needs more work Now initializes using PWD for current working directory as opposed to calling getcwd. This means that if you have icky symlinks all over, the directory displayed for the prompt will probably be more reasonable. Aliases are now much more fully functional although still an odd syntax Can, for example, run: alias l ls alias ls ls -la l *.c (this will execute ls -la *.c) Also, it catches alias loops Version 0.03: Displays error when attempt to execute a non built-in fails Simple aliases work with the following syntax: alias <cmd> <alias> <arg1> <arg2> ... <argn> Version 0.02: Command line history now supports executing past commands with the syntax ! ## where ## is the number of the command you wish to execute, as displayed with the "history" builtin.

    posted 2344 days ago

  • Code committed

    thielman committed patchset 33 of module pr0nsh to the The Porn Shell CVS repository, changing 3 files

    posted by thielman 2357 days ago

  • Code committed

    thielman committed patchset 32 of module pr0nsh to the The Porn Shell CVS repository, changing 2 files

    posted by thielman 2357 days ago

  • Code committed

    thielman committed patchset 31 of module pr0nsh to the The Porn Shell CVS repository, changing 15 files

    posted by thielman 2358 days ago

Rate and Review

Be the first person to add a text review.

Would you recommend this project?






<

Related Projects

The Porn Shell Actions

Thanks for your rating!

Would you also like to write a review?





Skip Review