Boston Linux Meeting reminder, tomorrow, Wednesday, June 20, 2012 - Linux on Small Hardware

2012-06-19 Thread Jerry Feldman
When: June 20, 2012 7PM (6:30PM for QA) Topic: Linux on small hardware Moderators: Kurt Keville, Systems Administrator, MIT Clinical Research Center Tom Sohmers Federico Lucifredi Brian DeLacey Michael Larabel, Founder, Phoronix Media Location: MIT Building E51, Room 315

Capturing file descriptor 3, or alternatives.

2012-06-19 Thread Bill Freeman
I really hate string processing in bash. So I'd like to write a script in another language that 1. interacts with the user; 2. calculates the desired values of some environment variables; and 3. communicates those settings to the shell from which it was invoked (since the environment variables

Re: Capturing file descriptor 3, or alternatives.

2012-06-19 Thread Michael ODonnell
Is something like whiptail ruled out? ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/

Re: Capturing file descriptor 3, or alternatives.

2012-06-19 Thread Joshua Judson Rosen
Two thoughts: * Use Bash's `process substitution' syntax: (...) and/or (...) to pass the auxiliary process' stdin and/or stdout fd as an argument. If you don't want to have two script-files rather than one, then you may have to do something like...: bash -c 'while

Re: Capturing file descriptor 3, or alternatives.

2012-06-19 Thread Michael ODonnell
Here is a more complete list of candidates some of which may handle the fd gymnastics in question for you and then simply utter the desired results on their stdout: Python: python-dialog - Python module for making Text/Console-mode user interfaces Text: dialog- Displays user-friendly