Re: automatic gvim start and problems
On 5/19/06, roberto [EMAIL PROTECTED] wrote: On 5/18/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 5/18/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 5/18/06, roberto [EMAIL PROTECTED] wrote: actually this is what happens: it opens one window splitted in two, with half of it showing (1) polar_bal.c and the other showing (2) polar_angle_d.c but then it also open another blank window with the usual welcome screen of gvim this is bad, the former is good, i mean i want only one window not two... Can you post a screenshot ? It's unusual what happens to you. here it is a screenshot, now i try to be clearer: these are the sessions saved and automatically opened upon login, this is my previously stated script start.sh placed in ~/.kde/Autostart : # -# # General Options# # -# # restore previous session(s) for gvim # session for general options /usr/bin/gvim -S ~/Session.vim # /usr/bin/gvim -S ~/Sessionpaper06.vim # session for papers /usr/bin/gvim -S ~/Sessionpapers07.vim # -# # -# # gps_calculations # # -# # session for polar_angle_* /usr/bin/gvim -S ~/Session_polar_abc.vim /usr/bin/gvim -S ~/Session_polar_d.vim # then, all files contained in those sections are correctly opened, BUT, in advance, also other 4 blank new windows of gvim are opened, whose screenshot i attached here and they are named: GVIM4; GVIM5; GVIM6; GVIM7 with no file in them... I have a feeling that you have some other script that starts gvim's that you or somebody once created and that starts additional gvim's. 1. I suggest that you comment out 3 gvim lines in .kde/Autostart and do logout/login and see if any gvims appear. 2. If they some gvim(s) appear, you need to find which script starts them. (3) If go gvims appear, then uncomment only 1 (one) gvim line in .kde/Autostart, and do logout/login, and see what hapens when you have one, not three gvim lines in Autostart script Yakov
automatic gvim start and problems
hi all i work with gvim 6.3.71 using 3-4 windows at the same time; i save them all using the following script that is automatically executed upon start of kde 3.3 being saved in ~/.kde/Autostart # start.sh # session for polar_angle_* # /usr/bin/gvim -S ~/codes/polar_angle/Session_polar_abc.vim /usr/bin/gvim -S ~/codes/polar_angle/Session_polar_d.vim # when i re-login all files are opened in the correct way but if, say, i had 4 windows of gvim then i see the 4 windows and also other 4 windows of gvim with the welcome screen; the same happen with any other number of gvim windows and so on if anyone can help me on this thank you very much -- roberto OS: GNU/Linux, Debian Sarge -- roberto OS: GNU/Linux, Debian Sarge
Re: automatic gvim start and problems
On 5/18/06, roberto [EMAIL PROTECTED] wrote: hi all i work with gvim 6.3.71 using 3-4 windows at the same time; i save them all using the following script that is automatically executed upon start of kde 3.3 being saved in ~/.kde/Autostart # start.sh # session for polar_angle_* # /usr/bin/gvim -S ~/codes/polar_angle/Session_polar_abc.vim /usr/bin/gvim -S ~/codes/polar_angle/Session_polar_d.vim # when i re-login all files are opened in the correct way but if, say, i had 4 windows of gvim then i see the 4 windows and also other 4 windows of gvim with the welcome screen; the same happen with any other number of gvim windows and so on if anyone can help me on this thank you very much You need to atttach examples you your real session files (Session_polar_abc.vim , Session_polar_d.vim) for this to be answerable. Yakov
Re: automatic gvim start and problems
On 5/18/06, roberto [EMAIL PROTECTED] wrote: On 5/18/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 5/18/06, roberto [EMAIL PROTECTED] wrote: # start.sh # session for polar_angle_* # /usr/bin/gvim -S ~/codes/polar_angle/Session_polar_abc.vim /usr/bin/gvim -S ~/codes/polar_angle/Session_polar_d.vim # when i re-login all files are opened in the correct way but if, say, i had 4 windows of gvim then i see the 4 windows and also other 4 windows of gvim with the welcome screen; the same happen with any other number of gvim windows and so on You need to atttach examples you your real session files (Session_polar_abc.vim , Session_polar_d.vim) for this to be answerable. here it is: i paste only one since it is extremely long... Opens two windows for me: (1) polar_bal.c and (2) polar_angle_d.c Is this good or bad ? Yakov
Re: automatic gvim start and problems
On 5/18/06, Yakov Lerner [EMAIL PROTECTED] wrote: Opens two windows for me: (1) polar_bal.c and (2) polar_angle_d.c Is this good or bad ? Yakov actually this is what happens: it opens one window splitted in two, with half of it showing (1) polar_bal.c and the other showing (2) polar_angle_d.c but then it also open another blank window with the usual welcome screen of gvim this is bad, the former is good, i mean i want only one window not two... -- roberto OS: GNU/Linux, Debian Sarge
Re: automatic gvim start and problems
On 5/18/06, roberto [EMAIL PROTECTED] wrote: On 5/18/06, Yakov Lerner [EMAIL PROTECTED] wrote: Opens two windows for me: (1) polar_bal.c and (2) polar_angle_d.c Is this good or bad ? Yakov actually this is what happens: it opens one window splitted in two, with half of it showing (1) polar_bal.c and the other showing (2) polar_angle_d.c but then it also open another blank window with the usual welcome screen of gvim this is bad, the former is good, i mean i want only one window not two... Yes it opens one GUI window split in two for me. Does not open 2nd blank window for me, no. Something is broken in your environment, roberto. 6.3 is old. Maybe it's time to install vim6.4 or vim7. Try to check on another machine in your neighborhood. Looks like something special on your machine. Yakov
Re: automatic gvim start and problems
roberto wrote: On 5/18/06, Yakov Lerner [EMAIL PROTECTED] wrote: Opens two windows for me: (1) polar_bal.c and (2) polar_angle_d.c Is this good or bad ? Yakov actually this is what happens: it opens one window splitted in two, with half of it showing (1) polar_bal.c and the other showing (2) polar_angle_d.c but then it also open another blank window with the usual welcome screen of gvim this is bad, the former is good, i mean i want only one window not two... Well, how do you invoke it? I woiuld expect that invoking Vim just once with a -S argument would have it open what is known in vimspeak as two windows, i.e., one window (as you name them) split in two. See :help -S Best regards, Tony.
Re: automatic gvim start and problems
On 5/18/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 5/18/06, roberto [EMAIL PROTECTED] wrote: On 5/18/06, Yakov Lerner [EMAIL PROTECTED] wrote: Opens two windows for me: (1) polar_bal.c and (2) polar_angle_d.c Is this good or bad ? Yakov actually this is what happens: it opens one window splitted in two, with half of it showing (1) polar_bal.c and the other showing (2) polar_angle_d.c but then it also open another blank window with the usual welcome screen of gvim this is bad, the former is good, i mean i want only one window not two... Can you post a screenshot ? It's unusual what happens to you. Yakov