Re: Create my own shell? SOLVED

2005-07-27 Thread chaton
On Wed, 27 Jul 2005 16:27:32 +0200 Abel Talaversn Estevez <[EMAIL PROTECTED]> wrote: > With Ctrl-c the shell doesn't finish. > > The shell file is showed here: > > [...] > That was my point.

Re: Create my own shell? SOLVED

2005-07-27 Thread Alexander Farber
Yes, maybe you're right. I've tried sneaking past if read line (a backslash newline would make it take more lines) and set -- $line (tried semiclons, redirections and backticks) and if match=`grep "^$1$" $HOSTS` ; then ssh $match ( . would matc

Re: Create my own shell? SOLVED

2005-07-27 Thread Abel Talaverón Estevez
With Ctrl-c the shell doesn't finish. The shell file is showed here: #!/bin/sh # $Id: menu,v 1.5 2004/05/20 12:15:57 holsta Exp $ # # Menu wrapper for FireWired. Ctrl-C is ignored and user input is never # passed to the command line. PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/

Re: Create my own shell? SOLVED

2005-07-27 Thread Abel Talaverón Estevez
Yes El Miircoles, 27 de Julio de 2005 15:09, Alexander Farber escribis: > :-) What about ctrl-Z, does that "secure gateway menu" script ignore that > : too? > > 2005/7/27, Abel Talaversn Estevez <[EMAIL PROTECTED]>: > > Many thanks to all people of this mailing list for all the replies. > > > > F

Re: Create my own shell? SOLVED

2005-07-27 Thread chaton
On Wed, 27 Jul 2005 15:46:00 +0200 Alexander Farber <[EMAIL PROTECTED]> wrote: > Or if a user presses ctrl-C before the trap command is executed? > > 2005/7/27, Alexander Farber <[EMAIL PROTECTED]>: > > :-) What about ctrl-Z, does that "secure gateway menu" script ignore that > > too? > > > > 2

Re: Create my own shell? SOLVED

2005-07-27 Thread Alexander Farber
Or if a user presses ctrl-C before the trap command is executed? 2005/7/27, Alexander Farber <[EMAIL PROTECTED]>: > :-) What about ctrl-Z, does that "secure gateway menu" script ignore that too? > > 2005/7/27, Abel Talaversn Estevez <[EMAIL PROTECTED]>: > > http://mongers.org/gw_menu

Re: Create my own shell? SOLVED

2005-07-27 Thread Alexander Farber
:-) What about ctrl-Z, does that "secure gateway menu" script ignore that too? 2005/7/27, Abel Talaversn Estevez <[EMAIL PROTECTED]>: > Many thanks to all people of this mailing list for all the replies. > > Finally, I have edited the files I've downloaded from > > http://mongers.org/gw_menu >

Re: Create my own shell? SOLVED

2005-07-27 Thread Abel Talaverón Estevez
Many thanks to all people of this mailing list for all the replies. Finally, I have edited the files I've downloaded from http://mongers.org/gw_menu and make my own shell. Thanks ;) El Lunes, 25 de Julio de 2005 21:03, escribis: > On 2005-07-25 16:01:49 +0200, Abel Talaversn Estevez wrote: >