Giter VIP home page Giter VIP logo

rootsh's People

Contributors

dlanger avatar jpschewe avatar jschewebbn avatar lausser avatar syrkuit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

rootsh's Issues

Error building debug binary on Solaris

Attempting to build a debug binary with "-Werror" causes problems.

# tar xf rootsh-1.6.3.tar
# cd rootsh-1.6.3
# aclocal
# autoheader
# autoconf
# automake --add-missing
# make clean
# CFLAGS="-O0 -g" ./configure
# make

Making all in src
make[1]: Entering directory `/export/install/software/rootsh/rootsh-1.6.3/src'
make  all-am
make[2]: Entering directory `/export/install/software/rootsh/rootsh-1.6.3/src'
gcc -DHAVE_CONFIG_H -I.    -DCONFIGFILE="\"/usr/local/etc/rootsh.cfg\"" -O0 -g -Wall -Wstrict-prototypes -Wmissing-declarations   -Wnested-externs -Wpointer-arith -pedantic -Werror -MT rootsh.o -MD -MP -MF .deps/rootsh.Tpo -c -o rootsh.o rootsh.c
rootsh.c: In function `main':
rootsh.c:347: warning: unsigned int format, pid_t arg (arg 5)
rootsh.c: In function `beginlogging':
rootsh.c:739: warning: unsigned int format, pid_t arg (arg 11)
make[2]: *** [rootsh.o] Error 1
make[2]: Leaving directory `/export/install/software/rootsh/rootsh-1.6.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/export/install/software/rootsh/rootsh-1.6.3/src'
make: *** [all-recursive] Error 1

Exit with exit status of sub-shell

Currently rootsh always exits with a success status unless there is an error starting up. The parent process needs to watch the child process for exit and pass the status along when it exits. This should be possible using pselect instead of select.

Color Information Spam

It looks like the color information isn't stripped when sending to syslog. I get a ton of stuff like this:

root: 034: #033[K[09:09:21][/tmp]#
root: 035: #033[K[09:09:21][/tmp]# ls
root: 036: total 5.7M
root: 037: drwxr-xr-x 15 root root 4.0K Aug 13 21:09 #033[0m#033[01;34m.#033[0m/
root: 038: drwxrwxrwt. 5 root root 4.0K Aug 13 21:09 #033[30;42m..#033[0m/

Is there any way to strip that?

Thank you very much for your help and your project!

Move the configure options to config file

There are a few #defines to decide how rootsh behaves at runtime. If this tool is really going to be put in a distribution, users need to be able to change these settings without rebuilding the application.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.