Statalist The Stata Listserver


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

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


From   Dave Ewart <davee@ceu.ox.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   st: Keymappings/backspace/insert/overwrite using Stata/Linux at the console
Date   Tue, 15 May 2007 17:02:06 +0100

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.

Is there any way to modify the way Stata behaves in this regard?

Dave.

-- 
Dave Ewart
davee@ceu.ox.ac.uk
Computing Manager, Cancer Epidemiology Unit
Cancer Research UK / Oxford University
PGP: CC70 1883 BD92 E665 B840 118B 6E94 2CFD 694D E370
Get key from http://www.ceu.ox.ac.uk/~davee/davee-ceu-ox-ac-uk.asc
N 51.7518, W 1.2016

Attachment: signature.asc
Description: Digital signature




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