List Info

Thread: Re: brace expansion and ksh?




Re: brace expansion and ksh?
user name
2007-10-19 07:19:29
Pavel Cahyna <pavelnetbsd.org> wrote:
> On Fri, Oct 12, 2007 at 01:55:00PM +0000, Valeriy E.
Ushakov wrote:
>> Jeremy C. Reed <reedreedmedia.net> wrote:
>> 
>> > Next I need to figure out PR 34724
>> > http://www.netbsd.org/cgi-bin/query-pr-single.pl?nu
mber=34724
>> > 
>> > I have $ in my PS1 so long current
directories make it so I can't 
>> > even see what I am typing. It is very
inconvenient.
>> 
>> I've read the PR and it's not quite clear to me
what the complain is?
>> 
>> | If your ksh command line becomes long, it often
doesn't wrap around
>> | console to next line well
>> 
>> What do you mean by "often" - that it
wraps sometimes and not others?
>> 
>> I normally use bash with "set
horizontal-scroll-mode on" in .inputrc,
>> I tried ksh and it's very similar to what I'm used
to except libedit
>> seems to scroll more agressively.
> 
> How is libedit relevant? neither bash nor pdksh use
it.

Ok, s/libedit/ksh lined editing/.

Re bash - I'm mentioning it as an example of a different
line-editing
style (readline) for reference.  In case I was not clear,
let me
reapeat:

>> | If your ksh command line becomes long, it often
doesn't wrap around
>> | console to next line well

I don't understand what kind of behavior the above is
supposed to
describe.  Ksh man page doesn't mention wrapping, only
scrolling

       In these editing modes, if a line is longer that the
screen
       width (see COLUMNS parameter), a >, + or <
character is
       displayed in the last col- umn indicating that there
are more
       characters after, before and after, or before the
current
       position, respectively.  The line is scrolled
horizontally as
       necessary.

I normally use bash with "set horizontal-scroll-mode
on" in .inputrc.

I tried ksh and the scrolling behaviour i see with it is
very similar
to what I'm used to with bash except that it seems to scroll
more
agressively.

SY, Uwe
-- 
uwestderr.spb.ru                       |       Zu Grunde
kommen
http://snark.ptc.spbu.
ru/~uwe/          |       Ist zu Grunde gehen


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )