>> On Mon, 22 Jun 2009 11:12:20 +0200,
>> Ruben de Groot said:
R> No need for any external programs. The following shell script [accepts
R> one key, no need to hit return]
R> % more readkey.sh
R> echo -n "Press any key: "
R> stty cbreak -echo
R> KEY=$(dd bs=1 count=1 2>/dev/null)
R> stty -c
On Fri, Jun 19, 2009 at 03:05:55PM -0400, Karl Vogel typed:
> >> On Wed, 17 Jun 2009 21:13:32 -0400,
> >> Steve Bertrand said:
>
> S> I've got a couple of jails now that I use exclusively for Perl
> S> development. As soon as I log into the box via SSH, my first command is
> S> _always_ "cd dev
>> On Wed, 17 Jun 2009 21:13:32 -0400,
>> Steve Bertrand said:
S> I've got a couple of jails now that I use exclusively for Perl
S> development. As soon as I log into the box via SSH, my first command is
S> _always_ "cd devel/something". I'd like to make it so that '~' remains
S> /home/steve,
On Thu, Jun 18, 2009 at 12:59 PM, Polytropon wrote:
> On Thu, 18 Jun 2009 12:33:24 -0400, Glen Barber
> wrote:
>> Thanks for that little tidbit in return -- I've been trying to
>> figure how prompt settings. :)
>
> See those:
>
> set promptchars = "%#"
> set prompt = "%...@%m:%~%# "
On Thu, 18 Jun 2009 12:33:24 -0400, Glen Barber wrote:
> Thanks for that little tidbit in return -- I've been trying to
> figure how prompt settings. :)
See those:
set promptchars = "%#"
set prompt = "%...@%m:%~%# "
Or even:
set prompt = "[%T] %...@%m:%~%# "
set
Steve Bertrand wrote:
> I'd like to add for archive purposes, that with csh, adding the
> following within the 'if' block in .cshrc will provide a prompt that
> includes the current working directory, without the full path (which I
> also wanted:
>
> set prompt = "%c1 % "
>
> Output:
>
> ~/deve
Steve Bertrand wrote:
> Glen Barber wrote:
>>> I'd like to make it so that '~' remains /home/steve, but when I log in,
>>> I would prefer to be dropped immediately into /home/steve/devel.
>>>
>>> csh is (always) my shell, and I'm on 7.2.
>>>
>>> Instead of writing a login script, I'm wondering if
Glen Barber wrote:
> Hi, Steve
>
> On Wed, Jun 17, 2009 at 9:13 PM, Steve Bertrand wrote:
>> Hi everyone,
>>
>> I've got a couple of jails now that I use exclusively for Perl development.
>>
>> As soon as I log into the box via SSH, my first command is _always_ "cd
>> devel/something".
>>
>> I'd l
Hi, Steve
On Wed, Jun 17, 2009 at 9:13 PM, Steve Bertrand wrote:
> Hi everyone,
>
> I've got a couple of jails now that I use exclusively for Perl development.
>
> As soon as I log into the box via SSH, my first command is _always_ "cd
> devel/something".
>
> I'd like to make it so that '~' remain
Hi everyone,
I've got a couple of jails now that I use exclusively for Perl development.
As soon as I log into the box via SSH, my first command is _always_ "cd
devel/something".
I'd like to make it so that '~' remains /home/steve, but when I log in,
I would prefer to be dropped immediately into
10 matches
Mail list logo