I asked vim mailing list for how to document shell activity in
non-emacs-environment.
The answer was
$ script -a savefile
Control-D
$ col -b cleanedfile
$ vi cleanedfile
Color-ls needs to be disabled, too.
Now I can document shell activity without learning emacs.
So I have 2 app
On Fri, Mar 09, 2001 at 01:37:42PM -0800, Osamu Aoki wrote:
| Sorry, I am using different teminal this time. (windoze)
|
| > I also found that "export term=xterm" stops autocolor-ls to producing
| > escape sequences. Recorded text after this is printable.
|
| This may be bogus statement but sett
Sorry, I am using different teminal this time. (windoze)
> I also found that "export term=xterm" stops autocolor-ls to producing
> escape sequences. Recorded text after this is printable.
This may be bogus statemeent but setting term to proper mode shall stop
autocolor-ls to producing color. I
True. less -r is good one. (8 bit clean/damb, I use it for reading
Japanese too)
I also found that "export term=xterm" stops autocolor-ls to producing
escape sequences. Recorded text after this is printable.
Thanks.
Osamu
On Fri, Mar 09, 2001 at 08:07:37PM +, Colin Watson wrote:
> Osamu
Osamu Aoki <[EMAIL PROTECTED]> wrote:
>Nice thing about this is that this set terminal w/o color support so my
>aliased color "ls" can print without escape sequence. "script"
>suggested by others was good but it also recorded all these color escape
>sequences.
Try reading script's output file wit
Looks like emacs can do it. How about _vim_?
I got following messagei from Eric Hanchrow:
Osamu> I can use ... Control-U Meta-! in emacs to record shell
Osamu> output but they do not record shell prompt nor shell
Osamu> command itself.
"M-x shell" Runs a shell within Emacs. Everything yo
Osamu Aoki wrote:
> Hi folks,
>
> What is the best way to log shell command and their console output?
Try 'script' from the bsdutils package.
--
Mike Brownlowhttp://www.wsmake.org/~mike/
-
1024D/8AA6EAFD 386
script
see man script
On Thu, Mar 08, 2001 at 11:42:40PM -0800, Osamu Aoki wrote:
> Hi folks,
>
> What is the best way to log shell command and their console output?
>
> I can use !! in vi and Control-U Meta-! in emacs to record shell output
> but they do not record shell prompt nor shell comm
ls -la > outputToThisFileOverwritingExisting
ls -la >> outputToThisFileAppendingToExisting
- Original Message -
From: "Osamu Aoki" <[EMAIL PROTECTED]>
To:
Sent: Friday, March 09, 2001 6:42 PM
Subject: vi/emacs: Loging shell command and output
> - s
Hi folks,
What is the best way to log shell command and their console output?
I can use !! in vi and Control-U Meta-! in emacs to record shell output
but they do not record shell prompt nor shell command itself.
I know it is obvious to most of you but I am ignorant. If I can do
this, my mainten
10 matches
Mail list logo