General :: How To Get Color While Editing File Through SSH Session
Nov 25, 2010
I use cygwin on Windows7 to open a ssh session to my linux box. When I edit a file with vim, I don't have color, only kind of gray bold. I have colors when I do a ls into my ssh session. I have also colors when I edit files from a ssh session from my linux box to my linux box. I modified the shortcut on Window7 to run cygwin in 256 colors, no effect. Do I need to set an environment variable on my cygwin session ?
On Cygwin and On Fedora when "sshed" from Gygwin : TERM=cygwin
I use ssh via KDE 4.4.3 konsole to connect to a 2.6.28-18-generic Ubuntu SMP machine,on which I use vim 7.2 and screen 4.00.03jw4. Within a screen session, the background color persists on the screen session even after closing vim. I dont know if this is a konsole or bash or screen or vim colorscheme problem.
I have a list of millions of filename in form of say "drau3DDFEA5E01205841DC1B277A". I need it convert it intousr/local/data/d/dr/dra/drau/drau3DDFEA5E01205841DC1B277AI believe that can be achieved by awk or sed.
I have samsung laptop and there is a nasty program called samsung recovery solution that changes the active partition to Windows each time you enter it. The trouble is: I have 2 OSes, Opensuse and Windows 7, and Grub that is installed in my Extended partition, so each time I enter this recovery program active flag is changed and Windows is loaded instead of grub. I have noticed some boot files in that program's folder, so the question is how can I edit them in most convenient manner? I have kde 4.5.3 is there some sort of included program that would help?
But any changes I make cannot be saved unless I'm in root. I might be doing this wrong, but I cannot log into root or figure out how to open this file as the root user. I'm still somewhat new to Linux, so could someone please give me an idiot-friendly step-by-step of what to do to open, edit, and save this file as a root user?
During my several experiment on linux I accidentally put the default runlevel to the value 6..thus before starting its going to restart ..currently running mint 9. there is only one way that somehow i can edit that file from grub command line.
I have the tar file of glibc-2.12.1, but now I want to edit the SPEC file. I can't find it. For those that want a "why", I'm trying to make it smaller. So simply, where is the SPEC file for glibc? (rpmbuild cannot find it in the *.tar.gz file).
I have a procedure say X output of X is : Fund name: Mutual NAV is: 1234
So I appended this output into a file using shellscript. But now my requirement is changed. The part of output like Fund name and 1234 should be in bold. How can I do this using shell script.
i have to upload a signature image(in jpeg format) to fill a recruitment form which says file-size must be of between 10-20 kb......i have scanned image which is of 9.5 kb.....tried to edit in shotwell photo manager....tried some random things in Adjust and crop menu but my little changes didn't work, it always shortened the file size......as i don't know anything about Image editing can someone tell me how can i increase the file size (>=10kb) i also tried gnome-screenshot to take the screenshot of the image, but it also saved the new image smaller than 10kb....
I am using cent os 5. When we turn on the PC I can see things which are going to be loaded and the status is [ok] in green colour. Which file linux uses for this process.
While thinstation is booting from localdrive then the shows repeatedly error displays after line welcome to thinstation cat: /tmp/ts/session not such file or directory even that i have kept file in loclal derive thinstation.profile/thinstation.conf.user
Anyone know how to get sound during the editing session of Cinelerra? Any ideas out there?
Looks like no sound in rendered file either! So no sound at all with Cinelerra....
p.s. I have sound working fine with all of my other programs. And working with same files on Kdenlive, Kino or Pitivi, all give me sound no problem. Running a basic Karmic Ubuntu Studio 32bit setup.
Can anyone answer me the color code of the linux file system?
Especially, for those which have different colors in the background also like some have green background colors and are written in green some have yellow background and are written in black,why is it so? Also please explain me the color code of other also.
I am using the screen app, and have set bce to on, and issued the following commands to set my background and foreground color: tput setab 4; clear; tput setaf 7; clear;
This temporarily sets everything properly on my screen. However, when I issue any commands that change or set their own background color (for example, when I issue an "ls" command with colorized output), the background color gets lost for any new output and I have to reissue the commands listed above in order to retrieve my background color.Ideally I'd like to keep my background color when issuing these commands, as it serves as a good way to remind me of what environment I am currently issuing commands in.
I had/have an old program which works on XP called PaperPort. It allows me to edit and fill in blank forms. I have been searching for something like that for Linux, and to date found nothing, Chances are that I am looking in the wrong places.
I did a pg_dump of our data warehouse, and it is 26 gigabytes. I wanted to load this data into a different database product (one that forked from Postgresql, so its syntax is very similar).I needed to change the syntax of the "COPY" command in the pg_dump output, remove references to "public", and change the table owner name. sed did these for me (albeit slowly). The output from pg_dump is a file called "pg-dump-output.sql".
I am a CS major and Iv'e been using vim with a custom rc file to do my editing... A professor suggested we can use kate with terminal for better speed so I thought I would give it a try. Unlike vim, geany, eclipse and others kate does not indent java code, for example after "{ <ENTER>" it should indent to the right 1 tab, but it does not, so I have to press <TAB> every time I go to new like, and I have to go back and forth for different statements...
This does not make things faster at all, Is this even possible? Any other editor suggestions that do not use GTK, but kde native Qt with terminal emulator?
Is there a place in my 10.04 OS that tells me the meaning of the colors of files? I have a folder that I moved to my home directory when i upgraded from 9.10 to 10.04. In that folder was a .tar.gz file that was green - I then deleted that file and ran another compression command - same files, same everything, but when I ran it this time, it is now red. Any ideas. I'd like to know what the color indication is on any given file.
I am working with a template.css file, and I want to change the color of the font in part of the header from black to blue. Is there syntax that can be inserted into the file to accomplish this?
Problem is to boot fedora. On my system I have 3 HDD on 1st - 2 partition (1)XP (2) free space for data NTFS on 2d - 1 partition (1) Win Serv 2003 on 3d - 3 partitions (1) free space for data NTFS (2) /boot (3) Fedora 12
After installation boot manager doesn't see fedora! Only give me option to run XP or 2003. Another problem Fedora 12 Live CD doesn't work for my graphic. I see some quick text after lanch and then black screen but still understand that there going some processes under that black screen, than it looks like stop and w8 for my decision which I cant make cause don't see what is there going on. So there no chance to get under linux after instalation and no chance using live CD to install GRUB and I need some how edit boot.ini in windows to make it appear fedora in boot menu.
My current boot.ini looks like that: Code: [boot loader] timeout=30 default=multi(0)disk(0)rdisk(1)partition(1)WINDOWS [operating systems] multi(0)disk(0)rdisk(1)partition(1)WINDOWS="Windows Server 2003 Enterprise x64 Edition" /noexecute=optout /fastdetect multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect how should looks 3d line? Code: multi(0)disk(0)rdisk(2)partition(3)Linux="Fedora 12" /noexecute=optin /fastdetect like this?
How to disable popups in Firefox by editing prefs.js file like the same way you do it by going to Edit-Preferences-Content and unselecting the Block PopUps box. I need to do this through a script thus i need to edit preference file directly.