General :: Preventing The Pager Less From Exiting When Scrolling Beyond The End Of File?
Apr 4, 2011
I like less and use it as my default pager in Linux. However, there are times that I am scrolling down through a large document quickly and less exits when I reach the end of the document before I have time to stop scrolling. I'd like less to exit only I type q, and not because I ask it to scroll beyond the end of the document. Is that possible?
View 1 Replies
ADVERTISEMENT
Aug 30, 2010
I am currently using the windows version of gVim to edit source files on a networked drive mapped to a linux system, as well as local files created in cygwin.
The problem is that the windows version of gVim destroys the original file permissions on the respective systems. IE: Files on cygwin are defaulted to 077. When edited by the windows version of vim they are saved as 777.This problem doesn't even occur when using ms-notepad (as well as all other editors I've tried), so I am not quite sure why gVim does it.
A possible solution would be to use cygwin's gVim for everything, but that's rather cumbersome as it requires running an x11 environment to support it, and it causes some problems when running some commands from within gVim (or vim for that matter) when working on the networked drive.
Any ideas how I might be able to maintain the existing file permissions?
This morning while on a different machine the problem with cygwin did not occur. Cygwin & gVim were the same version, however the other machine is running WinXP while the machine the problem is occurring on runs Win7.
View 1 Replies
View Related
Aug 10, 2011
less & more are both the pager commands. Any major difference
View 4 Replies
View Related
Oct 28, 2010
Is there any gedit plugin, which expands folders of file browser side pane and shows currently editing file, while user switches between tabs?
View 1 Replies
View Related
Nov 5, 2010
What methods exits to restrict which directories a user may browse on the filesystem. I want to prevent php scripts from being able to view system files. I've seen two solutions, but neither are satisfactory:Chrooting a directory that the script is in, but this requires that all the necessary php libraries/files are moved/copied into the right place relative to the chroot directory. I don't feel that I have the technical ability to achieve this.Putting php into safe mode and disabling *nasty* php functions. But this is ineffective if just one obscure *bad* php function is missed.
View 5 Replies
View Related
Dec 1, 2010
I've just recently put Ubuntu on my 2010 Macbook Pro 13 inch, and all seems to be running more or less alright.One thing i miss from OS X is the ability to reverse the scrolling direction, also inertial scrolling.Is there any way to implement this in Ubuntu?Also, i have already installed the Mactel trackpad drivers.
View 2 Replies
View Related
Feb 15, 2011
i am using 10.04 , and i have installed lxde successfully and i try to use compiz . Yes, it can work , but the only problem with it is i can't add desktop while compiz being used as window manager . when compiz is activated , the desktop is always one , cant change to 2,3 or 4.
View 3 Replies
View Related
Aug 19, 2011
I cannot click with the mouse on the pager anymore to switch desktops. The hot keys are still working.This happened during normal use, I didn't restart the system nor did I do anything special.
View 1 Replies
View Related
Jun 5, 2010
I was wondering if there is a way of knowing the size of a file just by positioning the mouse over that file?
View 2 Replies
View Related
Nov 26, 2010
I want to launch a gnome-terminal with a korn shell, and I want to specify in advance a command to execute, and then hand control back over to ksh. ex.
Code:
gnome-terminal --execute ksh -ic ls
I expect that to run ksh, do an 'ls' for example, and then give a prompt. I thought the -i switch (for interactive) meant that the shell would resume control, but this doesn't happen. The window just closes quicker than I can see what was output.
View 3 Replies
View Related
Jun 6, 2015
I have installed the LXDE desktop on my Debian Testing setup (It also has XFCE desktop installed). On the LXDE desktop I am trying to increase the virtual desktops from 2 to 4 desktops but every time I right click on the desktop pager icon on the task bar and then click on Desktop Pager Setting (from the menu that appears), nothing happens I don't get any configuration window for the desktop pager. AM I missing something from my install of LXDE??
View 3 Replies
View Related
Feb 24, 2011
cups does not start with the server. When I try to start from the terminal I get the error message
cupsd: Unable to read configuration file '/etc/cups/cupsd.conf' - exiting!
cupsd: Child exited with status 1!
The log files show nothing. cupsd.conf exists. It is user - root and group - root with permissions set at 0644.
My interpretation of this is that the program is not launching from either boot or terminal for a fundamental reason. I do not quite see what that reason is .
View 2 Replies
View Related
Oct 18, 2010
I have tried to install ns-allinone-2.29.....i followed the process given on the net....everything got installed properly except tcl and i got the following message tcl8.3.2 configuration failed! Exiting.... Tcl is not part of the ns project
View 3 Replies
View Related
Jun 14, 2011
i need to restrict access of deleting to directory and partitions os disk? how do i do it?
View 5 Replies
View Related
Aug 30, 2011
Does anyone know of a linux utility which will prevent all memory in a forked process from being swapped out to disk? I've seen the 'mlockall' call, but hacking the app sounds like overkill.My reason for needing this is that I'm running Windows XP under VirtualBox on my linux netbook, and I'm concerned there are basically two levels of swapping going on, which on a single dinky netbook hard disk isn't
View 3 Replies
View Related
May 1, 2011
I'm in the process of installing the usual Python/Numpy/Scipy/Matplotlib combination. I'm using the installed version of Python (2.7) on Ubuntu 11.04 but I've compiled Numpy and Scipy (and ATLAS/LAPACK etc.) from source. I now want to install matplotlib from the repositories but every time I do python-numpy is installed as a dependency of python-matplotlib. I've tried "apt-get hold python-numpy" etc. and also locking the version of each package in synaptic but both synaptic and apt-get will happily install the packages when requested, I assume because hold/lock version don't work on packages that aren't yet installed.
How can I prevent these packages being installed? Or is there a way to tell Ubuntu that I already have versions?
View 6 Replies
View Related
Feb 26, 2010
I decided to hit the update icon.It did not finish updating before the power was interrupted. How I get an Error occurred. stating, " E:dpkg was interrupted, you must manually run'dpkg--configure -a'to correct the problem. E:_cache->open()failed,please report. I am lost how to correct this script error.I am sure it is easy. I can open google earth that was downloaded, but not the web.
View 4 Replies
View Related
Jul 1, 2010
I tried to install fedora in my pc. First I insert fedora dvd and install as per procedure then finally system says like that your installation is completed please reboot ur system. So, before reboot I tried to eject my fedora dvd but it couldn't come out. So after click reboot I eject that dvd. And I got error msg like "media test failure exiting intel boot agent". How can I overcome this error.
View 3 Replies
View Related
May 21, 2010
I need to prevent udev from creating the /dev/v4l/by-path/* and /dev/v4l/by-id/* files upon connecting my webcam. The problem is that Kopete doesn't want to display the video if these files are present. It works fine if I remove them, but I'd rather not have them created in the first place, since they seem to be completely useless anyway.
View 4 Replies
View Related
Jul 13, 2011
just did a dual boot or whatever you call it last night)and I can't figure out how to connect to my home wireless internet. I checked in one of the menus, and it says "firmware missing". Does anybody have an idea of what I need to do to fix this? If I haven't been specific enough, please ask for more information. I'm not really sure what to include.
View 1 Replies
View Related
Sep 24, 2010
I'm trying to run a shell script on a kern board (av1100) that shows some text output on the attached screen. The big problem is that the screen goes to blank in like 2 minutes.I'd just like to have the script showing it's output while the thing is on.Isn't there a command to stop the screen from going to blank?p.s. there is no bash available, just #!/bin/sh
Code:
#!/bin/sh
###########################################################
[code]....
View 2 Replies
View Related
Apr 24, 2010
I'm using rxvt-unicode version 9.06 at Ubuntu 9.10. I was used to aterm, where you can use SHIFT + up/down arrow to scroll the printed output with a line up or down. You can also use SHIFT + pgup/pgdown to scroll one screen up or down.In urxvt I can use the pgup/pgdown combination as well, but can't use the up/down arrow combination. It is very useful to be able to scroll by single lines. Do you have any idea how to enable the up/down arrow scrolling?
View 1 Replies
View Related
Jul 20, 2010
im installing gentoo on to my lappy and i have one problem if i do a command like help or something to that affect half of the commands dissapper so how do i scroll on it
View 7 Replies
View Related
Apr 3, 2011
Suppose the cursor is in line 20. I want now to scroll one line at a time but I want the cursor to remain at line 20. How is this done?
View 3 Replies
View Related
Jul 10, 2011
Recently my mouse fell on the ground and now whenever I move it, it scrolls to left or right insanely! (the problem is with the mouse, it scrolls to left/right all the time)I'm wondering how can I disable horizontal scrolling only for my mouse and not my touchpad.It's really annoying wherever there's a horizotal scrollbar or horizontal scrolling can be used on it!
View 1 Replies
View Related
Dec 14, 2010
In the web browsers I know, by pressing the space bar you scroll down one "page", lets call it. To effect the opposite motion, you can press <PageUp> or <Backspace>. But I can't believe there is not a key or key combination nearer the space bar to scroll pages up.In less, you can use the space bar and the b key, and you see how this key has strategically been chosen, as it is close to the space bar. Also, they lie near the bottom of the keyboard, a comfortable spot to place one's fingers.So, is there a pair of keys, one for page scroll up, the other for page scroll down, and such that one is next to the other and at the same time near the bottom of the keyboard in the most used web browsers or in some of its styles?
View 2 Replies
View Related
Jul 21, 2010
I have this problem. It seems like a new problem to me, but maybe it isn't. When I scroll in web browsers its really slow and erratic but when I'm in nautilus is fine. What could the problem be?
View 1 Replies
View Related
Jan 28, 2010
I am using emacs 23.1.1 on Ubuntu 9.04, kernel 2.6.28-17-generic. When I scroll up and down in a file, occasionally some of the lines are not refreshed properly. i.e. if a line with a lot of text is replaced with a line that has little text, some of the old text that used to be on the line remains (see attached screenshot,near the bottom).
I have the same problem in Kile, so it must not be a bug with either program directly (I think?). I do not have the problem with gedit.
For the record, the emacs message buffer contains the following on startup
Quote:
View 1 Replies
View Related
Jan 4, 2011
I moved from a Linux environment from one company to another and one annoying difference came out:When I used to run an application in a terminal (no GUI), the transcript lines were presented one the window - when the window was full then the scrolling of the lines would continue only if one hit the space bar to proceed (of course waiting to user input did not stop the run).
In the new environment the behavior is different - transcript lines keep going on and on so I need to scroll up - and moreover each page-up command is cancelled by the new lines appearing.perhaps this is also reproduce with other Linux commands , say "find" or "ls".
View 4 Replies
View Related
Mar 10, 2011
I need some help in determining how to have a color splash image display in place of the Linux scrolling-text during the boot-up process on an embedded Linux device. The kernel used is a stripped-down version of Linux (kernel 2.6.29), which has been custom configured. I am using syslinux as the bootloader. I was told that Plymouth might be the way to go with this, but I'm not sure.
View 7 Replies
View Related