Re: Enhancing the user experience with tcsh

2012-02-14 Thread Miroslav Lachman
Eitan Adler wrote: On Tue, Feb 14, 2012 at 8:19 AM, Astrodog wrote: Personally, I pay very little attention to the prompt. That being said... Plenty of people prefer widely different configurations for the prompt. I think everyone agrees that the default prompt isn't particularly informative, h

Re: Enhancing the user experience with tcsh

2012-02-14 Thread Astrodog
... snip ... > if ($?prompt) then > # An interactive shell -- set some stuff up > - set prompt = "`/bin/hostname -s`# " > + set prompt = "[%n@%m]%c04%# " > + set promptchars = "%#" > > Many people had alternative suggestions for the prompt. Can you please > clarify why you

Re: Enhancing the user experience with tcsh

2012-02-14 Thread Ivan Voras
On 10/02/2012 17:25, Eitan Adler wrote: > setenv BLOCKSIZE K Why note BLOCKSIZE M? It's pretty much ridiculous to count kilobytes nowadays. > Many people had alternative suggestions for the prompt. Can you please > clarify why you believe your prompt should be the _default_ one? My promp

Re: Enhancing the user experience with tcsh

2012-02-14 Thread Astrodog
On Tue, Feb 14, 2012 at 7:26 AM, Eitan Adler wrote: > On Tue, Feb 14, 2012 at 8:19 AM, Astrodog wrote: >> Personally, I pay very little attention to the prompt. That being said... >> Plenty of people prefer widely different configurations for the prompt. >> I think everyone agrees that the defaul

Re: Enhancing the user experience with tcsh

2012-02-14 Thread Eitan Adler
On Tue, Feb 14, 2012 at 8:19 AM, Astrodog wrote: > Personally, I pay very little attention to the prompt. That being said... > Plenty of people prefer widely different configurations for the prompt. > I think everyone agrees that the default prompt isn't particularly > informative, however, achiev

Re: Enhancing the user experience with tcsh

2012-02-14 Thread timp
x27; must have everyone. PAGER is not necessary. And this is best prompt I think =) -- View this message in context: http://freebsd.1045724.n5.nabble.com/Enhancing-the-user-experience-with-tcsh-tp5471144p5481784.html Sent from the freebsd-current mail

Re: Enhancing the user experience with tcsh

2012-02-13 Thread Volodymyr Kostyrko
Chris Rees wrote: set prompt = "[%n@%m]%c04%# " it's not needed need some as alias ll ls -lAhG alias ls ls -G Lscolors are an abomination. -F or nothing at all is better; remember some people will use white xterms etc. Yeah, a +1 for me. Plain xterm with colorized output m

Re: Enhancing the user experience with tcsh

2012-02-13 Thread Volodymyr Kostyrko
Alex Keda wrote: On 10.02.2012 21:07, Chuck Burns wrote: set prompt = "[%n@%m]%c04%# " it's not needed need some as alias ll ls -lAhG alias ls ls -G set autolist = TAB bindkey "\e[3~" delete-char . and other _really_ necessary settings This can be as simple as defining CLICOLOR. Howe

Re: Enhancing the user experience with tcsh

2012-02-12 Thread Gonzalo Nemmi
On Sun, Feb 12, 2012 at 2:16 PM, Chris Rees wrote: > > On 12 Feb 2012 17:11, "Chuck Swiger" wrote: >> >> On Feb 11, 2012, at 11:05 PM, Gonzalo Nemmi wrote: >> > Joel, with all due respect, do you really think that 99.9% of all >> > users will not find the _non_intrusive_ additions below useful? >

Re: Enhancing the user experience with tcsh

2012-02-12 Thread Chris Rees
On 12 Feb 2012 18:22, "Chuck Swiger" wrote: > > On Feb 12, 2012, at 9:16 AM, Chris Rees wrote: > > So do I, but would these hurt you? > > At the present time, no. (At one point, I was using a keyboard > where the arrow keys generated "ESC-[ 1 ~" through "4", > IIRC, but I haven't been on console

Re: Enhancing the user experience with tcsh

2012-02-12 Thread Chuck Swiger
On Feb 12, 2012, at 9:16 AM, Chris Rees wrote: > So do I, but would these hurt you? At the present time, no. (At one point, I was using a keyboard where the arrow keys generated "ESC-[ 1 ~" through "4", IIRC, but I haven't been on console on it in some time.) > I think it's insane that by defaul

Re: Enhancing the user experience with tcsh

2012-02-12 Thread Jilles Tjoelker
On Sun, Feb 12, 2012 at 04:05:14AM -0300, Gonzalo Nemmi wrote: > Joel, with all due respect, do you really think that 99.9% of all > users will not find the _non_intrusive_ additions below useful? > bindkey "\e[1~" beginning-of-line #make Home key work; > bindkey "\e[2~" overwrite-mode #make Ins k

Re: Enhancing the user experience with tcsh

2012-02-12 Thread Chris Rees
On 12 Feb 2012 17:11, "Chuck Swiger" wrote: > > On Feb 11, 2012, at 11:05 PM, Gonzalo Nemmi wrote: > > Joel, with all due respect, do you really think that 99.9% of all > > users will not find the _non_intrusive_ additions below useful? > > > > bindkey "\e[1~" beginning-of-line #make Home key work

Re: Enhancing the user experience with tcsh

2012-02-12 Thread Chuck Swiger
On Feb 11, 2012, at 11:05 PM, Gonzalo Nemmi wrote: > Joel, with all due respect, do you really think that 99.9% of all > users will not find the _non_intrusive_ additions below useful? > > bindkey "\e[1~" beginning-of-line #make Home key work; > bindkey "\e[2~" overwrite-mode #make Ins key work; >

Re: Enhancing the user experience with tcsh

2012-02-12 Thread Matt Thyer
> How about adding stuff like this to /usr/share/examples/tcsh/complete.tcsh ? > > -- > Joel Yes to that. This is exactly where these suggestions should go. Feel free to create multiple examples files there but be very carefully with changes to system wide defaults. _

Re: Enhancing the user experience with tcsh

2012-02-12 Thread Gonzalo Nemmi
On Sat, Feb 11, 2012 at 5:07 AM, Joel Dahl wrote: > On 10-02-2012  9:03, Eitan Adler wrote: >> Picking a random person to reply to. >> >> There are a lot of good suggestions in this thread, but can we please >> remember a few things: >> >> - Users can always add their own ~/.cshrc >> - Many users

Re: Enhancing the user experience with tcsh

2012-02-12 Thread Gonzalo Nemmi
On Sun, Feb 12, 2012 at 5:12 AM, Joel Dahl wrote: > On 12-02-2012  4:05, Gonzalo Nemmi wrote: >> On Sat, Feb 11, 2012 at 5:07 AM, Joel Dahl wrote: >> > On 10-02-2012  9:03, Eitan Adler wrote: >> >> Picking a random person to reply to. >> >> >> >> There are a lot of good suggestions in this thread

Re: Enhancing the user experience with tcsh

2012-02-12 Thread Joel Dahl
On 12-02-2012 4:05, Gonzalo Nemmi wrote: > On Sat, Feb 11, 2012 at 5:07 AM, Joel Dahl wrote: > > On 10-02-2012  9:03, Eitan Adler wrote: > >> Picking a random person to reply to. > >> > >> There are a lot of good suggestions in this thread, but can we please > >> remember a few things: > >> > >>

Re: Enhancing the user experience with tcsh

2012-02-11 Thread Julian Elischer
On 2/11/12 12:07 AM, Joel Dahl wrote: On 10-02-2012 9:03, Eitan Adler wrote: Picking a random person to reply to. There are a lot of good suggestions in this thread, but can we please remember a few things: - Users can always add their own ~/.cshrc - Many users will get annoyed by what is som

Re: Enhancing the user experience with tcsh

2012-02-11 Thread Joel Dahl
On 10-02-2012 9:03, Eitan Adler wrote: > Picking a random person to reply to. > > There are a lot of good suggestions in this thread, but can we please > remember a few things: > > - Users can always add their own ~/.cshrc > - Many users will get annoyed by what is someone else's amazing setup

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Stephen McKay
On Friday, 10th February 2012, Eitan Adler wrote: >-alias la ls -a >+alias la ls -aF > alias lf ls -FA >-alias ll ls -lA >+alias ll ls -lAF >+alias ls ls -F > >Two people didn't like these changes but didn't explain why. This is >incredibly helpful, especially f

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Andriy Gapon
on 11/02/2012 00:29 Chuck Swiger said the following: > On Feb 10, 2012, at 2:12 PM, Andriy Gapon wrote: >> I really hate the default behavior of less where you can't quit via ^C or via >> paging through the end of file. > > It's readily tunable, by setenv'ing LESS variable to contain some of: > >

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Oliver Pinter
On 2/10/12, Eitan Adler wrote: > In conf/160689 (http://www.freebsd.org/cgi/query-pr.cgi?pr=160689) > there has been some discussion about changing the default cshrc file. > > I'd like to commit something like the following based on Chris's patch > at the end of the thread. This post is an attempt

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Chuck Swiger
On Feb 10, 2012, at 2:12 PM, Andriy Gapon wrote: > I really hate the default behavior of less where you can't quit via ^C or via > paging through the end of file. It's readily tunable, by setenv'ing LESS variable to contain some of: -e or --quit-at-eof Causes less to automat

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Andriy Gapon
[cc list trimmed] on 10/02/2012 18:25 Eitan Adler said the following: [snip] > set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin > /usr/local/bin $HOME/bin) > > setenv EDITOR vi > -setenv PAGER more > +setenv PAGER less > setenv BLOCKSIZE K > No one complained ab

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Chris Rees
On 10 Feb 2012 19:41, "Alex Keda" wrote: > > On 10.02.2012 21:07, Chuck Burns wrote: >> >> set prompt = "[%n@%m]%c04%# " > > it's not needed > > need some as > alias ll ls -lAhG > alias ls ls -G Lscolors are an abomination. -F or nothing at all is better; remember some people wil

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Alex Keda
On 10.02.2012 21:07, Chuck Burns wrote: set prompt = "[%n@%m]%c04%# " it's not needed need some as alias ll ls -lAhG alias ls ls -G set autolist = TAB bindkey "\e[3~" delete-char and other _really_ necessary settings > complete chown 'p/1/u/' > complete man

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Stefan Esser
Am 10.02.2012 17:41, schrieb Gavin Atkinson: > On Fri, 2012-02-10 at 11:25 -0500, Eitan Adler wrote: >> Picking a random email to reply to. >> >> My goal with this email is to reduce the amount of "controversial" changes. > > I applaud this. I've often considered doing the same but avoided it > b

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Wojciech A. Koszek
On Fri, Feb 10, 2012 at 05:53:09PM +0200, Volodymyr Kostyrko wrote: > Eitan Adler wrote: > > set filec > > - set history = 100 > > - set savehist = 100 > > + set history = 1 > > + set savehist = 1 > > Just why not (1 merge)? > > > + set autolist > > + # Use history to

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Wojciech A. Koszek
On czw, lut 09, 2012 at 11:50:06 -0700, Warren Block wrote: > On Fri, 10 Feb 2012, Gonzalo Nemmi wrote: > ` > > On Thu, Feb 9, 2012 at 9:52 PM, Eitan Adler wrote: > >> In conf/160689 (http://www.freebsd.org/cgi/query-pr.cgi?pr=160689) > > >> there has been some discussion about changing the defau

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Edho Arief
On Fri, Feb 10, 2012 at 11:41 PM, Gavin Atkinson wrote: > This change is disruptive, and it can affect use of ls(1) in scripts. Scripts never use alias and... > For example, it even sticks the extra characters in the output of > "ls -1" (the number 1), which is specifically designed to be used w

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Kevin Oberman
On Fri, Feb 10, 2012 at 9:07 AM, Chuck Burns wrote: > On 2/10/2012 10:41 AM, Gavin Atkinson wrote: >> >> On Fri, 2012-02-10 at 11:25 -0500, Eitan Adler wrote: >>> >>> Picking a random email to reply to. >>> >>> My goal with this email is to reduce the amount of "controversial" >>> changes. >> >> I

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Chuck Burns
On 2/10/2012 10:41 AM, Gavin Atkinson wrote: On Fri, 2012-02-10 at 11:25 -0500, Eitan Adler wrote: Picking a random email to reply to. My goal with this email is to reduce the amount of "controversial" changes. I applaud this. I've often considered doing the same but avoided it because it was

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Gavin Atkinson
On Fri, 2012-02-10 at 11:25 -0500, Eitan Adler wrote: > Picking a random email to reply to. > > My goal with this email is to reduce the amount of "controversial" changes. I applaud this. I've often considered doing the same but avoided it because it was easier than fighting the bikeshed :) > c

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Eitan Adler
Picking a random email to reply to. My goal with this email is to reduce the amount of "controversial" changes. commit 3ea4ea3a59d14cb060244618dd89d7dd0170bee1 diff --git a/etc/root/dot.cshrc b/etc/root/dot.cshrc --- a/etc/root/dot.cshrc +++ b/etc/root/dot.cshrc @@ -7,9 +7,10 @@ alias h

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Volodymyr Kostyrko
Eitan Adler wrote: set filec - set history = 100 - set savehist = 100 + set history = 1 + set savehist = 1 Just why not (1 merge)? + set autolist + # Use history to aid expansion + set autoexpand set mail = (/var/mail/$USER

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Chris Rees
On 10 Feb 2012 14:58, "Erich Dollansky" wrote: > > Hi Eitan, > > On Friday 10 February 2012 21:03:52 Eitan Adler wrote: > > Picking a random person to reply to. > > > > There are a lot of good suggestions in this thread, but can we please > > remember a few things: > > > > - Users can always add t

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Gavin Atkinson
On Thu, 2012-02-09 at 19:52 -0500, Eitan Adler wrote: > In conf/160689 (http://www.freebsd.org/cgi/query-pr.cgi?pr=160689) > there has been some discussion about changing the default cshrc file. > > I'd like to commit something like the following based on Chris's patch > at the end of the thread.

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Warren Block
On Fri, 10 Feb 2012, Joel Dahl wrote: [completion examples] How about adding stuff like this to /usr/share/examples/tcsh/complete.tcsh ? Along with a comment in .cshrc pointing to that file (or even a commented line to source it), it would be an improvement. People who can benefit the most

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Erich Dollansky
Hi Eitan, On Friday 10 February 2012 21:03:52 Eitan Adler wrote: > Picking a random person to reply to. > > There are a lot of good suggestions in this thread, but can we please > remember a few things: > > - Users can always add their own ~/.cshrc > - Many users will get annoyed by what is some

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Anton Shterenlikht
On Fri, Feb 10, 2012 at 09:03:52AM -0500, Eitan Adler wrote: > Picking a random person to reply to. > > There are a lot of good suggestions in this thread, but can we please > remember a few things: > > - Users can always add their own ~/.cshrc > - Many users will get annoyed by what is someone e

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Miroslav Lachman
Eitan Adler wrote: Picking a random person to reply to. There are a lot of good suggestions in this thread, but can we please remember a few things: - Users can always add their own ~/.cshrc - Many users will get annoyed by what is someone else's amazing setup The main problem of this is: nov

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Eitan Adler
Picking a random person to reply to. There are a lot of good suggestions in this thread, but can we please remember a few things: - Users can always add their own ~/.cshrc - Many users will get annoyed by what is someone else's amazing setup The changes I proposed were designed to add value whil

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Erich Dollansky
Hi, On Friday 10 February 2012 19:36:29 Alexander Leidinger wrote: > Quoting Miroslav Lachman <000.f...@quip.cz> (from Fri, 10 Feb 2012 > 12:05:59 +0100): > > > I would like to share them with others, if there are interrest to > > include it in stock FreeBSD base. > > If there's no interest,

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Alexander Leidinger
Quoting Miroslav Lachman <000.f...@quip.cz> (from Fri, 10 Feb 2012 12:05:59 +0100): I would like to share them with others, if there are interrest to include it in stock FreeBSD base. If there's no interest, or no consent to add a specific one, why not collect them in a wiki-page? Bye,

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Joel Dahl
On 09-02-2012 23:50, Warren Block wrote: > On Fri, 10 Feb 2012, Gonzalo Nemmi wrote: > > > On Thu, Feb 9, 2012 at 9:52 PM, Eitan Adler wrote: > >> In conf/160689 (http://www.freebsd.org/cgi/query-pr.cgi?pr=160689) > > >> there has been some discussion about changing the default cshrc file. > > I

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Miroslav Lachman
Erich Dollansky wrote: Hi, On Friday 10 February 2012 18:05:59 Miroslav Lachman wrote: Warren Block wrote: On Fri, 10 Feb 2012, Gonzalo Nemmi wrote: I would like to share them with others, if there are interrest to include it in stock FreeBSD base. just publish them at least here. It will

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Erich Dollansky
Hi, On Friday 10 February 2012 18:05:59 Miroslav Lachman wrote: > Warren Block wrote: > > On Fri, 10 Feb 2012, Gonzalo Nemmi wrote: > > > > I would like to share them with others, if there are interrest to > include it in stock FreeBSD base. > just publish them at least here. It will always be

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Erich Dollansky
Hi, On Friday 10 February 2012 13:50:06 Warren Block wrote: > On Fri, 10 Feb 2012, Gonzalo Nemmi wrote: > > > On Thu, Feb 9, 2012 at 9:52 PM, Eitan Adler wrote: > >> In conf/160689 (http://www.freebsd.org/cgi/query-pr.cgi?pr=160689) > > The question becomes "how much is too much?" For example,

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Miroslav Lachman
Warren Block wrote: On Fri, 10 Feb 2012, Gonzalo Nemmi wrote: On Thu, Feb 9, 2012 at 9:52 PM, Eitan Adler wrote: In conf/160689 (http://www.freebsd.org/cgi/query-pr.cgi?pr=160689) there has been some discussion about changing the default cshrc file. In the same line that Wojciech on the P

Re: Enhancing the user experience with tcsh

2012-02-10 Thread sthaug
> If tcsh could be updated to version 6.18.00 "set autorehash" would be > really nice. With that you'll never have to type "rehash" again. :) Yes please! Steinar Haug, Nethelp consulting, sth...@nethelp.no ___ freebsd-current@freebsd.org mailing list ht

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Yamagi Burmeister
On Thu, 9 Feb 2012 19:52:58 -0500 Eitan Adler wrote: > In conf/160689 (http://www.freebsd.org/cgi/query-pr.cgi?pr=160689) > there has been some discussion about changing the default cshrc file. > > I'd like to commit something like the following based on Chris's patch > at the end of the thread.

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Adam Vande More
On Thu, Feb 9, 2012 at 6:52 PM, Eitan Adler wrote: > In conf/160689 (http://www.freebsd.org/cgi/query-pr.cgi?pr=160689) > there has been some discussion about changing the default cshrc file. > > I'd like to commit something like the following based on Chris's patch > at the end of the thread. Th

Re: Enhancing the user experience with tcsh

2012-02-10 Thread Joel Dahl
On 09-02-2012 19:52, Eitan Adler wrote: > In conf/160689 (http://www.freebsd.org/cgi/query-pr.cgi?pr=160689) > there has been some discussion about changing the default cshrc file. > > I'd like to commit something like the following based on Chris's patch > at the end of the thread. This post is a

Re: Enhancing the user experience with tcsh

2012-02-09 Thread Warren Block
On Fri, 10 Feb 2012, Gonzalo Nemmi wrote: On Thu, Feb 9, 2012 at 9:52 PM, Eitan Adler wrote: In conf/160689 (http://www.freebsd.org/cgi/query-pr.cgi?pr=160689) there has been some discussion about changing the default cshrc file. In the same line that Wojciech on the PR ".cshrc should be u

Re: Enhancing the user experience with tcsh

2012-02-09 Thread Sergey V. Dyatko
On Thu, 9 Feb 2012 19:52:58 -0500 Eitan Adler wrote: > In conf/160689 (http://www.freebsd.org/cgi/query-pr.cgi?pr=160689) > there has been some discussion about changing the default cshrc file. > > I'd like to commit something like the following based on Chris's patch > at the end of the thread.

Re: Enhancing the user experience with tcsh

2012-02-09 Thread Gonzalo Nemmi
On Thu, Feb 9, 2012 at 9:52 PM, Eitan Adler wrote: > In conf/160689 (http://www.freebsd.org/cgi/query-pr.cgi?pr=160689) > there has been some discussion about changing the default cshrc file. > > I'd like to commit something like the following based on Chris's patch > at the end of the thread. Thi

Re: Enhancing the user experience with tcsh

2012-02-09 Thread Lawrence Stewart
On 02/10/12 11:52, Eitan Adler wrote: > In conf/160689 (http://www.freebsd.org/cgi/query-pr.cgi?pr=160689) > there has been some discussion about changing the default cshrc file. > > I'd like to commit something like the following based on Chris's patch > at the end of the thread. This post is an

Re: Enhancing the user experience with tcsh

2012-02-09 Thread Adrian Chadd
Do the promptchars work correctly on csh as well as tcsh? Adrian ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Enhancing the user experience with tcsh

2012-02-09 Thread Eitan Adler
In conf/160689 (http://www.freebsd.org/cgi/query-pr.cgi?pr=160689) there has been some discussion about changing the default cshrc file. I'd like to commit something like the following based on Chris's patch at the end of the thread. This post is an attempt to open the change to wider discussion.