On Fri, 11 Aug 2000,  [EMAIL PROTECTED] wrote about,  Re: Segmentation fault 
(core dumped):

> >
> > Hitting 'ctrl l' must be a lot quicker and simpler.???
> >
> clear actually does in effect
> 
> echo -e "\033[H\033[J"
> 
> "cursor home, erase from cursor to end of display", which seems
> indistinguishable from control-L : formfeed.

You surely mean, 
echo -ne "\033[H\033[J"

Otherwise -e will produce a blank line at the top of the screen as apposed
to ctrl-l which does not.

A possable cause for the segfault could be a problem in /etc/termcap as
well as some ncurses conflict.

One way to find the cause would be using gdb, however i will leave that
explanation to someone more capeable than myself.

> 
> echo -e "\033c" is reset, and will undo most kinds of damage you can do
> by inadvertantly catting a binary file.

-- 
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to