[comp.sys.laptops] Block cursor on T1000

portuesi@tweezers.esd.sgi.com (Michael Portuesi) (01/22/90)

Does anybody know how to change the cursor on the Toshiba T1000 from
an underline to a block?  I find it very frustrating trying to edit
text on the T1000, as I frequently lose track of the cursor and it is
very difficult to find on the LCD display.  I'm sure it's probably
done using the MODE command, but I don't know what magic incantation
to give it.

The editor I am using is Epsilon, from Lugaru Software (pretty much
Emacs for the PC).  If there are any Epsilon freaks in the audience
how know how to accomplish this bit of magic from within Epsilon, that
would do just as well.

				thanks,
				--M

-- 
__
\/  Michael Portuesi	Silicon Graphics Computer Systems, Inc.
    portuesi@SGI.COM	Entry Systems Division -- Engineering

geek@mit-amt.MEDIA.MIT.EDU (Chris Schmandt) (01/23/90)

In article <PORTUESI.90Jan22114204@tweezers.esd.sgi.com> portuesi@sgi.com (Michael Portuesi) writes:
>
>Does anybody know how to change the cursor on the Toshiba T1000 from
>an underline to a block?  I find it very frustrating trying to edit


The following code (block.asm) will turn the default underscore cursor
to a block.  I write it precisely for the application mentioned, i.e.,
running Epsilon on my T1000.   Assemble it, link it...
as is no warranties, etc. ect.  (but give me a break, it's only about
10 lines!)

I wrote this years ago.  Looking at it, the stack segment is probably
only to make the linker not complain.  Since the code never sets SS,
it uses the default stack from DOS.

chris

--------

        assume cs:code,ds:data,es:data,ss:stack

        public block

code    segment public

block   proc far

start:  push ds
        mov ax,0
        push ax

	mov	ch,0	;start at top
	mov	cl,0ch	;end at bottom
	mov	ah,1	;set cursor type
	int	10h
exit:   ret

block   endp

code    ends


data    segment

data    ends


stack   segment stack

        dw 200 dup(?)

stack   ends

        end start

        

ts@uwasa.fi (Timo Salmi LASK) (01/23/90)

In article <PORTUESI.90Jan22114204@tweezers.esd.sgi.com> portuesi@sgi.com (Michael Portuesi) writes:
>
>Does anybody know how to change the cursor on the Toshiba T1000 from
>an underline to a block?  I find it very frustrating trying to edit
>text on the T1000, as I frequently lose track of the cursor and it is
>very difficult to find on the LCD display.  I'm sure it's probably

Try the following package available by anonymous ftp from
chyde.uwasa.fi at Vaasa, Finland, directory /pc/ts.  There are also
other cursor size programs (one was posted some months ago in
comp.binaries.ibcm.pc).  See the 0contents files at our site or
SIMIBM.IDX at Simtel20 for these other cursor programs. 

Searching Archive: TSUTLD13.ARC - Fourth set of Utilities, T.Salmi
Filename        Comment                             Date      Time    CRC
--------        --------------------------------    ----      ----    ---
ADJCURS.BAT     Batch shell for adjusting cursor  11-24-89  18:53:02  8060
BIGCURS.EXE     Make cursor better visible        12-05-89  14:45:36  48D3
BIGNCURS.EXE    NonResident temporary big cursor  11-29-89  16:17:26  E7CA
FILES.EXE       File statistics of a device       12-06-89  14:02:54  EBA4
SWITCHAR.EXE    Makes Unix freaks feel at home    11-26-89  21:25:32  DB26
TODAY.EXE       Scan disk for files made today    10-16-89  08:04:34  6110
TSPROG.INF      List of PD programs from T.Salmi  10-28-89  16:59:34  D436
TSUTLD.INF      Document                          12-06-89  14:26:38  7A98
TSUTLD.NWS      News announcements about tsutld   12-06-89  09:25:30  212C
VAASA.INF       Info: Finland, Vaasa, U of Vaasa  06-23-89  08:30:20  88AB
----            ------             ------  -----
0010             69589              50256   28%

...................................................................
Prof. Timo Salmi        (Moderating at anon. ftp site 128.214.12.3)
School of Business Studies, University of Vaasa, SF-65101, Finland
Internet: ts@chyde.uwasa.fi Funet: vakk::salmi Bitnet: salmi@finfun

erc@khijol.UUCP (Ed Carp, aka Mr. Ed the talking horse...) (01/23/90)

In article <PORTUESI.90Jan22114204@tweezers.esd.sgi.com> portuesi@sgi.com (Michael Portuesi) writes:
>
>Does anybody know how to change the cursor on the Toshiba T1000 from
>an underline to a block?  I find it very frustrating trying to edit

Try the following:

c:/> debug block.com
-a
xxxx:0100 mov ch,1
          mov cl,6
          int 10
          ret
<C/R>
-rcx 9  # loads CX register with 9
-w      # writes out to block.com
-q
c:/> block

Your cursor should now be a block.  If you don't like the shape, try playing
with "mov cl,6".

If you want the line cursor back (although I don't know why), change "mov ch,1"
to "mov ch,6" and change "mov cl,6" to "mov cl,7".
-- 
Ed Carp                 N7EKG/5 (28.3-28.5)     uunet!cs.utexas.edu!khijol!erc
Austin, Texas           (512) 832-5884          "Good tea.  Nice house." - Worf
"The best diplomat I know of is a fully activated phaser bank."  -- Scotty

jstone@world.std.com (Jeffrey R Stone) (01/24/90)

Try CTYPE and STICK from PC-Magazine.  CTYPE lets you set the cursor
shape, and STICK is a TSR that keeps waking up and resetting that
shape.  Only problem is you lose the fat/thin shape change that WPs
use to indicate things like overstrike/insert mode or caps lock on/off.

I use these exactly as you wish to - Epsilon on a T1000.

-jeff-