Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Keymappings/backspace/insert/overwrite using Stata/Linux at the console


From   "Neil Shephard" <nshephard@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Keymappings/backspace/insert/overwrite using Stata/Linux at the console
Date   Tue, 15 May 2007 17:10:37 +0100

On 5/15/07, Dave Ewart <davee@ceu.ox.ac.uk> wrote:
Dear all,

Something that I've been wondering about for a while: is there any way
to modify the way that Stata's command-line editing works, specifically
for Stata 9 under Linux, working at the console (i.e. 'stata' rather
than 'xstata')?

By default, command-line editing is in 'overwrite' mode, which means
that if you type:

  use ataset.dta

and realise that I meant 'dataset.dta', I move the cursor on to the 'a'
at the start of 'ataset' and then type 'd', I see:

  use dtaset.dta

which isn't what I want either.  Instead, I must hit my "Insert" key
first.

This behaviour is at odds with usual Unix shell-like behaviour and also
at odds with 'xstata', or Stata under Windows.
Not a direct solution, but you could use stata under ESS (Emacs Speaks
Statistics) and/or Bill Rising's Stata ado-mode and configure Emacs to
behave as desired.

See http://ess.r-project.org/  and
http://www.bellarmine.edu/faculty/wrising/Stata/ado-mode_install.html
respectively for more information.

Neil
--
"Every great advance in natural knowledge has involved the absolute
rejection of authority."  - Thomas H. Huxley

Email - nshephard@gmail.com / n.shephard@sheffield.ac.uk
Website - http://slack.ser.man.ac.uk/
Photos - http://www.flickr.com/photos/slackline/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index