Re: [vox-tech] Can a User Write To Windows Partition?
Each file system type has its own set of options. Adding those extra options probably won't affect a VFAT partition in anyway (it'll probably be ignored.) `man mount` has the list of standard file systems and the options applicable for each FS. Good luck! -Mark PS: acl = access control list, user_xattr = User extended attributes... neither feature is available on VFAT. I've never seen user extended attributes but ACL is used kind of like the standard UNIX user/group permissions control but it gives you extended features. Never used it much but the UC Davis EE department uses it on their network. On Sat, 11 Dec 2004, Robert G. Scofield wrote: On Saturday 11 December 2004 18:24, Ken Bloom wrote: Here's an fstab entry I have on 2.6: /dev/hda6 /home/bloom/vfat vfat defaults,uid=1000,gid=1000,fmask=177,dmask=077 0 2 Note that in a real fstab file, that would all be on one line. This gives me rw--- on files and rwx-- on directories. Note that you need x on directories in order to cd to them I might try an entry like that. But consider the entry below for my home directory: /dev/hdb7/homereiserfs acl,user_xattr1 2 I don't know what acl,user_xattr means. But what if I added that entry to my Windows partition. Do you think that would work without ruining something? Thank you. Bob ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech -- Mark K. Kim AIM: markus kimius Homepage: http://www.cbreak.org/ Xanga: http://www.xanga.com/vindaci Friendster: http://www.friendster.com/user.php?uid=13046 PGP key fingerprint: 7324 BACA 53AD E504 A76E 5167 6822 94F0 F298 5DCE PGP key available on the homepage ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] Xterm and terminal types
On Saturday 11 December 2004 06:13 pm, Ken Bloom wrote: http://developer.gnome.org/doc/API/2.0/vte/vteterminal.html look at vte_terminal_set_emulation() You may need to add this line to the appropriate place in Gnome Terminal, but I don't know what it is. As always, reply when you've tried it so that the googlers can find out whether it worked. Thanks Ken. It will be a few days before I can try anything, but it appears I can build VTE with the configure option --with-default-emulation=scoansi. Perhaps that would be sufficient, since grepping the gnome-terminal source for vte_terminal_set_emulation yields no matches. -- Rod ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] Xterm and terminal types
On Sun, 12 Dec 2004 08:46:42 -0800 Rod Roark [EMAIL PROTECTED] wrote: On Saturday 11 December 2004 06:13 pm, Ken Bloom wrote: http://developer.gnome.org/doc/API/2.0/vte/vteterminal.html look at vte_terminal_set_emulation() You may need to add this line to the appropriate place in Gnome Terminal, but I don't know what it is. As always, reply when you've tried it so that the googlers can find out whether it worked. Thanks Ken. It will be a few days before I can try anything, but it appears I can build VTE with the configure option --with-default-emulation=scoansi. Perhaps that would be sufficient, since grepping the gnome-terminal source for vte_terminal_set_emulation yields no matches. I haven't gotten this to work (ls spits out random junk, clear complains that it doesn't know what an scoansi termianl is, vim looks strange, and also complains that it doesn't know what an scoansi is), but is it possible you want code like this? Note that you'll want to install the appropriate package containing a termcap file. Debian doesn't install one unless something depends on it. --- gnome-terminal-orig/src/terminal-screen.c 2004-12-12 10:24:57.0 -0800 +++ gnome-terminal-2.8.0/src/terminal-screen.c 2004-12-12 10:43:49.0 -0800 @@ -1069,7 +1069,7 @@ retval[i] = g_strdup (COLORTERM=EXECUTABLE_NAME); ++i; - retval[i] = g_strdup (TERM=xterm); /* FIXME configurable later? */ + retval[i] = g_strdup (TERM=scoansi); /* FIXME configurable later? */ ++i; retval[i] = g_strdup_printf (WINDOWID=%ld, GDK_WINDOW_XWINDOW (term-window)); diff -uNr gnome-terminal-orig/src/terminal-widget-vte.c gnome-terminal-2.8.0/src/terminal-widget-vte.c --- gnome-terminal-orig/src/terminal-widget-vte.c 2004-12-12 10:24:57.0 -0800 +++ gnome-terminal-2.8.0/src/terminal-widget-vte.c 2004-12-12 10:43:49.0 -0800 @@ -64,6 +64,7 @@ terminal = vte_terminal_new (); vte_terminal_set_mouse_autohide(VTE_TERMINAL(terminal), TRUE); + vte_terminal_set_emulation(VTE_TERMINAL(terminal), scoansi); data = g_new0 (VteData, 1); -- I usually have a GPG digital signature included as an attachment. See http://www.gnupg.org/ for info about these digital signatures. pgpsvWZqtVb0l.pgp Description: PGP signature ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] Xterm and terminal types
On Sunday 12 December 2004 10:51 am, Ken Bloom wrote: On Sun, 12 Dec 2004 08:46:42 -0800 Rod Roark [EMAIL PROTECTED] wrote: On Saturday 11 December 2004 06:13 pm, Ken Bloom wrote: http://developer.gnome.org/doc/API/2.0/vte/vteterminal.html look at vte_terminal_set_emulation() You may need to add this line to the appropriate place in Gnome Terminal, but I don't know what it is. As always, reply when you've tried it so that the googlers can find out whether it worked. Thanks Ken. It will be a few days before I can try anything, but it appears I can build VTE with the configure option --with-default-emulation=scoansi. Perhaps that would be sufficient, since grepping the gnome-terminal source for vte_terminal_set_emulation yields no matches. I haven't gotten this to work (ls spits out random junk, clear complains that it doesn't know what an scoansi termianl is, vim looks strange, and also complains that it doesn't know what an scoansi is), but is it possible you want code like this? Yeah I think so. The idea is to bring up the terminal app and then immediately telnet or ssh into the sco box. Then the sco apps will spit out scoansi doodoo and the hacked-up gnome-terminal will hopefully understand it. So assuming you are not connecting to an sco machine, what you are describing is exactly what I'd expect. Note that you'll want to install the appropriate package containing a termcap file. Debian doesn't install one unless something depends on it. Probably I'll install Fedora Core 3 which does install a /etc/termcap with scoansi stuff included. I assume that is what you mean? --- gnome-terminal-orig/src/terminal-screen.c 2004-12-12 10:24:57.0 -0800 +++ gnome-terminal-2.8.0/src/terminal-screen.c 2004-12-12 10:43:49.0 -0800 @@ -1069,7 +1069,7 @@ retval[i] = g_strdup (COLORTERM=EXECUTABLE_NAME); ++i; - retval[i] = g_strdup (TERM=xterm); /* FIXME configurable later? */ + retval[i] = g_strdup (TERM=scoansi); /* FIXME configurable later? */ ++i; retval[i] = g_strdup_printf (WINDOWID=%ld, GDK_WINDOW_XWINDOW (term-window)); diff -uNr gnome-terminal-orig/src/terminal-widget-vte.c gnome-terminal-2.8.0/src/terminal-widget-vte.c --- gnome-terminal-orig/src/terminal-widget-vte.c 2004-12-12 10:24:57.0 -0800 +++ gnome-terminal-2.8.0/src/terminal-widget-vte.c 2004-12-12 10:43:49.0 -0800 @@ -64,6 +64,7 @@ terminal = vte_terminal_new (); vte_terminal_set_mouse_autohide(VTE_TERMINAL(terminal), TRUE); + vte_terminal_set_emulation(VTE_TERMINAL(terminal), scoansi); data = g_new0 (VteData, 1); Are these patches that you applied, or did they come from ./configure --with-default-emulation=scoansi? -- Rod ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] Xterm and terminal types
On Sun, Dec 12, 2004 at 10:51:37AM -0800, Ken Bloom wrote: snip - retval[i] = g_strdup (TERM=xterm); /* FIXME configurable later? */ + retval[i] = g_strdup (TERM=scoansi); /* FIXME configurable later? */ snip Heh... I love that. Comment. :^) Perhaps one of us should fix it to make it configurable, and send the upstream a patch? ;) -bill! ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] Xterm and terminal types
On Sun, Dec 12, 2004 at 03:00:39PM -0800, Bill Kendrick wrote: Heh... I love that. Comment. :^) Er... I love that comment. -bill! (suddenly... I sound like... William... Shatner) ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] Xterm and terminal types
On Sun, 12 Dec 2004 12:30:14 -0800 Rod Roark [EMAIL PROTECTED] wrote: On Sunday 12 December 2004 10:51 am, Ken Bloom wrote: On Sun, 12 Dec 2004 08:46:42 -0800 Rod Roark [EMAIL PROTECTED] wrote: On Saturday 11 December 2004 06:13 pm, Ken Bloom wrote: http://developer.gnome.org/doc/API/2.0/vte/vteterminal.html look at vte_terminal_set_emulation() You may need to add this line to the appropriate place in Gnome Terminal, but I don't know what it is. As always, reply when you've tried it so that the googlers can find out whether it worked. Thanks Ken. It will be a few days before I can try anything, but it appears I can build VTE with the configure option --with-default-emulation=scoansi. Perhaps that would be sufficient, since grepping the gnome-terminal source for vte_terminal_set_emulation yields no matches. I haven't gotten this to work (ls spits out random junk, clear complains that it doesn't know what an scoansi termianl is, vim looks strange, and also complains that it doesn't know what an scoansi is), but is it possible you want code like this? Yeah I think so. The idea is to bring up the terminal app and then immediately telnet or ssh into the sco box. Then the sco apps will spit out scoansi doodoo and the hacked-up gnome-terminal will hopefully understand it. So assuming you are not connecting to an sco machine, what you are describing is exactly what I'd expect. Well, I should be able to configure my applications locally here to be able to speak to such a terminal. Here's the deal with termcaps and terminfos: in Debian, the termcap information is found in the termcap-compat package, which includes the termcap file - basically a monolithic file full of termcap entries. Nothing in debian depends on termcap - they all use terminfo. in Debian, a few of the basic terminfo entries are found in ncurses-base, and the rest (including scoansi) are found in ncurses-term When I first tested this patch, I didn't have ncurses-term installed. Now that I installed ncurses-term, things still don't look right, but they didn't look right in this terminal after I ran $ export TERM=xterm either, so I assume it's trying to emulate scoansi now rather than xterm. But this is the YMMV part of the experiment. Let us know how it goes. Note that you'll want to install the appropriate package containing a termcap file. Debian doesn't install one unless something depends on it. Probably I'll install Fedora Core 3 which does install a /etc/termcap with scoansi stuff included. I assume that is what you mean? --- gnome-terminal-orig/src/terminal-screen.c 2004-12-12 10:24:57.0 -0800+++ gnome-terminal-2.8.0/src/terminal-screen.c 2004-12-12 10:43:49.0 -0800@@ -1069,7 +1069,7 @@ retval[i] = g_strdup (COLORTERM=EXECUTABLE_NAME); ++i; - retval[i] = g_strdup (TERM=xterm); /* FIXME configurable later? */+ retval[i] = g_strdup (TERM=scoansi); /* FIXME configurable later? */ ++i; retval[i] = g_strdup_printf (WINDOWID=%ld, GDK_WINDOW_XWINDOW (term-window)); diff -uNr gnome-terminal-orig/src/terminal-widget-vte.c gnome-terminal-2.8.0/src/terminal-widget-vte.c--- gnome-terminal-orig/src/terminal-widget-vte.c 2004-12-12 10:24:57.0 -0800+++ gnome-terminal-2.8.0/src/terminal-widget-vte.c 2004-12-12 10:43:49.0 -0800@@ -64,6 +64,7 @@ terminal = vte_terminal_new (); vte_terminal_set_mouse_autohide(VTE_TERMINAL(terminal), TRUE); + vte_terminal_set_emulation(VTE_TERMINAL(terminal), scoansi); data = g_new0 (VteData, 1); Are these patches that you applied, or did they come from ./configure --with-default-emulation=scoansi? This is a patch file generated from manual changes I made directly to debian sid's current gnome-terminal sources. -- I usually have a GPG digital signature included as an attachment. See http://www.gnupg.org/ for info about these digital signatures. pgpk23l5anMQU.pgp Description: PGP signature ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech