nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] more patch updates, etc.


From: David Lawrence Ramsey
Subject: [Nano-devel] more patch updates, etc.
Date: Sun, 19 Jan 2003 12:19:06 -0800 (PST)

All patches have been synced with nano 1.1.99-cvs (before the tweak to
do_preserve_msg(), though).

nanomiscbugs5.patch: I've reworked the cursor positioning code for the
prompt again, since it was being preserved when the prompt was exited
via other means than ^C or Enter.  The static variable containing the
position is now in statusq() (so that it can be reset whenever the
prompt is exited via one of the special keys in the switch statement at
the end), and it gets passed to nanogetstr().  That covers all of the
cases except one: when the user goes from the insert file prompt to the
file browser and selects a file without returning to statusq(); to deal
with that case, I've added a small function reset_prompt_x() that gets
called then.  (I hope I've finally gotten it right this time.)  I've
also put in a few more cosmetic cleanups, and I believe I've also fixed
the three bugs with opening files listed on DB's nano patches page
(although at the moment it's based on the current version of
open_file() and not his rewritten open_the_file()).

nanoverbatim.patch: I've generalized it so it's no longer just a hack
in main().  It works in main() still, and somewhat works at the prompt
(the prompt code appears to display the control characters literally,
and assumes all characters are one character wide when displayed; I
need to fix both of these eventually).  I've of course had to rewrite a
fair bit of it; do_verbatim_input() is in winio.c now, for example.

http://pooka_regent.tripod.com/patches/nano/nanomiscbugs5-patch.txt
http://pooka_regent.tripod.com/patches/nano/nanoverbatim-patch.txt

Be warned: I won't be able to do any more work on nano for a little
while, because my hard disk crashed a few hours ago, and I don't have
access to another Linux box yet.


_____________________________________________________________
Sluggy.Net: The Sluggy Freelance Community!

_____________________________________________________________
Select your own custom email address for FREE! Get address@hidden w/No Ads, 
6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag




reply via email to

[Prev in Thread] Current Thread [Next in Thread]