On Mon, Nov 06, 2000 at 09:29:00PM +0100, robert_wilhelm_land wrote:
> Which file is responseble for breaking lines in the bash(xterm)?
> I have looked for a sample.bashrc or anything simular (some
> distributions provide a sample file for a variaty of programs where
> you only have to remove the comments), but I cannot find anything
> simular on my deb2.2.
> 
> Afterall - which app infuences the line breaks - the bash, xterm or a
> setting in a X11 file?
> (this installation uses 3.3.6)

I think you're probably asking about the output of programs in a
terminal, No?  In those cases, either the programs use some default,
like 80 characters (possibly a little less) or it finds out the width of
the terminal through a terminfo/termcap call and sets the output to
match.  There's probably little you can do to influence the behavior
other than making your xterms wider.  If there's some specific program
your thinking of, maybe you want to ask about it.  But, in general, it's
up to whatever program is being run.


-- 
#! /bin/sh
# ppp-address: What's my Internet Address for ppp0 ?
/sbin/ifconfig ppp0 2> /dev/null | grep 'inet addr:' | sed \
's=.*inet 
addr\:\([0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\).*=\1='

Reply via email to