PuTTY and gnome-terminal seem to preserve the previous output in the
scrollback buffer (effectively doing a "newline" clear).
PuTTY has a setting for this: "Window/Push erased text into scrollback"
On Wed, Dec 1, 2010 at 3:21 PM, Greg Wooledge wrote:
> On Wed, Dec 01, 2010 at 02:04:51PM -0700, B
Greg Wooledge wrote:
> ... I can see where his question is coming from. If you're on an
> rxvt or something, with a reasonably-sized scrollback buffer, and
> you do a "tput clear" or its equivalent, you only lose the lines
> that were on the visible part of the terminal at that time -- the
> rest
On Wed, Dec 01, 2010 at 02:04:51PM -0700, Bob Proulx wrote:
> If that doesn't do what you want then I don't think the functionality
> you request exists.
That's probably technically true. But on the other hand, I can see
where his question is coming from. If you're on an rxvt or something,
with
Ajay Jain wrote:
> I use bash on Xterm.
> While working you press Ctrl-L, so that the screen gets cleared and
> you see the currently line only.
That is what clearing the does. It operates the same as the 'clear'
command line program in clearing the screen.
> But you may want to see the last out
But not when $* is not empty:
$ set -- foo
$ echo "${HOME#$*/}"
/home/username
On Tue, Nov 30, 2010 at 7:43 PM, David Rochberg wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: x86_64
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS: -DPROGRAM='bash' -D
On Wed, 1 Dec 2010, ste...@syslang.net wrote:
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu'
-DCONF_VEND
On Wed, Dec 01, 2010 at 08:14:49AM -0500, ste...@syslang.net wrote:
> IFS=':' set -- aa:bb:cc:dd
> Instead, I have to say something like:
> oldIFS="$IFS"
> IFS=':'
> set -- aa:bb:cc:dd
> IFS="$oldIFS"
Neither one of these sets $1 to aa, $2 to bb and so on. The
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPAC
On Tue, 30 Nov 2010, Ajay Jain wrote:
Hi,
I use bash on Xterm.
While working you press Ctrl-L, so that the screen gets cleared and
you see the currently line only. But you may want to see the last
outputs/prints. However, if you do a Ctrl-L/clear command, these
prints go away. In that case, wha
Hi,
I use bash on Xterm.
While working you press Ctrl-L, so that the screen gets cleared and
you see the currently line only. But you may want to see the last
outputs/prints. However, if you do a Ctrl-L/clear command, these
prints go away. In that case, what can you use so that you clear the
scree
11 matches
Mail list logo