Belfagor
10-12-2002, 11:27 AM
why in rh8 is not pico?is there any alternativ for using in text mode?
|
Click to See Complete Forum and Search --> : Pico on rh8... Belfagor 10-12-2002, 11:27 AM why in rh8 is not pico?is there any alternativ for using in text mode? fancypiper 10-12-2002, 11:32 AM Pico is part of pine. Did you install pine? You probably have midnite commander installed and it has a text editor very similar to cooledit. Open mc, select the file and press F4. Belfagor 10-12-2002, 11:47 AM thanks for the reply i ve just learned that pico is a part of pine....(i am a real newbie:) bwkaz 10-12-2002, 01:23 PM There is an alternative, and it's called vi (emacs, also, is an alternative, but emacs isn't guaranteed to be on all Unix systems -- vi is, pretty much). ;) On almost all Linux systems, you'll have vim, which is slightly nicer. When you first open a file in vi(m), you're in command mode. Hit the 'i' key to get into insert mode. Once in insert mode, you can type stuff, and it will get put into the file you're editing. When you're in command mode, anything you type will be interpreted as a command (with possibly disastrous side effects...). With vi, it is sometimes the case that arrow keys don't move around in insert mode, but only in command mode. When you're in insert mode, hit Esc to get back to command mode. If you're in command mode, typing :q will quit if no changes have been made, :q! will quit even if changes have been made, and :w will save changes. :wq will save and quit. You'll almost always have emacs as well... but I don't know any key bindings for Emacs. I do know there aren't two separate modes -- all "commands" are either Ctrl or Alt or Ctrl-Alt key combinations, while normal keystrokes will enter text into the file. Belfagor 10-12-2002, 06:07 PM vi:...i think it is a bit diffucult to use it...tried it...thanks for each reply... DarkJedi9 10-12-2002, 06:32 PM Also try nano. From what I've seen it's virtually (if not perfectly) identical to pico. Makes sense; both names are metric prefixes for really small units. Belfagor 10-12-2002, 07:47 PM ganna give it a try...thanks.... nerv 10-12-2002, 08:09 PM At the shell prompt type "vimtutor" and take the Vim tutor. It will take about a half hour and is well worth it. Previously I used pico, but once I got the hang of Vim, there is no going back. mychl 10-13-2002, 12:04 PM You can get just pico... just the executable. When you try to open it, it'll give you errors about ncurses libraries not found. ncurses is no doubt installed on your system, it's just newer than what pico is looking for. Just make a sym link for what pico is looking for to your current /usr/lib/ncurses****.so.# Good Luck justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |