Hello from Gregg C Levine Well, on Slackware for Intel, typing ls --color=auto normally does it. At least here it does. Tzafrir, whose distribution are you referencing here? As I recall, that's included with all of them, it also depends on your terminal settings. Most of the time anyway. Almost forgot, Shalom from NYC. ------------------- Gregg C Levine [EMAIL PROTECTED] ------------------------------------------------------------ "The Force will be with you...Always." Obi-Wan Kenobi "Use the Force, Luke."� Obi-Wan Kenobi (This company dedicates this E-Mail to General Obi-Wan Kenobi ) (This company dedicates this E-Mail to Master Yoda )
> -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of > Tzafrir Cohen > Sent: Monday, June 16, 2003 12:42 PM > To: [EMAIL PROTECTED] > Subject: Re: [LINUX-390] Questions regarding single user mode and z/VM > > On Mon, Jun 16, 2003 at 10:39:38AM -0500, Nix, Robert P. wrote: > > > > vi is definitely out. > > Well, almost. You can still use its command-mode. For vim: run it as > 'ex' to start in command-mode (ex emulation). > > > This is because VT100 terminals interact with > > the system on a character by character basis, but the 3270 terminal > > works in "blocks". Your keystrokes are not seen by the host (in this > > case, Linux) until an attention key is pressed, such as the Enter key. > > vi is completely based on a character by character interaction. Any > > other program that expects to be able to immediately react to the > > keyboard (less, more...) are also crippled because of the choice of > > terminal. > > > > However, sed will work perfectly (given the escape quoting described > > above). And where more won't work well, cat works perfectly, because > > the screen freezes at the end of each page, waiting on you to press > > clear. > > The problem with sed is that it only works as a filter, and not as a > file editor. If you want inline-editing with syntax that is almost the > same as sed, use "perl -pi -e 'commands' filename" > > vim will give you ex. But you can go even farther, and use ed. > > Yes, non of those are a substitute for a decent full-screen vim session. > :-( > > BTW: what exactly is the terminal type 'ibm327x' that comes with the > standard terminfo distro? (yes, I tried it and it doesn't help a bit). > > Is there any way to make 'ls --color ' print colors? > > -- > Tzafrir Cohen +---------------------------+ > http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend| > mailto:[EMAIL PROTECTED] +---------------------------+
