Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Bug report - menu bar still active in hidden state (Announce)

posted by nidud E-mail, Norway, 12.08.2010, 15:49

> It's probably ok if you're used to a 2-finger-system for typing. However,
> if you're used to use your keyboard blindly, then it becomes difficult to
> find the right keys with one hand while the other is busy holding down CTRL
> and ALT.

:-)

I still don?t have any problem of covering the left side of the keyboard with my left hand, but it is (as you say) a bit difficult, and I would not recommend writing a document in this way. It works if the search string is 1-3 chars, but to write longer strings will be a bit irritating.

So, a quick fix could then be applied as follow (src/dzmain/cmquicks.asm - line 197):

AND AL,1100B
CMP AL,1100B
JE QUICKSEARCH_01

and change this to:

and al,100B
jnz QUICKSEARCH_01

Now the Quick search will activate using Ctrl+Alt, but when activated you can release the Alt key and start typing while still holding down the Ctrl-key (assuming you are able to hold down the Shift-key while typing).

I will also assume (as mention above) that the target of the search if files and not directories, so I will see if it is posible to change this in the next release.

While you add it (80x35):

src/clib/conio/console/consinit.asm (line 83):

mov ax,0003h ; this clears the screen
int 10h
call setcursor ; restore cursor
call rcclose ; restore screen
pop ax
cmp al,49
jne set_25
mov ax,1202h ; set scanline to 400
mov bx,0030h
int 10h
mov ax,1112h ; load 8x8 font
xor bx,bx
int 10h

I will assume that other dos programs may reset the mode to 25 lines, so if
you want this to be the default setting, you could replace the 50 line setup with 35. In this way the program will reset to 35 lines on startup.

 

Complete thread:

Back to the forum
Board view  Mix view
22780 Postings in 2123 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum