Solved

UNIX editors

Posted on 2004-08-22
3
197 Views
Last Modified: 2010-04-21
How would I change my default editor for example emach to vi or pico to vi or visa versa.
0
Comment
Question by:aahlawat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
3 Comments
 
LVL 38

Expert Comment

by:yuzh
ID: 11866691
assume that you are a csh user as memtion in your other question, you type
in:

setenv EDITOR vi

you can also put it in your .cshrc file
0
 
LVL 38

Accepted Solution

by:
yuzh earned 250 total points
ID: 11877439
For sh/ksh/bash

EDITOR=vi
export EDITOR

you can also put it in your .profile
0
 
LVL 38

Expert Comment

by:yuzh
ID: 11877822
Why a B?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question