Re: wrong PS1 var width calculation

2008-12-08 Thread Larry Clapp
On Mon, Dec 08, 2008 at 11:34:21PM +0800, Cheng Renquan wrote: > On Mon, Dec 8, 2008 at 9:22 PM, Larry Clapp <[EMAIL PROTECTED]> wrote: > > On Mon, Dec 08, 2008 at 07:29:14PM +0800, Cheng Renquan wrote: > >> BTW, someone know a good screen record software under Linux plea

Re: wrong PS1 var width calculation

2008-12-08 Thread Larry Clapp
On Mon, Dec 08, 2008 at 07:29:14PM +0800, Cheng Renquan wrote: > BTW, someone know a good screen record software under Linux please > suggest it to me, I will record a video to show this bug clearly, I think you want script(1): NAME script - make typescript of terminal session SYNOPSI

Re: Readline : move to previous/next path component

2008-10-16 Thread Larry Clapp
On Thu, Oct 16, 2008 at 09:12:23AM +, Andre Majorel wrote: > On 2008-10-16, Aharon Robbins <[EMAIL PROTECTED]> wrote: > > In article <[EMAIL PROTECTED]>, > > Andre Majorel <[EMAIL PROTECTED]> wrote: > >>Vi mode would help, but in Bash, there's no way to switch between > >>it and Emacs mode on

Re: Puzzling discrepancy in bash variables

2008-10-16 Thread Larry Clapp
On Wed, Oct 15, 2008 at 03:11:15PM -0700, RMMM wrote: > I'm trying to create a bash function for use in auto completion, but > I've run into bash behavior I don't understand. All I want to do is > generate a list of the file names from a certain directory. I have a > line > > filenames=$(for file

Re: "wait" bug, now or ever?

2008-10-13 Thread Larry Clapp
On Sat, Oct 11, 2008 at 07:29:05PM -0600, Bob Proulx wrote: > Larry Clapp wrote: > > He asserts "The wait command waits until a program has *completely* > > finished", or words to that effect. > > That is specious reasoning at best. Agree. > > Basically h

"wait" bug, now or ever?

2008-10-10 Thread Larry Clapp
Greetings, list, A coworker of mine scatters "wait" around his code a lot. I've seen "wait" after "echo" (and no, he's not waiting on some previously backgrounded process): echo something wait He asserts "The wait command waits until a program has *completely* finished", or words to that ef