On 2017-04-05 11:28, cyg Simple wrote:
> On 4/5/2017 12:53 PM, "\"[[\"Dr. Matthias H. Fröhlich" wrote:
>> After installing "plain vanilla" cygwin I noticed, that default
>> definition of PS1 from /etc/bash.bashrc contains newline characters
>> '\n':
>> # Set a default prompt of: user@host and
On 4/5/2017 12:53 PM, "\"[[\"Dr. Matthias H. Fröhlich" wrote:
> After installing "plain vanilla" cygwin I noticed, that default definition of
> PS1 from /etc/bash.bashrc contains newline characters '\n':
> # Set a default prompt of: user@host and current_directory
> PS1='\[\e]0;\w\a\]\
After installing "plain vanilla" cygwin I noticed, that default definition of
PS1 from /etc/bash.bashrc contains newline characters '\n':
# Set a default prompt of: user@host and current_directory
PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
This does immediately lead
Greetings, Dawid Ferenczy!
>it's not a big deal, I just wonder what to execute, if I would like to
> execute user's default shell (defined in /etc/passwd). For example in
> cmd.exe,
> ConEmu or Console2. I don't want to hardcode a shell anywhere (in console
>
Hi,
it's not a big deal, I just wonder what to execute, if I would like to
execute user's default shell (defined in /etc/passwd). For example in cmd.exe,
ConEmu or Console2. I don't want to hardcode a shell anywhere (in console
emulator configuration, some batch file etc.),
On 09/03/2010 09:52 AM, Paul McFerrin wrote:
How about the obviousChange the shell listed in the /etc/passwd file
for the affected user. I for years had pdksh as my default shell. Yes, I
was a long time AT&Ter, where the ksh was invented.
Quit top-posting, and http://cygwin.com/acro
On 02/09/2010 23:29, risin...@nationwide. wrote:
> I use pdksh as my login shell - I have been using the Korn shell (thanks
> Dave!)
See From: header!
cheers,
DaveK
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation
On 2 September 2010 23:49, RISINGP1 wrote:
> My cygwin.bat:
>
> @echo off
>
> C:
> chdir C:\cygwin\bin
>
> REM bash --login -i
> REM pdksh -l -i
> start mintty -p 70,0 -t Console -e -
Btw, you don't need cygwin.bat to start mintty; you can just put those
parameters into a shortcut (or copy the one
> > Ah, so you mean how to change /bin/sh to be pdksh instead of bash.
Simple:
> >
> > cp /bin/{pdk,}sh
> >
> > But be prepared to redo that every time you upgrade bash via
setup.exe,
> > and don't come crying to the list if things break that were expecting
> > bash when they got pdksh.
Thanks
work.
>>
>> Is there a way to change the default shell for cygwin? I checked the
user
>> guide and the FAQ, but no joy there. I tried setting and exporting the
>> SHELL variable, but that did not work.
>
>Assuming you meant the default shell for your particular use
On 09/02/2010 04:49 PM, risin...@nationwide.com wrote:
write a script, I have to remember to put in the shebang line
(#!/bin/pdksh) or half the time my scripts won't work.
Is there a way to change the default shell for cygwin? I checked the
user
guide and the FAQ, but no joy there. I
expedite
>> script writing, I use the ksh language and features Every time that I
>> write a script, I have to remember to put in the shebang line
>> (#!/bin/pdksh) or half the time my scripts won't work.
>>
>> Is there a way to change the default shell for cygwin
On 09/02/2010 04:29 PM, risin...@nationwide.com wrote:
I use pdksh as my login shell - I have been using the Korn shell (thanks
Dave!) since 1984 or so, so it is what I am used to and has features I
haven't been able to find in bash - at least not yet. So to expedite
script writing, I use the ks
e the ksh language and features Every time that I
write a script, I have to remember to put in the shebang line
(#!/bin/pdksh) or half the time my scripts won't work.
Is there a way to change the default shell for cygwin? I checked the user
guide and the FAQ, but no joy there. I tried s
ite a script, I have to remember to put in the shebang line
(#!/bin/pdksh) or half the time my scripts won't work.
Is there a way to change the default shell for cygwin? I checked the user
guide and the FAQ, but no joy there. I tried setting and exporting the
SHELL variable, but that di
On Fri, 11 Jul 2003, Alireza Moini wrote:
> I cannot seem to change the default shell from bash to
> tcsh, despite changing the entry in passwd.
>
> I have attached the cygcheck -svr and passwd entry.
> ali:unused_by_nt/2000/xp:1000:513:MY
> NAME,U-ALI-WORK-PC\ali,S-
I cannot seem to change the default shell from bash to
tcsh, despite changing the entry in passwd.
I have attached the cygcheck -svr and passwd entry.
ali:unused_by_nt/2000/xp:1000:513:MY
NAME,U-ALI-WORK-PC\ali,S-xxx-1000:/home/ali:/usr/bin/tcsh
Also even when using bash the /etc
- Original Message -
From: "Igor Pechtchanski" <[EMAIL PROTECTED]>
To: "mike parks" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, October 22, 2002 7:58 AM
Subject: Re: problem with setting up tcsh as default shell
> On Tue, 22 Oct 2002, mike
On Tue, 22 Oct 2002, mike parks wrote:
> hi,
>
> i am having trouble setting tcsh as my default shell. cygwin does not
> seem to pick up the settings in the .tcshrc from my $HOME directory.
>
> i started with the default profile and csh.cshrc files that came with
> the c
hi,
i am having trouble setting tcsh as my default shell. cygwin does not
seem to pick up the settings in the .tcshrc from my $HOME directory.
i started with the default profile and csh.cshrc files that came with
the cygwin download.
i noticed that cygwin seemed to start the bash shell from
- Original Message -
From: "Martin Nilsson (ERV)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 21, 2002 07:02
Subject: Problems using tcsh as default shell
> I have a problem with tcsh when using it as the default shell for cygwin.
Hello
I have a problem with tcsh when using it as the default shell for cygwin. I have
replaced the bash command line in cygwin.bat with tcsh -l and now my cygwin.bat have
the following content:
@echo off
C:
cd \cygwin\bin
tcsh -l
tcsh does not seem to have any problem reading my
22 matches
Mail list logo