Re: ncurses' Dark Devilry



On 2005-11-29, Greg Ewing <greg@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Christopher Subich wrote:
>
>> Why not wrap your 1-3 in a function of your own?
>
> It sounds like the OP is concerned about the visual effect of
> the cursor moving on the screen while characters are written.
>
> I doubt whether curses provides any way of controlling that.
> Curses was designed for glass ttys, on most of which it is
> physically impossible to write characters without the cursor
> moving. The best you can do is move it back to where you want
> it afterwards.

While you do have to move the cursor to the location where you
want to write, some terminals allow you to make the cursor
invisible. This can reduce the visual distraction when you
need to update something on the screen that isn't where the
cursor belongs (from the user's point of view).

--
Grant Edwards grante Yow! Like I always
at say -- nothing can beat
visi.com the BRATWURST here in
DUSSELDORF!!
.



Relevant Pages

  • Re: How to insert a * in certain controls when Enter is pressed.
    ... Function StarEnter(ctl As Control, KeyCode As Integer, Shift As Integer) ... Dim strPrior As String 'Text before the cursor. ... Dim iSelStart As Integer 'Where cursor is. ... 'SelStart can't cope with more than 32k characters. ...
    (microsoft.public.access.formscoding)
  • Re: How to insert a * in certain controls when Enter is pressed.
    ... 'Assign prior characters, star, enter, and later characters. ... 'Put the cursor back where it as, after the CR, LF, and *. ... Function StarEnter(ctl As Control, KeyCode As Integer, Shift As Integer) ... Dim iSelStart As Integer 'Where cursor is. ...
    (microsoft.public.access.formscoding)
  • Re: Does anyone know how to do this
    ... characters which moves the paper...and so on and so forth... ... "cursor left" character would be a "carriage return" that just doesn't ... it _will_ work without needing "DirectX" and OS layers and device ... Graphics workstation that would print up control characters using ...
    (alt.lang.asm)
  • Re: How to insert a * in certain controls when Enter is pressed.
    ... Function StarEnter(ctl As Control, KeyCode As Integer, Shift As Integer) ... Dim strPrior As String 'Text before the cursor. ... Dim iSelStart As Integer 'Where cursor is. ... 'SelStart can't cope with more than 32k characters. ...
    (microsoft.public.access.formscoding)
  • Re: How to insert a * in certain controls when Enter is pressed.
    ... Function StarEnter(ctl As Control, KeyCode As Integer, Shift As Integer) ... Dim strPrior As String 'Text before the cursor. ... Dim iSelStart As Integer 'Where cursor is. ... 'SelStart can't cope with more than 32k characters. ...
    (microsoft.public.access.formscoding)