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" <[email protected]>
To   [email protected]
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 <[email protected]> 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 - [email protected] / [email protected]
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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index