[vox-tech] help with script

Rhonda Frances Bailey vox-tech@lists.lugod.org
Thu, 3 Oct 2002 08:02:59 -0700 (PDT)


when i was at davis just last year cs and ee classes used 'handin' too.

rhonda


On Thu, 3 Oct 2002, Mark K. Kim wrote:

> The CS department uses `script` and uses `handin` to turn in the files and
> log when the files were turned in.  Or at least that's what they did when
> I was there last year+.
> 
> -Mark
> 
> On Thu, 3 Oct 2002, Peter Jay Salzman wrote:
> 
> > hi lugod,
> >
> > i'm allowing my students to turn in their assignments electronically
> > this quarter.  they're writing C or fortran programs.  i'm requiring
> > them to turn in:
> >
> > 1. the program
> > 2. a file showing the compile process and the program output.
> >
> > for #2, i'm having them use "script".
> >
> > however, script shows annoying ^M's plus any kind of backspacing and
> > term codes:
> >
> >    Script started on Wed Oct  2 17:00:24 2002
> >    ^[]0;dhevan@jensen:~^G[dhevan@jensen dhevan]$ cc program1.c^M
> >    ^[]0;dhevan@jensen:~^G[dhevan@jensen dhevan]$ exit^M
> >    exit^M
> >
> > some of these people hardly know how to log into a unix system, let
> > alone use sed or even vi's ex commands.  i'm astounded that most of them
> > use vi at all.
> >
> > i can write a script that presents a shell like interface which short
> > circuits this stuff saves their program output to a file, but if
> > something is already written, i'd rather go that route.
> >
> > any suggestions?   what does the CS department do for electronically
> > submitted document?
> >
> > pete
> >
> > ps- for the astute reader, the professor told them to compile programs
> > with "cc" rather than "gcc".  it wasn't me.
> >
> > pete
> >
> > --
> > Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
> > _______________________________________________
> > vox-tech mailing list
> > vox-tech@lists.lugod.org
> > http://lists.lugod.org/mailman/listinfo/vox-tech
> >
> 
> --
> Mark K. Kim
> http://www.cbreak.org/
> PGP key available upon request.
> 
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>