Re: Why 'script' utility require SHELL (and work fine under Linux)?

2011-11-15 Thread Cyrille Lefevre
Le 08/11/2011 00:25, Cyrille Lefevre a écrit : Hi, are you working on these issues ? thanks in advance. Le 04/11/2011 21:22, David Sastre a écrit : On Fri, Nov 04, 2011 at 06:05:39AM +0100, Cyrille Lefevre wrote: the base-file maintainer has been BCC'ed to add the export SHELL to the /etc/p

Re: Why 'script' utility require SHELL (and work fine under Linux)?

2011-11-15 Thread Cyrille Lefevre
Le 10/11/2011 02:05, Andrey Repin a écrit : Greetings, Cyrille Lefevre! Would defining $SHELL at a system level solve your issue? well, I'm not the one who is having the problem, I'm the one who is trying to help to solve the issue... :-) Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li

Re: Why 'script' utility require SHELL (and work fine under Linux)?

2011-11-09 Thread Andrey Repin
Greetings, Cyrille Lefevre! Would defining $SHELL at a system level solve your issue? -- WBR, Andrey Repin (anrdae...@freemail.ru) 10.11.2011, <05:04> Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Docum

Re: Why 'script' utility require SHELL (and work fine under Linux)?

2011-11-07 Thread Cyrille Lefevre
Le 04/11/2011 21:22, David Sastre a écrit : On Fri, Nov 04, 2011 at 06:05:39AM +0100, Cyrille Lefevre wrote: the base-file maintainer has been BCC'ed to add the export SHELL to the /etc/profile. GNU/Linux login sets SHELL to bash, mksh, ... whilst ssh sets SHELL to /bin/bash, /bin/posh, /bin/m

Re: Why 'script' utility require SHELL (and work fine under Linux)?

2011-11-04 Thread David Sastre
On Fri, Nov 04, 2011 at 06:05:39AM +0100, Cyrille Lefevre wrote: > the base-file maintainer has been BCC'ed to add the export SHELL to > the /etc/profile. GNU/Linux login sets SHELL to bash, mksh, ... whilst ssh sets SHELL to /bin/bash, /bin/posh, /bin/mksh ... Given that there is no real login in

Re: Why 'script' utility require SHELL (and work fine under Linux)?

2011-11-03 Thread Cyrille Lefevre
Le 14/10/2011 11:43, Oleksandr Gavenko a écrit : Look to my session: well, you session isn't very clear, however... As you can see first time script does not use SHELL, second time use it and third tie use it. So SHELL env var does not exported by bash... well, shells doesn't export anythi

Re: Why 'script' utility require SHELL (and work fine under Linux)?

2011-10-17 Thread Andrey Repin
Greetings, Oleksandr Gavenko! ># Where live all profiles... >HOME=e:\home HOME is a path to YOUR PERSONAL profile. Not "all profiles". You can translate it from %HOMEDRIVE%%HOMEPATH% or %USERPROFILE%, as you prefer. -- WBR, Andrey Repin (anrdae...@freemail.ru) 17.10.2011, <18:24> Sorry

Re: Why 'script' utility require SHELL (and work fine under Linux)?

2011-10-16 Thread Oleksandr Gavenko
15.10.2011 0:47, Kaz Kylheku пишет: So SHELL env var does not exported by bash... Why? This is a bug in bash which hides broken behavior in the OS. Bash expects this to be an existing environment variable, and it usually is in normal Unix like operating systems. However, bash internally set

Re: Why 'script' utility require SHELL (and work fine under Linux)?

2011-10-14 Thread Kaz Kylheku
So SHELL env var does not exported by bash... Why? This is a bug in bash which hides broken behavior in the OS. Bash expects this to be an existing environment variable, and it usually is in normal Unix like operating systems. However, bash internally sets the variable if it is missing (with

Why 'script' utility require SHELL (and work fine under Linux)?

2011-10-14 Thread Oleksandr Gavenko
Look to my session:  gavenko+bash# echo $SHELL /bin/bash gavenko+bash# script Скрипт запущен, файл - typescript sh-4.1$ ^C sh-4.1$ exit Скрипт выполнен, файл - typescript gavenko+bash# SHELL=/bin/bash script Скрипт запущен, файл - typescript