RE: Slight issue in base-files-4.0-6

2011-03-25 Thread Bravery, Gavin S
>> We'd need mksh to network shares for homes first though. >> My home is: ///gbravery and it really doesn't like it. >The newly released mksh-39c-3 handles UNC paths correctly now. Now that's much better! My #! stuff works and it copes with my home being a UNC perfectly. I've removed my home-spu

Re: Slight issue in base-files-4.0-6

2011-03-24 Thread Chris Sutcliffe
On 22 March 2011 12:55, Bravery, Gavin S wrote: > We'd need mksh to network shares for homes first though. > My home is: ///gbravery and it really doesn't like it. The newly released mksh-39c-3 handles UNC paths correctly now. Cheers! Chris -- Chris Sutcliffe http://emergedesktop.org http://ww

Re: Slight issue in base-files-4.0-6

2011-03-22 Thread Chris Sutcliffe
On 22 March 2011 11:33, Bravery, Gavin S wrote: > BTW, I have a side issue which is when mksh installs it doesn't make a ksh > link, which means scripts with #!/usr > /bin/ksh stop working. Indeed, I should really fix that. I'll look into how to create a postinstall script to create the link. C

Re: Slight issue in base-files-4.0-6

2011-03-22 Thread Chris Sutcliffe
On 22 March 2011 12:13, David Sastre wrote: > WJFFM with the PS1 setting included in 4.0-6 for mksh. Indeed it does, I guess I should have tested it. The previous (pre-4.0) /etc/profile did not set PS1 correctly for mksh. Sorry for the noise. Chris -- Chris Sutcliffe http://emergedesktop.org

Re: Slight issue in base-files-4.0-6

2011-03-22 Thread Corinna Vinschen
On Mar 22 17:13, David Sastre wrote: > Maybe it should be considered to drop pdksh from the distro, being > mksh a mantained replacement and pdksh orphaned and upstream > unmantained. Given that the latest pdksh package is from 2003, this sounds like a really good idea to me. Corinna -- Corinn

RE: Slight issue in base-files-4.0-6

2011-03-22 Thread Bravery, Gavin S
>>> If you want to use a ksh derivative, you are probably better >>> switching to mksh, which is actively mantained. >>> IOW, /etc/profile no longer supports pdksh. If you want to keep >>> using it, you'll need to explicitely add support for it (as you've >>> done already). >>Agreed, however, th

Re: Slight issue in base-files-4.0-6

2011-03-22 Thread David Sastre
2011/3/22, Bravery, Gavin S wrote: Basically, the escapes aren't working right (in XWindows at the very least). So I have now changed it to say: case "${KSH_VERSION}" in *MIRBSD*KSH* ) PS1=$(print '^[]0;${PWD}\n^[[32m${USER}@${HOSTNAME} ^[[33m${PWD/${

RE: Slight issue in base-files-4.0-6

2011-03-22 Thread Bravery, Gavin S
>>> Basically, the escapes aren't working right (in XWindows at the very least). >>> >>> So I have now changed it to say: >>>   case "${KSH_VERSION}" in >>>   *MIRBSD*KSH* ) >>>     PS1=$(print '^[]0;${PWD}\n^[[32m${USER}@${HOSTNAME} >>> ^[[33m${PWD/${HOME}/~}^[[0m\n$ ') >>>     ;; >>>   *PD*KSH* )

Re: Slight issue in base-files-4.0-6

2011-03-22 Thread Chris Sutcliffe
On 22 March 2011 10:34, David Sastre wrote: > 2011/3/22, Bravery, Gavin S wrote: >> Basically, the escapes aren't working right (in XWindows at the very least). >> >> So I have now changed it to say: >>   case "${KSH_VERSION}" in >>   *MIRBSD*KSH* ) >>     PS1=$(print '^[]0;${PWD}\n^[[32m${USER}@${

Re: Slight issue in base-files-4.0-6

2011-03-22 Thread David Sastre
2011/3/22, Bravery, Gavin S wrote: > I have a minor issue with the /etc/profile file in base files. > > I still use KSH (generally pdksh) and there is a problem with how this file > is setting PS1. > Basically, the escapes aren't working right (in XWindows at the very least). > > So I have now chan

Slight issue in base-files-4.0-6

2011-03-22 Thread Bravery, Gavin S
Hi everyone, I have a minor issue with the /etc/profile file in base files. I fixed it a while back but the changes over the last few days broke it again (which made me remember I had done it, which then made me tell you :-). I still use KSH (generally pdksh) and there is a problem with how thi